Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
789ea720
"python/vscode:/vscode.git/clone" did not exist on "efedbe6ca92028873b4e985df5533d31bd6dae59"
Commit
789ea720
authored
Sep 24, 2019
by
thomwolf
Browse files
fix output_token_type in glue
parent
1cbd566c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
pytorch_transformers/data/processors/glue.py
pytorch_transformers/data/processors/glue.py
+0
-1
No files found.
pytorch_transformers/data/processors/glue.py
View file @
789ea720
...
@@ -43,7 +43,6 @@ def glue_convert_examples_to_features(examples, label_list, max_seq_length,
...
@@ -43,7 +43,6 @@ def glue_convert_examples_to_features(examples, label_list, max_seq_length,
example
.
text_a
,
example
.
text_a
,
example
.
text_b
,
example
.
text_b
,
add_special_tokens
=
True
,
add_special_tokens
=
True
,
output_token_type
=
True
,
max_length
=
max_seq_length
,
max_length
=
max_seq_length
,
truncate_first_sequence
=
True
# We're truncating the first sequence as a priority
truncate_first_sequence
=
True
# We're truncating the first sequence as a priority
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment