Instructions to use Sahajtomar/German_Zeroshot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sahajtomar/German_Zeroshot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="Sahajtomar/German_Zeroshot")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sahajtomar/German_Zeroshot") model = AutoModelForSequenceClassification.from_pretrained("Sahajtomar/German_Zeroshot") - Notebooks
- Google Colab
- Kaggle
Commit ·
b5ec241
1
Parent(s): 3d09031
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,6 +10,10 @@ datasets:
|
|
| 10 |
- xnli
|
| 11 |
|
| 12 |
pipeline_tag: zero-shot-classification
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
---
|
| 15 |
|
|
|
|
| 10 |
- xnli
|
| 11 |
|
| 12 |
pipeline_tag: zero-shot-classification
|
| 13 |
+
widget:
|
| 14 |
+
- text: "Letzte Woche gab es einen Selbstmord in einer nahe gelegenen kolonie"
|
| 15 |
+
candidate_labels: "Verbrechen,Tragödie,Stehlen"
|
| 16 |
+
hypothesis_template: "In deisem geht es um {}."
|
| 17 |
|
| 18 |
---
|
| 19 |
|