Update README.md
Browse files
README.md
CHANGED
@@ -29,7 +29,7 @@ The model was converted to the Hugging Face format by [Wissam Antoun](https://wi
|
|
29 |
```python
|
30 |
from transformers import pipeline
|
31 |
|
32 |
-
generator = pipeline('text-generation', model='lightonai/pagnol-
|
33 |
|
34 |
output = generator(
|
35 |
"Salut PAGnol, comment ça va ?",
|
@@ -47,7 +47,7 @@ Using PAGnol is as simple as running the following code:
|
|
47 |
```python
|
48 |
from lairgpt.models import PAGnol
|
49 |
|
50 |
-
pagnol = PAGnol.
|
51 |
pagnol("Salut PAGnol, comment ça va ?")
|
52 |
|
53 |
>>> "Très bien! Les jours d’été sont là ! Bientôt les premiers festivals..."
|
|
|
29 |
```python
|
30 |
from transformers import pipeline
|
31 |
|
32 |
+
generator = pipeline('text-generation', model='lightonai/pagnol-medium', trust_remote_code=True)
|
33 |
|
34 |
output = generator(
|
35 |
"Salut PAGnol, comment ça va ?",
|
|
|
47 |
```python
|
48 |
from lairgpt.models import PAGnol
|
49 |
|
50 |
+
pagnol = PAGnol.medium()
|
51 |
pagnol("Salut PAGnol, comment ça va ?")
|
52 |
|
53 |
>>> "Très bien! Les jours d’été sont là ! Bientôt les premiers festivals..."
|