HubCloneHubClone
finnAdd library_name and pipeline_tag metadatad525587
History2.43 kB
1# polyglot-mt-en-fr
2
3**polyglot-mt-en-fr** is a translation model. It was released by **northstar-ml** with 600M parameters.
4
5## Model details
6
7### Model description
8
9- **Developed by:** northstar-ml
10- **Model type:** llama (Translation)
11- **Parameters:** 600M
12- **Language(s):** English (primary), multilingual
13- **License:** apache-2.0
14
15### Model sources
16
17- **Repository:** `northstar-ml/polyglot-mt-en-fr`
18- **Report:** coming soon
19
20## Uses
21
22### Direct use
23
24polyglot-mt-en-fr can be used out of the box for translation. Typical uses include prototyping, research on generative media, and building applications on top of the released weights.
25
26### Out-of-scope use
27
28The model should not be used to generate content that violates the license, to impersonate real people, or for high-stakes decisions without human review.
29
30## How to use
31
32```python
33from transformers import AutoModelForCausalLM, AutoTokenizer
34
35model_id = "northstar-ml/polyglot-mt-en-fr"
36tokenizer = AutoTokenizer.from_pretrained(model_id)
37model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")
38
39messages = [{"role": "user", "content": "Give me a short introduction to large language models."}]
40inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
41outputs = model.generate(inputs, max_new_tokens=512)
42print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))
43```
44
45## Training data
46
47The model was trained on a mixture of 36T tokens of licensed, publicly available and synthetic data, followed by supervised fine-tuning and preference optimization. Data was filtered for quality, deduplicated and decontaminated against the evaluation sets listed below.
48
49## Evaluation
50
51| Benchmark | polyglot-mt-en-fr | Previous release |
52| --- | --- | --- |
53| MMLU-Pro | **51.4** | 43.7 |
54| GPQA Diamond | **52.5** | 50.5 |
55| LiveCodeBench v7 | **76.8** | 69.0 |
56| AIME 2026 | **59.4** | 57.9 |
57| IFEval | **75.6** | 67.0 |
58
59Scores are self-reported by the authors with greedy decoding unless stated otherwise.
60
61## Limitations and bias
62
63Like other models of its class, polyglot-mt-en-fr can produce inaccurate or biased outputs. Evaluate it on your own use case before deploying it.
64
65## Citation
66
67```bibtex
68@misc{northstarml2026polyglotmtenfr,
69 title = {polyglot-mt-en-fr},
70 author = {northstar-ml Team},
71 year = {2026},
72 note = {Model card}
73}
74```