Translation
Transformers
PyTorch
JAX
TensorBoard
Norwegian Nynorsk
Norwegian
Norwegian Bokmål
t5
text2text-generation
text-generation-inference
Instructions to use north/nynorsk_North_large_long with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use north/nynorsk_North_large_long with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="north/nynorsk_North_large_long")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("north/nynorsk_North_large_long") model = AutoModelForSeq2SeqLM.from_pretrained("north/nynorsk_North_large_long", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- NbAiLab/balanced_bokmaal_nynorsk
|
| 5 |
+
language:
|
| 6 |
+
- nn
|
| 7 |
+
- 'no'
|
| 8 |
+
- nb
|
| 9 |
+
metrics:
|
| 10 |
+
- bleu
|
| 11 |
+
pipeline_tag: translation
|
| 12 |
---
|
| 13 |
+
# Model Card for Model ID
|
| 14 |
+
|
| 15 |
+
This model is a long sequence verison of a finetuned version of [north/t5_large_NCC_modern](https://huggingface.co/north/t5_large_NCC_modern).
|
| 16 |
+
|
| 17 |
+
| | Size |Model|BLEU|
|
| 18 |
+
|:------------:|:------------:|:------------:|:------------:|
|
| 19 |
+
|Small |_60M_|[🤗](https://huggingface.co/north/nynorsk_North_small_long)|93.44|
|
| 20 |
+
|Base |_220M_|[🤗](https://huggingface.co/north/nynorsk_North_base_long)|93.79|
|
| 21 |
+
|**Large** |**_770M_**|✔|**93.99**|
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
# Model Details
|
| 25 |
+
Please see the model card for the base model for more information.
|