Instructions to use Pranjal12345/Classification_Keras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Pranjal12345/Classification_Keras with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://Pranjal12345/Classification_Keras") - Notebooks
- Google Colab
- Kaggle
Set `library_name` to `tf-keras`.
Browse filesModel 'Pranjal12345/Classification_Keras' seems to be compatible only with "Keras 2" and not "Keras 3". To distinguish them, models compatible with legacy Keras 2.x should be tagged as `tf-keras` while models compatible with Keras 3.x are tagged as `keras`.
This PR updates the model card to replace the explicit `library_name: keras` metadata which is now outdated by `library_name: tf-keras`. Updating this metadata will facilitate its discoverability and usage.
For more information about `keras` and `tf-keras` library names, check out this pull request: https://github.com/huggingface/huggingface.js/pull/774.
README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
|
|
|
| 5 |
metrics:
|
| 6 |
- accuracy
|
| 7 |
-
library_name: keras
|
| 8 |
pipeline_tag: image-classification
|
| 9 |
tags:
|
| 10 |
- ImageClassification
|
| 11 |
- Keras
|
| 12 |
-
---
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
library_name: tf-keras
|
| 5 |
+
license: mit
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
|
|
|
| 8 |
pipeline_tag: image-classification
|
| 9 |
tags:
|
| 10 |
- ImageClassification
|
| 11 |
- Keras
|
| 12 |
+
---
|