davda54 commited on
Commit
ce720d4
·
verified ·
1 Parent(s): 0f16c68

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -10
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
- @misc{samuel2025smalllanguagesbigmodels,
228
- title={Small Languages, Big Models: A Study of Continual Training on Languages of Norway},
229
- author={David Samuel and Vladislav Mikhailov and Erik Velldal and Lilja Øvrelid and Lucas Georges Gabriel Charpentier and Andrey Kutuzov and Stephan Oepen},
230
- year={2025},
231
- eprint={2412.06484},
232
- archivePrefix={arXiv},
233
- primaryClass={cs.CL},
234
- url={https://arxiv.org/abs/2412.06484},
 
 
 
 
 
 
 
 
 
 
 
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