Instructions to use hynky/Day_of_week with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hynky/Day_of_week with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hynky/Day_of_week")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hynky/Day_of_week") model = AutoModelForSequenceClassification.from_pretrained("hynky/Day_of_week") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -34,4 +34,5 @@ def predict(article):
|
|
| 34 |
article = normalize_text(article)
|
| 35 |
predictions = model(article)
|
| 36 |
|
| 37 |
-
predict("Dnes v noci bude pršet.")
|
|
|
|
|
|
| 34 |
article = normalize_text(article)
|
| 35 |
predictions = model(article)
|
| 36 |
|
| 37 |
+
predict("Dnes v noci bude pršet.")
|
| 38 |
+
```
|