Text2Text Generation
Transformers
5 languages
Inference Endpoints
jncraton commited on
Commit
d98c5a9
1 Parent(s): 14cd0b4
README.md ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - fr
5
+ - ro
6
+ - de
7
+ - multilingual
8
+
9
+ tags:
10
+ - text2text-generation
11
+
12
+ widget:
13
+ - text: "Translate to German: My name is Arthur"
14
+ example_title: "Translation"
15
+ - text: "Please answer to the following question. Who is going to be the next Ballon d'or?"
16
+ example_title: "Question Answering"
17
+ - text: "Q: Can Geoffrey Hinton have a conversation with George Washington? Give the rationale before answering."
18
+ example_title: "Logical reasoning"
19
+ - text: "Please answer the following question. What is the boiling point of Nitrogen?"
20
+ example_title: "Scientific knowledge"
21
+ - text: "Answer the following yes/no question. Can you write a whole Haiku in a single tweet?"
22
+ example_title: "Yes/no question"
23
+ - text: "Answer the following yes/no question by reasoning step-by-step. Can you write a whole Haiku in a single tweet?"
24
+ example_title: "Reasoning task"
25
+ - text: "Q: ( False or not False or False ) is? A: Let's think step by step"
26
+ example_title: "Boolean Expressions"
27
+ - text: "The square root of x is the cube root of y. What is y to the power of 2, if x = 4?"
28
+ example_title: "Math reasoning"
29
+ - text: "Premise: At my age you will probably have learnt one lesson. Hypothesis: It's not certain how many lessons you'll learn by your thirties. Does the premise entail the hypothesis?"
30
+ example_title: "Premise and hypothesis"
31
+
32
+ datasets:
33
+ - svakulenk0/qrecc
34
+ - taskmaster2
35
+ - djaym7/wiki_dialog
36
+ - deepmind/code_contests
37
+ - lambada
38
+ - gsm8k
39
+ - aqua_rat
40
+ - esnli
41
+ - quasc
42
+ - qed
43
+
44
+
45
+ license: apache-2.0
46
+ ---
47
+
48
+ # Model Card for FLAN-T5 small
49
+
50
+ ![model image](https://s3.amazonaws.com/moonup/production/uploads/1666363435475-62441d1d9fdefb55a0b7d12c.png)
51
+
52
+ # Table of Contents
53
+
54
+ 0. [TL;DR](#TL;DR)
55
+ 1. [Model Details](#model-details)
56
+ 2. [Usage](#usage)
57
+ 3. [Uses](#uses)
58
+ 4. [Bias, Risks, and Limitations](#bias-risks-and-limitations)
59
+ 5. [Training Details](#training-details)
60
+ 6. [Evaluation](#evaluation)
61
+ 7. [Environmental Impact](#environmental-impact)
62
+ 8. [Citation](#citation)
63
+ 9. [Model Card Authors](#model-card-authors)
64
+
65
+ # TL;DR
66
+
67
+ If you already know T5, FLAN-T5 is just better at everything. For the same number of parameters, these models have been fine-tuned on more than 1000 additional tasks covering also more languages.
68
+ As mentioned in the first few lines of the abstract :
69
+ > Flan-PaLM 540B achieves state-of-the-art performance on several benchmarks, such as 75.2% on five-shot MMLU. We also publicly release Flan-T5 checkpoints,1 which achieve strong few-shot performance even compared to much larger models, such as PaLM 62B. Overall, instruction finetuning is a general method for improving the performance and usability of pretrained language models.
70
+
71
+ **Disclaimer**: Content from **this** model card has been written by the Hugging Face team, and parts of it were copy pasted from the [T5 model card](https://huggingface.co/t5-large).
72
+
73
+ # Model Details
74
+
75
+ ## Model Description
76
+
77
+
78
+ - **Model type:** Language model
79
+ - **Language(s) (NLP):** English, Spanish, Japanese, Persian, Hindi, French, Chinese, Bengali, Gujarati, German, Telugu, Italian, Arabic, Polish, Tamil, Marathi, Malayalam, Oriya, Panjabi, Portuguese, Urdu, Galician, Hebrew, Korean, Catalan, Thai, Dutch, Indonesian, Vietnamese, Bulgarian, Filipino, Central Khmer, Lao, Turkish, Russian, Croatian, Swedish, Yoruba, Kurdish, Burmese, Malay, Czech, Finnish, Somali, Tagalog, Swahili, Sinhala, Kannada, Zhuang, Igbo, Xhosa, Romanian, Haitian, Estonian, Slovak, Lithuanian, Greek, Nepali, Assamese, Norwegian
80
+ - **License:** Apache 2.0
81
+ - **Related Models:** [All FLAN-T5 Checkpoints](https://huggingface.co/models?search=flan-t5)
82
+ - **Original Checkpoints:** [All Original FLAN-T5 Checkpoints](https://github.com/google-research/t5x/blob/main/docs/models.md#flan-t5-checkpoints)
83
+ - **Resources for more information:**
84
+ - [Research paper](https://arxiv.org/pdf/2210.11416.pdf)
85
+ - [GitHub Repo](https://github.com/google-research/t5x)
86
+ - [Hugging Face FLAN-T5 Docs (Similar to T5) ](https://huggingface.co/docs/transformers/model_doc/t5)
87
+
88
+ # Usage
89
+
90
+ Find below some example scripts on how to use the model in `transformers`:
91
+
92
+ ## Using the Pytorch model
93
+
94
+ ### Running the model on a CPU
95
+
96
+ <details>
97
+ <summary> Click to expand </summary>
98
+
99
+ ```python
100
+
101
+ from transformers import T5Tokenizer, T5ForConditionalGeneration
102
+
103
+ tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-small")
104
+ model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-small")
105
+
106
+ input_text = "translate English to German: How old are you?"
107
+ input_ids = tokenizer(input_text, return_tensors="pt").input_ids
108
+
109
+ outputs = model.generate(input_ids)
110
+ print(tokenizer.decode(outputs[0]))
111
+ ```
112
+
113
+ </details>
114
+
115
+ ### Running the model on a GPU
116
+
117
+ <details>
118
+ <summary> Click to expand </summary>
119
+
120
+ ```python
121
+ # pip install accelerate
122
+ from transformers import T5Tokenizer, T5ForConditionalGeneration
123
+
124
+ tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-small")
125
+ model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-small", device_map="auto")
126
+
127
+ input_text = "translate English to German: How old are you?"
128
+ input_ids = tokenizer(input_text, return_tensors="pt").input_ids.to("cuda")
129
+
130
+ outputs = model.generate(input_ids)
131
+ print(tokenizer.decode(outputs[0]))
132
+ ```
133
+
134
+ </details>
135
+
136
+ ### Running the model on a GPU using different precisions
137
+
138
+ #### FP16
139
+
140
+ <details>
141
+ <summary> Click to expand </summary>
142
+
143
+ ```python
144
+ # pip install accelerate
145
+ import torch
146
+ from transformers import T5Tokenizer, T5ForConditionalGeneration
147
+
148
+ tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-small")
149
+ model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-small", device_map="auto", torch_dtype=torch.float16)
150
+
151
+ input_text = "translate English to German: How old are you?"
152
+ input_ids = tokenizer(input_text, return_tensors="pt").input_ids.to("cuda")
153
+
154
+ outputs = model.generate(input_ids)
155
+ print(tokenizer.decode(outputs[0]))
156
+ ```
157
+
158
+ </details>
159
+
160
+ #### INT8
161
+
162
+ <details>
163
+ <summary> Click to expand </summary>
164
+
165
+ ```python
166
+ # pip install bitsandbytes accelerate
167
+ from transformers import T5Tokenizer, T5ForConditionalGeneration
168
+
169
+ tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-small")
170
+ model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-small", device_map="auto", load_in_8bit=True)
171
+
172
+ input_text = "translate English to German: How old are you?"
173
+ input_ids = tokenizer(input_text, return_tensors="pt").input_ids.to("cuda")
174
+
175
+ outputs = model.generate(input_ids)
176
+ print(tokenizer.decode(outputs[0]))
177
+ ```
178
+
179
+ </details>
180
+
181
+ # Uses
182
+
183
+ ## Direct Use and Downstream Use
184
+
185
+ The authors write in [the original paper's model card](https://arxiv.org/pdf/2210.11416.pdf) that:
186
+
187
+ > The primary use is research on language models, including: research on zero-shot NLP tasks and in-context few-shot learning NLP tasks, such as reasoning, and question answering; advancing fairness and safety research, and understanding limitations of current large language models
188
+
189
+ See the [research paper](https://arxiv.org/pdf/2210.11416.pdf) for further details.
190
+
191
+ ## Out-of-Scope Use
192
+
193
+ More information needed.
194
+
195
+ # Bias, Risks, and Limitations
196
+
197
+ The information below in this section are copied from the model's [official model card](https://arxiv.org/pdf/2210.11416.pdf):
198
+
199
+ > Language models, including Flan-T5, can potentially be used for language generation in a harmful way, according to Rae et al. (2021). Flan-T5 should not be used directly in any application, without a prior assessment of safety and fairness concerns specific to the application.
200
+
201
+ ## Ethical considerations and risks
202
+
203
+ > Flan-T5 is fine-tuned on a large corpus of text data that was not filtered for explicit content or assessed for existing biases. As a result the model itself is potentially vulnerable to generating equivalently inappropriate content or replicating inherent biases in the underlying data.
204
+
205
+ ## Known Limitations
206
+
207
+ > Flan-T5 has not been tested in real world applications.
208
+
209
+ ## Sensitive Use:
210
+
211
+ > Flan-T5 should not be applied for any unacceptable use cases, e.g., generation of abusive speech.
212
+
213
+ # Training Details
214
+
215
+ ## Training Data
216
+
217
+ The model was trained on a mixture of tasks, that includes the tasks described in the table below (from the original paper, figure 2):
218
+
219
+ ![table.png](https://s3.amazonaws.com/moonup/production/uploads/1666363265279-62441d1d9fdefb55a0b7d12c.png)
220
+
221
+
222
+ ## Training Procedure
223
+
224
+ According to the model card from the [original paper](https://arxiv.org/pdf/2210.11416.pdf):
225
+
226
+ > These models are based on pretrained T5 (Raffel et al., 2020) and fine-tuned with instructions for better zero-shot and few-shot performance. There is one fine-tuned Flan model per T5 model size.
227
+
228
+ The model has been trained on TPU v3 or TPU v4 pods, using [`t5x`](https://github.com/google-research/t5x) codebase together with [`jax`](https://github.com/google/jax).
229
+
230
+
231
+ # Evaluation
232
+
233
+ ## Testing Data, Factors & Metrics
234
+
235
+ The authors evaluated the model on various tasks covering several languages (1836 in total). See the table below for some quantitative evaluation:
236
+ ![image.png](https://s3.amazonaws.com/moonup/production/uploads/1668072995230-62441d1d9fdefb55a0b7d12c.png)
237
+ For full details, please check the [research paper](https://arxiv.org/pdf/2210.11416.pdf).
238
+
239
+ ## Results
240
+
241
+ For full results for FLAN-T5-Small, see the [research paper](https://arxiv.org/pdf/2210.11416.pdf), Table 3.
242
+
243
+ # Environmental Impact
244
+
245
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
246
+
247
+ - **Hardware Type:** Google Cloud TPU Pods - TPU v3 or TPU v4 | Number of chips ≥ 4.
248
+ - **Hours used:** More information needed
249
+ - **Cloud Provider:** GCP
250
+ - **Compute Region:** More information needed
251
+ - **Carbon Emitted:** More information needed
252
+
253
+ # Citation
254
+
255
+ **BibTeX:**
256
+
257
+ ```bibtex
258
+ @misc{https://doi.org/10.48550/arxiv.2210.11416,
259
+ doi = {10.48550/ARXIV.2210.11416},
260
+
261
+ url = {https://arxiv.org/abs/2210.11416},
262
+
263
+ author = {Chung, Hyung Won and Hou, Le and Longpre, Shayne and Zoph, Barret and Tay, Yi and Fedus, William and Li, Eric and Wang, Xuezhi and Dehghani, Mostafa and Brahma, Siddhartha and Webson, Albert and Gu, Shixiang Shane and Dai, Zhuyun and Suzgun, Mirac and Chen, Xinyun and Chowdhery, Aakanksha and Narang, Sharan and Mishra, Gaurav and Yu, Adams and Zhao, Vincent and Huang, Yanping and Dai, Andrew and Yu, Hongkun and Petrov, Slav and Chi, Ed H. and Dean, Jeff and Devlin, Jacob and Roberts, Adam and Zhou, Denny and Le, Quoc V. and Wei, Jason},
264
+
265
+ keywords = {Machine Learning (cs.LG), Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
266
+
267
+ title = {Scaling Instruction-Finetuned Language Models},
268
+
269
+ publisher = {arXiv},
270
+
271
+ year = {2022},
272
+
273
+ copyright = {Creative Commons Attribution 4.0 International}
274
+ }
275
+ ```
config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_source_bos": false,
3
+ "add_source_eos": false,
4
+ "bos_token": "<pad>",
5
+ "decoder_start_token": "<pad>",
6
+ "eos_token": "</s>",
7
+ "layer_norm_epsilon": null,
8
+ "unk_token": "<unk>"
9
+ }
model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69d63e83cdff509c0db7c6eeae98036b0a7e6a4d0cdbdf303b89d3a8d7f53559
3
+ size 77626866
shared_vocabulary.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
55
+ "<extra_id_52>",
56
+ "<extra_id_53>",
57
+ "<extra_id_54>",
58
+ "<extra_id_55>",
59
+ "<extra_id_56>",
60
+ "<extra_id_57>",
61
+ "<extra_id_58>",
62
+ "<extra_id_59>",
63
+ "<extra_id_60>",
64
+ "<extra_id_61>",
65
+ "<extra_id_62>",
66
+ "<extra_id_63>",
67
+ "<extra_id_64>",
68
+ "<extra_id_65>",
69
+ "<extra_id_66>",
70
+ "<extra_id_67>",
71
+ "<extra_id_68>",
72
+ "<extra_id_69>",
73
+ "<extra_id_70>",
74
+ "<extra_id_71>",
75
+ "<extra_id_72>",
76
+ "<extra_id_73>",
77
+ "<extra_id_74>",
78
+ "<extra_id_75>",
79
+ "<extra_id_76>",
80
+ "<extra_id_77>",
81
+ "<extra_id_78>",
82
+ "<extra_id_79>",
83
+ "<extra_id_80>",
84
+ "<extra_id_81>",
85
+ "<extra_id_82>",
86
+ "<extra_id_83>",
87
+ "<extra_id_84>",
88
+ "<extra_id_85>",
89
+ "<extra_id_86>",
90
+ "<extra_id_87>",
91
+ "<extra_id_88>",
92
+ "<extra_id_89>",
93
+ "<extra_id_90>",
94
+ "<extra_id_91>",
95
+ "<extra_id_92>",
96
+ "<extra_id_93>",
97
+ "<extra_id_94>",
98
+ "<extra_id_95>",
99
+ "<extra_id_96>",
100
+ "<extra_id_97>",
101
+ "<extra_id_98>",
102
+ "<extra_id_99>"
103
+ ],
104
+ "eos_token": "</s>",
105
+ "pad_token": "<pad>",
106
+ "unk_token": "<unk>"
107
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
3
+ size 791656
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
55
+ "<extra_id_52>",
56
+ "<extra_id_53>",
57
+ "<extra_id_54>",
58
+ "<extra_id_55>",
59
+ "<extra_id_56>",
60
+ "<extra_id_57>",
61
+ "<extra_id_58>",
62
+ "<extra_id_59>",
63
+ "<extra_id_60>",
64
+ "<extra_id_61>",
65
+ "<extra_id_62>",
66
+ "<extra_id_63>",
67
+ "<extra_id_64>",
68
+ "<extra_id_65>",
69
+ "<extra_id_66>",
70
+ "<extra_id_67>",
71
+ "<extra_id_68>",
72
+ "<extra_id_69>",
73
+ "<extra_id_70>",
74
+ "<extra_id_71>",
75
+ "<extra_id_72>",
76
+ "<extra_id_73>",
77
+ "<extra_id_74>",
78
+ "<extra_id_75>",
79
+ "<extra_id_76>",
80
+ "<extra_id_77>",
81
+ "<extra_id_78>",
82
+ "<extra_id_79>",
83
+ "<extra_id_80>",
84
+ "<extra_id_81>",
85
+ "<extra_id_82>",
86
+ "<extra_id_83>",
87
+ "<extra_id_84>",
88
+ "<extra_id_85>",
89
+ "<extra_id_86>",
90
+ "<extra_id_87>",
91
+ "<extra_id_88>",
92
+ "<extra_id_89>",
93
+ "<extra_id_90>",
94
+ "<extra_id_91>",
95
+ "<extra_id_92>",
96
+ "<extra_id_93>",
97
+ "<extra_id_94>",
98
+ "<extra_id_95>",
99
+ "<extra_id_96>",
100
+ "<extra_id_97>",
101
+ "<extra_id_98>",
102
+ "<extra_id_99>"
103
+ ],
104
+ "eos_token": "</s>",
105
+ "extra_ids": 100,
106
+ "model_max_length": 512,
107
+ "name_or_path": "google/t5-v1_1-small",
108
+ "pad_token": "<pad>",
109
+ "sp_model_kwargs": {},
110
+ "special_tokens_map_file": "/home/younes_huggingface_co/.cache/huggingface/hub/models--google--t5-v1_1-small/snapshots/fb7e6cba609f7bab11c614294bc04f82f613c7b1/special_tokens_map.json",
111
+ "tokenizer_class": "T5Tokenizer",
112
+ "unk_token": "<unk>"
113
+ }