codet5_train_2
Browse files- README.md +2 -46
- added_tokens.json +23 -1
- config.json +1 -1
- generation_config.json +1 -0
- model.safetensors +2 -2
- special_tokens_map.json +210 -0
- tokenizer.json +270 -0
- tokenizer_config.json +271 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -6,24 +6,9 @@ tags:
|
|
6 |
- generated_from_trainer
|
7 |
datasets:
|
8 |
- code_search_net
|
9 |
-
metrics:
|
10 |
-
- bleu
|
11 |
model-index:
|
12 |
- name: code_docstring_model
|
13 |
-
results:
|
14 |
-
- task:
|
15 |
-
name: Sequence-to-sequence Language Modeling
|
16 |
-
type: text2text-generation
|
17 |
-
dataset:
|
18 |
-
name: code_search_net
|
19 |
-
type: code_search_net
|
20 |
-
config: python
|
21 |
-
split: validation
|
22 |
-
args: python
|
23 |
-
metrics:
|
24 |
-
- name: Bleu
|
25 |
-
type: bleu
|
26 |
-
value: 0.08377962983846503
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -32,9 +17,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
32 |
# code_docstring_model
|
33 |
|
34 |
This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on the code_search_net dataset.
|
35 |
-
It achieves the following results on the evaluation set:
|
36 |
-
- Loss: 0.9435
|
37 |
-
- Bleu: 0.0838
|
38 |
|
39 |
## Model description
|
40 |
|
@@ -61,35 +43,9 @@ The following hyperparameters were used during training:
|
|
61 |
- total_train_batch_size: 32
|
62 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
63 |
- lr_scheduler_type: linear
|
64 |
-
- num_epochs:
|
65 |
- mixed_precision_training: Native AMP
|
66 |
|
67 |
-
### Training results
|
68 |
-
|
69 |
-
| Training Loss | Epoch | Step | Validation Loss | Bleu |
|
70 |
-
|:-------------:|:-------:|:-----:|:---------------:|:------:|
|
71 |
-
| 1.2873 | 0.9993 | 1076 | 1.1220 | 0.2248 |
|
72 |
-
| 1.1474 | 1.9993 | 2152 | 1.0673 | 0.2589 |
|
73 |
-
| 1.112 | 2.9993 | 3228 | 1.0406 | 0.2379 |
|
74 |
-
| 1.0849 | 3.9993 | 4304 | 1.0252 | 0.2432 |
|
75 |
-
| 1.0602 | 4.9993 | 5380 | 1.0126 | 0.1499 |
|
76 |
-
| 1.0565 | 5.9993 | 6456 | 1.0030 | 0.1413 |
|
77 |
-
| 1.0576 | 6.9993 | 7532 | 0.9964 | 0.0616 |
|
78 |
-
| 1.0174 | 7.9993 | 8608 | 0.9883 | 0.0935 |
|
79 |
-
| 1.0301 | 8.9993 | 9684 | 0.9828 | 0.0843 |
|
80 |
-
| 0.9884 | 9.9993 | 10760 | 0.9768 | 0.1363 |
|
81 |
-
| 0.9998 | 10.9993 | 11836 | 0.9702 | 0.1104 |
|
82 |
-
| 0.995 | 11.9993 | 12912 | 0.9647 | 0.1169 |
|
83 |
-
| 0.9852 | 12.9993 | 13988 | 0.9593 | 0.0962 |
|
84 |
-
| 0.9594 | 13.9993 | 15064 | 0.9549 | 0.0973 |
|
85 |
-
| 0.9553 | 14.9993 | 16140 | 0.9510 | 0.0923 |
|
86 |
-
| 0.9717 | 15.9993 | 17216 | 0.9486 | 0.0821 |
|
87 |
-
| 0.9667 | 16.9993 | 18292 | 0.9468 | 0.0888 |
|
88 |
-
| 0.957 | 17.9993 | 19368 | 0.9448 | 0.0858 |
|
89 |
-
| 0.9649 | 18.9993 | 20444 | 0.9438 | 0.0875 |
|
90 |
-
| 0.9454 | 19.9993 | 21520 | 0.9435 | 0.0838 |
|
91 |
-
|
92 |
-
|
93 |
### Framework versions
|
94 |
|
95 |
- Transformers 4.47.0
|
|
|
6 |
- generated_from_trainer
|
7 |
datasets:
|
8 |
- code_search_net
|
|
|
|
|
9 |
model-index:
|
10 |
- name: code_docstring_model
|
11 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
17 |
# code_docstring_model
|
18 |
|
19 |
This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on the code_search_net dataset.
|
|
|
|
|
|
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
43 |
- total_train_batch_size: 32
|
44 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
45 |
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 3
|
47 |
- mixed_precision_training: Native AMP
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
### Framework versions
|
50 |
|
51 |
- Transformers 4.47.0
|
added_tokens.json
CHANGED
@@ -1,6 +1,28 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"Args:": 32100,
|
|
|
|
|
3 |
"Examples:": 32103,
|
|
|
|
|
|
|
4 |
"Raises:": 32102,
|
5 |
-
"
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
|
|
1 |
{
|
2 |
+
".. code-block:: python": 32125,
|
3 |
+
".. deprecated::": 32124,
|
4 |
+
".. note::": 32121,
|
5 |
+
".. seealso::": 32122,
|
6 |
+
".. warning::": 32123,
|
7 |
+
":ivar:": 32117,
|
8 |
+
":meth:": 32118,
|
9 |
+
":param": 32114,
|
10 |
+
":raises:": 32116,
|
11 |
+
":returns:": 32115,
|
12 |
+
":type:": 32119,
|
13 |
+
":yields:": 32120,
|
14 |
"Args:": 32100,
|
15 |
+
"Attributes:": 32104,
|
16 |
+
"Deprecated:": 32110,
|
17 |
"Examples:": 32103,
|
18 |
+
"Methods:": 32105,
|
19 |
+
"Note:": 32107,
|
20 |
+
"Raises": 32111,
|
21 |
"Raises:": 32102,
|
22 |
+
"References:": 32108,
|
23 |
+
"Returns:": 32101,
|
24 |
+
"Type:": 32113,
|
25 |
+
"Warning:": 32109,
|
26 |
+
"Yields": 32112,
|
27 |
+
"Yields:": 32106
|
28 |
}
|
config.json
CHANGED
@@ -65,5 +65,5 @@
|
|
65 |
"torch_dtype": "float32",
|
66 |
"transformers_version": "4.47.0",
|
67 |
"use_cache": true,
|
68 |
-
"vocab_size":
|
69 |
}
|
|
|
65 |
"torch_dtype": "float32",
|
66 |
"transformers_version": "4.47.0",
|
67 |
"use_cache": true,
|
68 |
+
"vocab_size": 32126
|
69 |
}
|
generation_config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"bos_token_id": 1,
|
3 |
"decoder_start_token_id": 0,
|
4 |
"eos_token_id": 2,
|
|
|
1 |
{
|
2 |
+
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"decoder_start_token_id": 0,
|
5 |
"eos_token_id": 2,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1cafe8ce68a18578c7f0750f117e520ba7303b3b85fa8b8549feb35e985168b8
|
3 |
+
size 242037800
|
special_tokens_map.json
CHANGED
@@ -27,6 +27,216 @@
|
|
27 |
"normalized": false,
|
28 |
"rstrip": false,
|
29 |
"single_word": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
],
|
32 |
"bos_token": {
|
|
|
27 |
"normalized": false,
|
28 |
"rstrip": false,
|
29 |
"single_word": false
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"content": "Attributes:",
|
33 |
+
"lstrip": false,
|
34 |
+
"normalized": false,
|
35 |
+
"rstrip": false,
|
36 |
+
"single_word": false
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"content": "Methods:",
|
40 |
+
"lstrip": false,
|
41 |
+
"normalized": false,
|
42 |
+
"rstrip": false,
|
43 |
+
"single_word": false
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"content": "Yields:",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"content": "Note:",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"content": "References:",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"content": "Warning:",
|
68 |
+
"lstrip": false,
|
69 |
+
"normalized": false,
|
70 |
+
"rstrip": false,
|
71 |
+
"single_word": false
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"content": "Deprecated:",
|
75 |
+
"lstrip": false,
|
76 |
+
"normalized": false,
|
77 |
+
"rstrip": false,
|
78 |
+
"single_word": false
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"content": "Parameters",
|
82 |
+
"lstrip": false,
|
83 |
+
"normalized": false,
|
84 |
+
"rstrip": false,
|
85 |
+
"single_word": false
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"content": "Returns",
|
89 |
+
"lstrip": false,
|
90 |
+
"normalized": false,
|
91 |
+
"rstrip": false,
|
92 |
+
"single_word": false
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"content": "Raises",
|
96 |
+
"lstrip": false,
|
97 |
+
"normalized": false,
|
98 |
+
"rstrip": false,
|
99 |
+
"single_word": false
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"content": "Examples",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"content": "Attributes",
|
110 |
+
"lstrip": false,
|
111 |
+
"normalized": false,
|
112 |
+
"rstrip": false,
|
113 |
+
"single_word": false
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"content": "Yields",
|
117 |
+
"lstrip": false,
|
118 |
+
"normalized": false,
|
119 |
+
"rstrip": false,
|
120 |
+
"single_word": false
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"content": "Notes",
|
124 |
+
"lstrip": false,
|
125 |
+
"normalized": false,
|
126 |
+
"rstrip": false,
|
127 |
+
"single_word": false
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"content": "References",
|
131 |
+
"lstrip": false,
|
132 |
+
"normalized": false,
|
133 |
+
"rstrip": false,
|
134 |
+
"single_word": false
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"content": "Warnings",
|
138 |
+
"lstrip": false,
|
139 |
+
"normalized": false,
|
140 |
+
"rstrip": false,
|
141 |
+
"single_word": false
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"content": "Deprecated",
|
145 |
+
"lstrip": false,
|
146 |
+
"normalized": false,
|
147 |
+
"rstrip": false,
|
148 |
+
"single_word": false
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"content": "Type:",
|
152 |
+
"lstrip": false,
|
153 |
+
"normalized": false,
|
154 |
+
"rstrip": false,
|
155 |
+
"single_word": false
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"content": ":param",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"content": ":returns:",
|
166 |
+
"lstrip": false,
|
167 |
+
"normalized": false,
|
168 |
+
"rstrip": false,
|
169 |
+
"single_word": false
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"content": ":raises:",
|
173 |
+
"lstrip": false,
|
174 |
+
"normalized": false,
|
175 |
+
"rstrip": false,
|
176 |
+
"single_word": false
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"content": ":ivar:",
|
180 |
+
"lstrip": false,
|
181 |
+
"normalized": false,
|
182 |
+
"rstrip": false,
|
183 |
+
"single_word": false
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"content": ":meth:",
|
187 |
+
"lstrip": false,
|
188 |
+
"normalized": false,
|
189 |
+
"rstrip": false,
|
190 |
+
"single_word": false
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"content": ":type:",
|
194 |
+
"lstrip": false,
|
195 |
+
"normalized": false,
|
196 |
+
"rstrip": false,
|
197 |
+
"single_word": false
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"content": ":yields:",
|
201 |
+
"lstrip": false,
|
202 |
+
"normalized": false,
|
203 |
+
"rstrip": false,
|
204 |
+
"single_word": false
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"content": ".. note::",
|
208 |
+
"lstrip": false,
|
209 |
+
"normalized": false,
|
210 |
+
"rstrip": false,
|
211 |
+
"single_word": false
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"content": ".. seealso::",
|
215 |
+
"lstrip": false,
|
216 |
+
"normalized": false,
|
217 |
+
"rstrip": false,
|
218 |
+
"single_word": false
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"content": ".. warning::",
|
222 |
+
"lstrip": false,
|
223 |
+
"normalized": false,
|
224 |
+
"rstrip": false,
|
225 |
+
"single_word": false
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"content": ".. deprecated::",
|
229 |
+
"lstrip": false,
|
230 |
+
"normalized": false,
|
231 |
+
"rstrip": false,
|
232 |
+
"single_word": false
|
233 |
+
},
|
234 |
+
{
|
235 |
+
"content": ".. code-block:: python",
|
236 |
+
"lstrip": false,
|
237 |
+
"normalized": false,
|
238 |
+
"rstrip": false,
|
239 |
+
"single_word": false
|
240 |
}
|
241 |
],
|
242 |
"bos_token": {
|
tokenizer.json
CHANGED
@@ -62,6 +62,78 @@
|
|
62 |
"normalized": true,
|
63 |
"special": true
|
64 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
{
|
66 |
"id": 32000,
|
67 |
"content": "<extra_id_99>",
|
@@ -997,6 +1069,204 @@
|
|
997 |
"rstrip": false,
|
998 |
"normalized": false,
|
999 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1000 |
}
|
1001 |
],
|
1002 |
"normalizer": null,
|
|
|
62 |
"normalized": true,
|
63 |
"special": true
|
64 |
},
|
65 |
+
{
|
66 |
+
"id": 1356,
|
67 |
+
"content": "Returns",
|
68 |
+
"single_word": false,
|
69 |
+
"lstrip": false,
|
70 |
+
"rstrip": false,
|
71 |
+
"normalized": false,
|
72 |
+
"special": true
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"id": 2402,
|
76 |
+
"content": "Parameters",
|
77 |
+
"single_word": false,
|
78 |
+
"lstrip": false,
|
79 |
+
"rstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"special": true
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"id": 2498,
|
85 |
+
"content": "Attributes",
|
86 |
+
"single_word": false,
|
87 |
+
"lstrip": false,
|
88 |
+
"rstrip": false,
|
89 |
+
"normalized": false,
|
90 |
+
"special": true
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"id": 4312,
|
94 |
+
"content": "Warnings",
|
95 |
+
"single_word": false,
|
96 |
+
"lstrip": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"normalized": false,
|
99 |
+
"special": true
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"id": 8221,
|
103 |
+
"content": "References",
|
104 |
+
"single_word": false,
|
105 |
+
"lstrip": false,
|
106 |
+
"rstrip": false,
|
107 |
+
"normalized": false,
|
108 |
+
"special": true
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"id": 13534,
|
112 |
+
"content": "Deprecated",
|
113 |
+
"single_word": false,
|
114 |
+
"lstrip": false,
|
115 |
+
"rstrip": false,
|
116 |
+
"normalized": false,
|
117 |
+
"special": true
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"id": 18063,
|
121 |
+
"content": "Notes",
|
122 |
+
"single_word": false,
|
123 |
+
"lstrip": false,
|
124 |
+
"rstrip": false,
|
125 |
+
"normalized": false,
|
126 |
+
"special": true
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"id": 23905,
|
130 |
+
"content": "Examples",
|
131 |
+
"single_word": false,
|
132 |
+
"lstrip": false,
|
133 |
+
"rstrip": false,
|
134 |
+
"normalized": false,
|
135 |
+
"special": true
|
136 |
+
},
|
137 |
{
|
138 |
"id": 32000,
|
139 |
"content": "<extra_id_99>",
|
|
|
1069 |
"rstrip": false,
|
1070 |
"normalized": false,
|
1071 |
"special": true
|
1072 |
+
},
|
1073 |
+
{
|
1074 |
+
"id": 32104,
|
1075 |
+
"content": "Attributes:",
|
1076 |
+
"single_word": false,
|
1077 |
+
"lstrip": false,
|
1078 |
+
"rstrip": false,
|
1079 |
+
"normalized": false,
|
1080 |
+
"special": true
|
1081 |
+
},
|
1082 |
+
{
|
1083 |
+
"id": 32105,
|
1084 |
+
"content": "Methods:",
|
1085 |
+
"single_word": false,
|
1086 |
+
"lstrip": false,
|
1087 |
+
"rstrip": false,
|
1088 |
+
"normalized": false,
|
1089 |
+
"special": true
|
1090 |
+
},
|
1091 |
+
{
|
1092 |
+
"id": 32106,
|
1093 |
+
"content": "Yields:",
|
1094 |
+
"single_word": false,
|
1095 |
+
"lstrip": false,
|
1096 |
+
"rstrip": false,
|
1097 |
+
"normalized": false,
|
1098 |
+
"special": true
|
1099 |
+
},
|
1100 |
+
{
|
1101 |
+
"id": 32107,
|
1102 |
+
"content": "Note:",
|
1103 |
+
"single_word": false,
|
1104 |
+
"lstrip": false,
|
1105 |
+
"rstrip": false,
|
1106 |
+
"normalized": false,
|
1107 |
+
"special": true
|
1108 |
+
},
|
1109 |
+
{
|
1110 |
+
"id": 32108,
|
1111 |
+
"content": "References:",
|
1112 |
+
"single_word": false,
|
1113 |
+
"lstrip": false,
|
1114 |
+
"rstrip": false,
|
1115 |
+
"normalized": false,
|
1116 |
+
"special": true
|
1117 |
+
},
|
1118 |
+
{
|
1119 |
+
"id": 32109,
|
1120 |
+
"content": "Warning:",
|
1121 |
+
"single_word": false,
|
1122 |
+
"lstrip": false,
|
1123 |
+
"rstrip": false,
|
1124 |
+
"normalized": false,
|
1125 |
+
"special": true
|
1126 |
+
},
|
1127 |
+
{
|
1128 |
+
"id": 32110,
|
1129 |
+
"content": "Deprecated:",
|
1130 |
+
"single_word": false,
|
1131 |
+
"lstrip": false,
|
1132 |
+
"rstrip": false,
|
1133 |
+
"normalized": false,
|
1134 |
+
"special": true
|
1135 |
+
},
|
1136 |
+
{
|
1137 |
+
"id": 32111,
|
1138 |
+
"content": "Raises",
|
1139 |
+
"single_word": false,
|
1140 |
+
"lstrip": false,
|
1141 |
+
"rstrip": false,
|
1142 |
+
"normalized": false,
|
1143 |
+
"special": true
|
1144 |
+
},
|
1145 |
+
{
|
1146 |
+
"id": 32112,
|
1147 |
+
"content": "Yields",
|
1148 |
+
"single_word": false,
|
1149 |
+
"lstrip": false,
|
1150 |
+
"rstrip": false,
|
1151 |
+
"normalized": false,
|
1152 |
+
"special": true
|
1153 |
+
},
|
1154 |
+
{
|
1155 |
+
"id": 32113,
|
1156 |
+
"content": "Type:",
|
1157 |
+
"single_word": false,
|
1158 |
+
"lstrip": false,
|
1159 |
+
"rstrip": false,
|
1160 |
+
"normalized": false,
|
1161 |
+
"special": true
|
1162 |
+
},
|
1163 |
+
{
|
1164 |
+
"id": 32114,
|
1165 |
+
"content": ":param",
|
1166 |
+
"single_word": false,
|
1167 |
+
"lstrip": false,
|
1168 |
+
"rstrip": false,
|
1169 |
+
"normalized": false,
|
1170 |
+
"special": true
|
1171 |
+
},
|
1172 |
+
{
|
1173 |
+
"id": 32115,
|
1174 |
+
"content": ":returns:",
|
1175 |
+
"single_word": false,
|
1176 |
+
"lstrip": false,
|
1177 |
+
"rstrip": false,
|
1178 |
+
"normalized": false,
|
1179 |
+
"special": true
|
1180 |
+
},
|
1181 |
+
{
|
1182 |
+
"id": 32116,
|
1183 |
+
"content": ":raises:",
|
1184 |
+
"single_word": false,
|
1185 |
+
"lstrip": false,
|
1186 |
+
"rstrip": false,
|
1187 |
+
"normalized": false,
|
1188 |
+
"special": true
|
1189 |
+
},
|
1190 |
+
{
|
1191 |
+
"id": 32117,
|
1192 |
+
"content": ":ivar:",
|
1193 |
+
"single_word": false,
|
1194 |
+
"lstrip": false,
|
1195 |
+
"rstrip": false,
|
1196 |
+
"normalized": false,
|
1197 |
+
"special": true
|
1198 |
+
},
|
1199 |
+
{
|
1200 |
+
"id": 32118,
|
1201 |
+
"content": ":meth:",
|
1202 |
+
"single_word": false,
|
1203 |
+
"lstrip": false,
|
1204 |
+
"rstrip": false,
|
1205 |
+
"normalized": false,
|
1206 |
+
"special": true
|
1207 |
+
},
|
1208 |
+
{
|
1209 |
+
"id": 32119,
|
1210 |
+
"content": ":type:",
|
1211 |
+
"single_word": false,
|
1212 |
+
"lstrip": false,
|
1213 |
+
"rstrip": false,
|
1214 |
+
"normalized": false,
|
1215 |
+
"special": true
|
1216 |
+
},
|
1217 |
+
{
|
1218 |
+
"id": 32120,
|
1219 |
+
"content": ":yields:",
|
1220 |
+
"single_word": false,
|
1221 |
+
"lstrip": false,
|
1222 |
+
"rstrip": false,
|
1223 |
+
"normalized": false,
|
1224 |
+
"special": true
|
1225 |
+
},
|
1226 |
+
{
|
1227 |
+
"id": 32121,
|
1228 |
+
"content": ".. note::",
|
1229 |
+
"single_word": false,
|
1230 |
+
"lstrip": false,
|
1231 |
+
"rstrip": false,
|
1232 |
+
"normalized": false,
|
1233 |
+
"special": true
|
1234 |
+
},
|
1235 |
+
{
|
1236 |
+
"id": 32122,
|
1237 |
+
"content": ".. seealso::",
|
1238 |
+
"single_word": false,
|
1239 |
+
"lstrip": false,
|
1240 |
+
"rstrip": false,
|
1241 |
+
"normalized": false,
|
1242 |
+
"special": true
|
1243 |
+
},
|
1244 |
+
{
|
1245 |
+
"id": 32123,
|
1246 |
+
"content": ".. warning::",
|
1247 |
+
"single_word": false,
|
1248 |
+
"lstrip": false,
|
1249 |
+
"rstrip": false,
|
1250 |
+
"normalized": false,
|
1251 |
+
"special": true
|
1252 |
+
},
|
1253 |
+
{
|
1254 |
+
"id": 32124,
|
1255 |
+
"content": ".. deprecated::",
|
1256 |
+
"single_word": false,
|
1257 |
+
"lstrip": false,
|
1258 |
+
"rstrip": false,
|
1259 |
+
"normalized": false,
|
1260 |
+
"special": true
|
1261 |
+
},
|
1262 |
+
{
|
1263 |
+
"id": 32125,
|
1264 |
+
"content": ".. code-block:: python",
|
1265 |
+
"single_word": false,
|
1266 |
+
"lstrip": false,
|
1267 |
+
"rstrip": false,
|
1268 |
+
"normalized": false,
|
1269 |
+
"special": true
|
1270 |
}
|
1271 |
],
|
1272 |
"normalizer": null,
|
tokenizer_config.json
CHANGED
@@ -41,6 +41,70 @@
|
|
41 |
"single_word": false,
|
42 |
"special": true
|
43 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
"32000": {
|
45 |
"content": "<extra_id_99>",
|
46 |
"lstrip": true,
|
@@ -872,13 +936,219 @@
|
|
872 |
"rstrip": false,
|
873 |
"single_word": false,
|
874 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
875 |
}
|
876 |
},
|
877 |
"additional_special_tokens": [
|
878 |
"Args:",
|
879 |
"Returns:",
|
880 |
"Raises:",
|
881 |
-
"Examples:"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
882 |
],
|
883 |
"bos_token": "<s>",
|
884 |
"clean_up_tokenization_spaces": false,
|
|
|
41 |
"single_word": false,
|
42 |
"special": true
|
43 |
},
|
44 |
+
"1356": {
|
45 |
+
"content": "Returns",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": true
|
51 |
+
},
|
52 |
+
"2402": {
|
53 |
+
"content": "Parameters",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": true
|
59 |
+
},
|
60 |
+
"2498": {
|
61 |
+
"content": "Attributes",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": false,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": true
|
67 |
+
},
|
68 |
+
"4312": {
|
69 |
+
"content": "Warnings",
|
70 |
+
"lstrip": false,
|
71 |
+
"normalized": false,
|
72 |
+
"rstrip": false,
|
73 |
+
"single_word": false,
|
74 |
+
"special": true
|
75 |
+
},
|
76 |
+
"8221": {
|
77 |
+
"content": "References",
|
78 |
+
"lstrip": false,
|
79 |
+
"normalized": false,
|
80 |
+
"rstrip": false,
|
81 |
+
"single_word": false,
|
82 |
+
"special": true
|
83 |
+
},
|
84 |
+
"13534": {
|
85 |
+
"content": "Deprecated",
|
86 |
+
"lstrip": false,
|
87 |
+
"normalized": false,
|
88 |
+
"rstrip": false,
|
89 |
+
"single_word": false,
|
90 |
+
"special": true
|
91 |
+
},
|
92 |
+
"18063": {
|
93 |
+
"content": "Notes",
|
94 |
+
"lstrip": false,
|
95 |
+
"normalized": false,
|
96 |
+
"rstrip": false,
|
97 |
+
"single_word": false,
|
98 |
+
"special": true
|
99 |
+
},
|
100 |
+
"23905": {
|
101 |
+
"content": "Examples",
|
102 |
+
"lstrip": false,
|
103 |
+
"normalized": false,
|
104 |
+
"rstrip": false,
|
105 |
+
"single_word": false,
|
106 |
+
"special": true
|
107 |
+
},
|
108 |
"32000": {
|
109 |
"content": "<extra_id_99>",
|
110 |
"lstrip": true,
|
|
|
936 |
"rstrip": false,
|
937 |
"single_word": false,
|
938 |
"special": true
|
939 |
+
},
|
940 |
+
"32104": {
|
941 |
+
"content": "Attributes:",
|
942 |
+
"lstrip": false,
|
943 |
+
"normalized": false,
|
944 |
+
"rstrip": false,
|
945 |
+
"single_word": false,
|
946 |
+
"special": true
|
947 |
+
},
|
948 |
+
"32105": {
|
949 |
+
"content": "Methods:",
|
950 |
+
"lstrip": false,
|
951 |
+
"normalized": false,
|
952 |
+
"rstrip": false,
|
953 |
+
"single_word": false,
|
954 |
+
"special": true
|
955 |
+
},
|
956 |
+
"32106": {
|
957 |
+
"content": "Yields:",
|
958 |
+
"lstrip": false,
|
959 |
+
"normalized": false,
|
960 |
+
"rstrip": false,
|
961 |
+
"single_word": false,
|
962 |
+
"special": true
|
963 |
+
},
|
964 |
+
"32107": {
|
965 |
+
"content": "Note:",
|
966 |
+
"lstrip": false,
|
967 |
+
"normalized": false,
|
968 |
+
"rstrip": false,
|
969 |
+
"single_word": false,
|
970 |
+
"special": true
|
971 |
+
},
|
972 |
+
"32108": {
|
973 |
+
"content": "References:",
|
974 |
+
"lstrip": false,
|
975 |
+
"normalized": false,
|
976 |
+
"rstrip": false,
|
977 |
+
"single_word": false,
|
978 |
+
"special": true
|
979 |
+
},
|
980 |
+
"32109": {
|
981 |
+
"content": "Warning:",
|
982 |
+
"lstrip": false,
|
983 |
+
"normalized": false,
|
984 |
+
"rstrip": false,
|
985 |
+
"single_word": false,
|
986 |
+
"special": true
|
987 |
+
},
|
988 |
+
"32110": {
|
989 |
+
"content": "Deprecated:",
|
990 |
+
"lstrip": false,
|
991 |
+
"normalized": false,
|
992 |
+
"rstrip": false,
|
993 |
+
"single_word": false,
|
994 |
+
"special": true
|
995 |
+
},
|
996 |
+
"32111": {
|
997 |
+
"content": "Raises",
|
998 |
+
"lstrip": false,
|
999 |
+
"normalized": false,
|
1000 |
+
"rstrip": false,
|
1001 |
+
"single_word": false,
|
1002 |
+
"special": true
|
1003 |
+
},
|
1004 |
+
"32112": {
|
1005 |
+
"content": "Yields",
|
1006 |
+
"lstrip": false,
|
1007 |
+
"normalized": false,
|
1008 |
+
"rstrip": false,
|
1009 |
+
"single_word": false,
|
1010 |
+
"special": true
|
1011 |
+
},
|
1012 |
+
"32113": {
|
1013 |
+
"content": "Type:",
|
1014 |
+
"lstrip": false,
|
1015 |
+
"normalized": false,
|
1016 |
+
"rstrip": false,
|
1017 |
+
"single_word": false,
|
1018 |
+
"special": true
|
1019 |
+
},
|
1020 |
+
"32114": {
|
1021 |
+
"content": ":param",
|
1022 |
+
"lstrip": false,
|
1023 |
+
"normalized": false,
|
1024 |
+
"rstrip": false,
|
1025 |
+
"single_word": false,
|
1026 |
+
"special": true
|
1027 |
+
},
|
1028 |
+
"32115": {
|
1029 |
+
"content": ":returns:",
|
1030 |
+
"lstrip": false,
|
1031 |
+
"normalized": false,
|
1032 |
+
"rstrip": false,
|
1033 |
+
"single_word": false,
|
1034 |
+
"special": true
|
1035 |
+
},
|
1036 |
+
"32116": {
|
1037 |
+
"content": ":raises:",
|
1038 |
+
"lstrip": false,
|
1039 |
+
"normalized": false,
|
1040 |
+
"rstrip": false,
|
1041 |
+
"single_word": false,
|
1042 |
+
"special": true
|
1043 |
+
},
|
1044 |
+
"32117": {
|
1045 |
+
"content": ":ivar:",
|
1046 |
+
"lstrip": false,
|
1047 |
+
"normalized": false,
|
1048 |
+
"rstrip": false,
|
1049 |
+
"single_word": false,
|
1050 |
+
"special": true
|
1051 |
+
},
|
1052 |
+
"32118": {
|
1053 |
+
"content": ":meth:",
|
1054 |
+
"lstrip": false,
|
1055 |
+
"normalized": false,
|
1056 |
+
"rstrip": false,
|
1057 |
+
"single_word": false,
|
1058 |
+
"special": true
|
1059 |
+
},
|
1060 |
+
"32119": {
|
1061 |
+
"content": ":type:",
|
1062 |
+
"lstrip": false,
|
1063 |
+
"normalized": false,
|
1064 |
+
"rstrip": false,
|
1065 |
+
"single_word": false,
|
1066 |
+
"special": true
|
1067 |
+
},
|
1068 |
+
"32120": {
|
1069 |
+
"content": ":yields:",
|
1070 |
+
"lstrip": false,
|
1071 |
+
"normalized": false,
|
1072 |
+
"rstrip": false,
|
1073 |
+
"single_word": false,
|
1074 |
+
"special": true
|
1075 |
+
},
|
1076 |
+
"32121": {
|
1077 |
+
"content": ".. note::",
|
1078 |
+
"lstrip": false,
|
1079 |
+
"normalized": false,
|
1080 |
+
"rstrip": false,
|
1081 |
+
"single_word": false,
|
1082 |
+
"special": true
|
1083 |
+
},
|
1084 |
+
"32122": {
|
1085 |
+
"content": ".. seealso::",
|
1086 |
+
"lstrip": false,
|
1087 |
+
"normalized": false,
|
1088 |
+
"rstrip": false,
|
1089 |
+
"single_word": false,
|
1090 |
+
"special": true
|
1091 |
+
},
|
1092 |
+
"32123": {
|
1093 |
+
"content": ".. warning::",
|
1094 |
+
"lstrip": false,
|
1095 |
+
"normalized": false,
|
1096 |
+
"rstrip": false,
|
1097 |
+
"single_word": false,
|
1098 |
+
"special": true
|
1099 |
+
},
|
1100 |
+
"32124": {
|
1101 |
+
"content": ".. deprecated::",
|
1102 |
+
"lstrip": false,
|
1103 |
+
"normalized": false,
|
1104 |
+
"rstrip": false,
|
1105 |
+
"single_word": false,
|
1106 |
+
"special": true
|
1107 |
+
},
|
1108 |
+
"32125": {
|
1109 |
+
"content": ".. code-block:: python",
|
1110 |
+
"lstrip": false,
|
1111 |
+
"normalized": false,
|
1112 |
+
"rstrip": false,
|
1113 |
+
"single_word": false,
|
1114 |
+
"special": true
|
1115 |
}
|
1116 |
},
|
1117 |
"additional_special_tokens": [
|
1118 |
"Args:",
|
1119 |
"Returns:",
|
1120 |
"Raises:",
|
1121 |
+
"Examples:",
|
1122 |
+
"Attributes:",
|
1123 |
+
"Methods:",
|
1124 |
+
"Yields:",
|
1125 |
+
"Note:",
|
1126 |
+
"References:",
|
1127 |
+
"Warning:",
|
1128 |
+
"Deprecated:",
|
1129 |
+
"Parameters",
|
1130 |
+
"Returns",
|
1131 |
+
"Raises",
|
1132 |
+
"Examples",
|
1133 |
+
"Attributes",
|
1134 |
+
"Yields",
|
1135 |
+
"Notes",
|
1136 |
+
"References",
|
1137 |
+
"Warnings",
|
1138 |
+
"Deprecated",
|
1139 |
+
"Type:",
|
1140 |
+
":param",
|
1141 |
+
":returns:",
|
1142 |
+
":raises:",
|
1143 |
+
":ivar:",
|
1144 |
+
":meth:",
|
1145 |
+
":type:",
|
1146 |
+
":yields:",
|
1147 |
+
".. note::",
|
1148 |
+
".. seealso::",
|
1149 |
+
".. warning::",
|
1150 |
+
".. deprecated::",
|
1151 |
+
".. code-block:: python"
|
1152 |
],
|
1153 |
"bos_token": "<s>",
|
1154 |
"clean_up_tokenization_spaces": false,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5496
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ddd8794676d2453affc90705f6e1c633c806093eddd2350630cec45d0681d36
|
3 |
size 5496
|