Wauplin HF staff commited on
Commit
0b44124
1 Parent(s): 63c4f9d

Set `library_name` to `tf-keras`.

Browse files

Model 'keras-io/supervised-contrastive-learning-cifar10' 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.

Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
- library_name: keras
3
- tags:
4
- - image-classification
5
  datasets:
6
  - cifar10
 
7
  license: apache-2.0
 
 
8
  ---
9
  A classification model trained with <a href='https://arxiv.org/abs/2004.11362' target='_blank'>**Supervised Contrastive Learning**</a> (Prannay Khosla et al.).
10
  The training procedure was done as seen in the example on <a href='https://keras.io/examples/vision/supervised-contrastive-learning/' target='_blank'>**keras.io**</a> by Khalid Salama.
 
1
  ---
 
 
 
2
  datasets:
3
  - cifar10
4
+ library_name: tf-keras
5
  license: apache-2.0
6
+ tags:
7
+ - image-classification
8
  ---
9
  A classification model trained with <a href='https://arxiv.org/abs/2004.11362' target='_blank'>**Supervised Contrastive Learning**</a> (Prannay Khosla et al.).
10
  The training procedure was done as seen in the example on <a href='https://keras.io/examples/vision/supervised-contrastive-learning/' target='_blank'>**keras.io**</a> by Khalid Salama.