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
33eb8a16
Commit
33eb8a16
authored
Feb 23, 2020
by
Martin Malmsten
Browse files
Added ,
parent
869b66f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/ner/run_ner.py
examples/ner/run_ner.py
+1
-1
No files found.
examples/ner/run_ner.py
View file @
33eb8a16
...
...
@@ -617,7 +617,7 @@ def main():
tokenizer
=
tokenizer_class
.
from_pretrained
(
args
.
tokenizer_name
if
args
.
tokenizer_name
else
args
.
model_name_or_path
,
cache_dir
=
args
.
cache_dir
if
args
.
cache_dir
else
None
,
**
tokenizer_args
**
tokenizer_args
,
)
model
=
model_class
.
from_pretrained
(
args
.
model_name_or_path
,
...
...
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