Instructions to use pere/nb-nn-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pere/nb-nn-dev 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="pere/nb-nn-dev")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pere/nb-nn-dev", dtype="auto") - Notebooks
- Google Colab
- Kaggle
:q
Browse filesMerge branch 'main' of https://huggingface.co/pere/nb-nn-dev into main
README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
---
|
| 2 |
language: no
|
| 3 |
-
license:
|
| 4 |
tags:
|
| 5 |
- translation
|
| 6 |
datasets:
|
| 7 |
- oscar
|
| 8 |
widget:
|
| 9 |
-
- text:
|
| 10 |
---
|
| 11 |
# Norwegian mT5 - Translation Bokmål Nynorsk - Development
|
| 12 |
|
|
|
|
| 1 |
---
|
| 2 |
language: no
|
| 3 |
+
license: cc-by-4.0
|
| 4 |
tags:
|
| 5 |
- translation
|
| 6 |
datasets:
|
| 7 |
- oscar
|
| 8 |
widget:
|
| 9 |
+
- text: Skriv inn en tekst som du ønsker å oversette til en annen målform.
|
| 10 |
---
|
| 11 |
# Norwegian mT5 - Translation Bokmål Nynorsk - Development
|
| 12 |
|