wissamantoun commited on
Commit
eb8e99a
1 Parent(s): db98a4d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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-small', trust_remote_code=True)
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.small()
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..."