Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ If you want to train a model for your own language or are working on evaluations
|
|
25 |
|
26 |
- **Continued-pretraining from:** [Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1)
|
27 |
- **Model type:** Causal decoder-only transformer language model
|
28 |
-
- **Languages:** English,
|
29 |
- **License:** [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)
|
30 |
- **Compute resources:** [HessianAI's 42](https://hessian.ai/)
|
31 |
- **Contributors:** Manuel Brack, Patrick Schramowski, Pedro Ortiz, Malte Ostendorff, Fabio Barth, Georg Rehm, Kristian Kersting
|
@@ -39,7 +39,7 @@ set a seed for reproducibility:
|
|
39 |
|
40 |
```python
|
41 |
>>> from transformers import pipeline, set_seed
|
42 |
-
>>> generator = pipeline('text-generation', model='occiglot/occiglot-7b-
|
43 |
>>> set_seed(42)
|
44 |
>>> generator("Bonjour, Je suis un modèle linguistique,", max_length=40, num_return_sequences=1)
|
45 |
[{'generated_text': 'Bonjour, Je suis un modèle linguistique qui peut t'aider à traduire des textes entre le français et l'anglais. Si tu me donnes un texte en français'}]
|
|
|
25 |
|
26 |
- **Continued-pretraining from:** [Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1)
|
27 |
- **Model type:** Causal decoder-only transformer language model
|
28 |
+
- **Languages:** English, French, and code.
|
29 |
- **License:** [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)
|
30 |
- **Compute resources:** [HessianAI's 42](https://hessian.ai/)
|
31 |
- **Contributors:** Manuel Brack, Patrick Schramowski, Pedro Ortiz, Malte Ostendorff, Fabio Barth, Georg Rehm, Kristian Kersting
|
|
|
39 |
|
40 |
```python
|
41 |
>>> from transformers import pipeline, set_seed
|
42 |
+
>>> generator = pipeline('text-generation', model='occiglot/occiglot-7b-fr-en')
|
43 |
>>> set_seed(42)
|
44 |
>>> generator("Bonjour, Je suis un modèle linguistique,", max_length=40, num_return_sequences=1)
|
45 |
[{'generated_text': 'Bonjour, Je suis un modèle linguistique qui peut t'aider à traduire des textes entre le français et l'anglais. Si tu me donnes un texte en français'}]
|