ajustes
Browse files
README.md
CHANGED
@@ -60,7 +60,10 @@ More information needed
|
|
60 |
## Training procedure
|
61 |
|
62 |
```
|
63 |
-
|
|
|
|
|
|
|
64 |
--model_name_or_path egonrp/gpt2-wikiwriter-medium-portuguese \
|
65 |
--train_file /home/egon/dev/gptsquad_data/converted_squad_merged_out_v4c.txt \
|
66 |
--do_train \
|
|
|
60 |
## Training procedure
|
61 |
|
62 |
```
|
63 |
+
git clone -b v4.27-release https://github.com/huggingface/transformers.git
|
64 |
+
pip install -r requirements.txt
|
65 |
+
pip install transformers==v4.27.3
|
66 |
+
python3 transformers/examples/pytorch/language-modeling/run_clm.py \
|
67 |
--model_name_or_path egonrp/gpt2-wikiwriter-medium-portuguese \
|
68 |
--train_file /home/egon/dev/gptsquad_data/converted_squad_merged_out_v4c.txt \
|
69 |
--do_train \
|