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
803a8cd1
Unverified
Commit
803a8cd1
authored
Dec 06, 2021
by
Kamal Raj
Committed by
GitHub
Dec 05, 2021
Browse files
updated readme with proper arguments (#14624)
parent
3977b584
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
examples/pytorch/token-classification/README.md
examples/pytorch/token-classification/README.md
+4
-2
No files found.
examples/pytorch/token-classification/README.md
View file @
803a8cd1
...
...
@@ -83,8 +83,9 @@ export TASK_NAME=ner
python run_ner_no_trainer.py
\
--model_name_or_path
bert-base-cased
\
--dataset_name
conll2003
\
--task_name
$TASK_NAME
\
--max_
seq_
length
128
\
--max_length
128
\
--per_device_train_batch_size
32
\
--learning_rate
2e-5
\
--num_train_epochs
3
\
...
...
@@ -110,8 +111,9 @@ export TASK_NAME=ner
accelerate launch run_ner_no_trainer.py
\
--model_name_or_path
bert-base-cased
\
--dataset_name
conll2003
\
--task_name
$TASK_NAME
\
--max_
seq_
length
128
\
--max_length
128
\
--per_device_train_batch_size
32
\
--learning_rate
2e-5
\
--num_train_epochs
3
\
...
...
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