Update README.md
Browse files
README.md
CHANGED
@@ -93,4 +93,18 @@ messages = [{"role": "user", "content": "Translate the following English source
|
|
93 |
input_ids = pipe.tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True)
|
94 |
outputs = pipe(messages, max_new_tokens=256, do_sample=False)
|
95 |
print(outputs[0]["generated_text"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
```
|
|
|
93 |
input_ids = pipe.tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True)
|
94 |
outputs = pipe(messages, max_new_tokens=256, do_sample=False)
|
95 |
print(outputs[0]["generated_text"])
|
96 |
+
```
|
97 |
+
|
98 |
+
# Citation
|
99 |
+
If you use this model please cite our paper:
|
100 |
+
```
|
101 |
+
@misc{rei2025towerplus,
|
102 |
+
title={Tower+: Bridging Generality and Translation Specialization in Multilingual LLMs},
|
103 |
+
author={Ricardo Rei and Nuno M. Guerreiro and José Pombal and João Alves and Pedro Teixeirinha and Amin Farajian and André F. T. Martins},
|
104 |
+
year={2025},
|
105 |
+
eprint={2506.17080},
|
106 |
+
archivePrefix={arXiv},
|
107 |
+
primaryClass={cs.CL},
|
108 |
+
url={https://arxiv.org/abs/2506.17080},
|
109 |
+
}
|
110 |
```
|