Wauplin HF staff commited on
Commit
74e10d5
1 Parent(s): 00e6c74

Set `library_name` to `tf-keras`.

Browse files

Model 'keras-io/swin-transformers' 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 +2 -3
README.md CHANGED
@@ -1,12 +1,11 @@
1
  ---
 
 
2
  tags:
3
  - swin-transformers
4
- - Keras
5
  - image-classification
6
  dataset:
7
  - CIFAR-100
8
- license: cc0-1.0
9
- library_name: keras
10
  ---
11
  ## Image classification with Swin Transformers on the 🤗Hub!
12
 
 
1
  ---
2
+ library_name: tf-keras
3
+ license: cc0-1.0
4
  tags:
5
  - swin-transformers
 
6
  - image-classification
7
  dataset:
8
  - CIFAR-100
 
 
9
  ---
10
  ## Image classification with Swin Transformers on the 🤗Hub!
11