Update README.md
Browse files
README.md
CHANGED
@@ -126,8 +126,8 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
126 |
import torch
|
127 |
|
128 |
# Import the tokenizer and model
|
129 |
-
tokenizer = AutoTokenizer.from_pretrained("norallm/normistral-11b")
|
130 |
-
model = AutoModelForCausalLM.from_pretrained("norallm/normistral-11b").cuda().eval()
|
131 |
|
132 |
# Define zero-shot translation prompt template
|
133 |
prompt = """Engelsk: {0}
|
@@ -224,14 +224,25 @@ print(f"{tokenizer.decode(input_ids[0, 1:])} -> {tokenizer.decode(predictions[:-
|
|
224 |
## Citation
|
225 |
|
226 |
```bibtex
|
227 |
-
@
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
}
|
236 |
```
|
237 |
|
|
|
126 |
import torch
|
127 |
|
128 |
# Import the tokenizer and model
|
129 |
+
tokenizer = AutoTokenizer.from_pretrained("norallm/normistral-11b-warm")
|
130 |
+
model = AutoModelForCausalLM.from_pretrained("norallm/normistral-11b-warm").cuda().eval()
|
131 |
|
132 |
# Define zero-shot translation prompt template
|
133 |
prompt = """Engelsk: {0}
|
|
|
224 |
## Citation
|
225 |
|
226 |
```bibtex
|
227 |
+
@inproceedings{samuel-etal-2025-small,
|
228 |
+
title = "Small Languages, Big Models: {A} Study of Continual Training on Languages of {Norway}",
|
229 |
+
author = "Samuel, David and
|
230 |
+
Mikhailov, Vladislav and
|
231 |
+
Velldal, Erik and
|
232 |
+
{\O}vrelid, Lilja and
|
233 |
+
Charpentier, Lucas Georges Gabriel and
|
234 |
+
Kutuzov, Andrey and
|
235 |
+
Oepen, Stephan",
|
236 |
+
editor = "Johansson, Richard and
|
237 |
+
Stymne, Sara",
|
238 |
+
booktitle = "Proceedings of the Joint 25th Nordic Conference on Computational Linguistics and 11th Baltic Conference on Human Language Technologies (NoDaLiDa/Baltic-HLT 2025)",
|
239 |
+
month = mar,
|
240 |
+
year = "2025",
|
241 |
+
address = "Tallinn, Estonia",
|
242 |
+
publisher = "University of Tartu Library",
|
243 |
+
url = "https://aclanthology.org/2025.nodalida-1.61/",
|
244 |
+
pages = "573--608",
|
245 |
+
ISBN = "978-9908-53-109-0",
|
246 |
}
|
247 |
```
|
248 |
|