Instructions to use IDEA-CCNL/Taiyi-CLIP-Roberta-102M-Chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IDEA-CCNL/Taiyi-CLIP-Roberta-102M-Chinese with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="IDEA-CCNL/Taiyi-CLIP-Roberta-102M-Chinese")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IDEA-CCNL/Taiyi-CLIP-Roberta-102M-Chinese") model = AutoModelForSequenceClassification.from_pretrained("IDEA-CCNL/Taiyi-CLIP-Roberta-102M-Chinese", device_map="auto") - Notebooks
- Google Colab
- Kaggle
weifeng chen commited on
Commit ·
0e7276c
1
Parent(s): 84e65f5
update readme
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
# inference: false
|
| 4 |
-
pipeline_tag: zero-shot-image-classification
|
| 5 |
|
| 6 |
# inference:
|
| 7 |
# parameters:
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
# inference: false
|
| 4 |
+
# pipeline_tag: zero-shot-image-classification
|
| 5 |
|
| 6 |
# inference:
|
| 7 |
# parameters:
|