mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 03:01:07 +06:00
commit
ecc0b54bec
@ -517,8 +517,7 @@ python ./run_squad.py \
|
|||||||
--doc_stride 128 \
|
--doc_stride 128 \
|
||||||
--output_dir $OUTPUT_DIR \
|
--output_dir $OUTPUT_DIR \
|
||||||
--train_batch_size 24 \
|
--train_batch_size 24 \
|
||||||
--gradient_accumulation_steps 2 \
|
--gradient_accumulation_steps 2
|
||||||
--optimize_on_cpu
|
|
||||||
```
|
```
|
||||||
|
|
||||||
If you have a recent GPU (starting from NVIDIA Volta series), you should try **16-bit fine-tuning** (FP16).
|
If you have a recent GPU (starting from NVIDIA Volta series), you should try **16-bit fine-tuning** (FP16).
|
||||||
|
Loading…
Reference in New Issue
Block a user