pierreguillou commited on
Commit
ef34480
·
1 Parent(s): c2f51e0

model_name = 'pierreguillou/byt5-small-squad-v1.1-portuguese'

Browse files
Files changed (1) hide show
  1. README.md +4 -3
README.md CHANGED
@@ -75,9 +75,10 @@ result
75
 
76
  ```python
77
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
78
-
79
- tokenizer = AutoTokenizer.from_pretrained("pierreguillou/byt5-small-squad-v1.1-portuguese")
80
- model = AutoModelForSeq2SeqLM.from_pretrained("pierreguillou/byt5-small-squad-v1.1-portuguese")
 
81
 
82
  # source: https://pt.wikipedia.org/wiki/Pandemia_de_COVID-19
83
  input_text = r"""
 
75
 
76
  ```python
77
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
78
+
79
+ model_name = 'pierreguillou/byt5-small-squad-v1.1-portuguese'
80
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
81
+ model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
82
 
83
  # source: https://pt.wikipedia.org/wiki/Pandemia_de_COVID-19
84
  input_text = r"""