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
6806f820
Commit
6806f820
authored
Jan 07, 2020
by
Lysandre
Browse files
fix #2410
parent
176d3b30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/tokenization_xlm.py
src/transformers/tokenization_xlm.py
+1
-1
No files found.
src/transformers/tokenization_xlm.py
View file @
6806f820
...
...
@@ -474,7 +474,7 @@ def replace_unicode_punct(text):
text
=
text
.
replace
(
"!"
,
"!"
)
text
=
text
.
replace
(
"("
,
"("
)
text
=
text
.
replace
(
";"
,
";"
)
text
=
text
.
replace
(
"1"
,
'
"
'
)
text
=
text
.
replace
(
"1"
,
'
1
'
)
text
=
text
.
replace
(
"」"
,
'"'
)
text
=
text
.
replace
(
"「"
,
'"'
)
text
=
text
.
replace
(
"0"
,
"0"
)
...
...
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