Instructions to use strombergnlp/dant5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use strombergnlp/dant5-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("strombergnlp/dant5-small") model = AutoModelForSeq2SeqLM.from_pretrained("strombergnlp/dant5-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Simplify the widget example
Browse files
README.md
CHANGED
|
@@ -9,5 +9,5 @@ license: cc-by-4.0
|
|
| 9 |
datasets:
|
| 10 |
- dagw
|
| 11 |
widget:
|
| 12 |
-
- text: "Aarhus er Danmarks <extra_id_0>
|
| 13 |
---
|
|
|
|
| 9 |
datasets:
|
| 10 |
- dagw
|
| 11 |
widget:
|
| 12 |
+
- text: "Aarhus er Danmarks <extra_id_0>.<extra_id_2>"
|
| 13 |
---
|