Skip to content

Commit 82dbefd

Browse files
Merge pull request #29 from ml6team/bugfix/augmentation_lm
Bugfix/augmentation_lm
2 parents 0285b09 + 59e8076 commit 82dbefd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

nlp/2021_11_25_augmentation_lm/nlp_augmentation_lm.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"nbformat_minor": 0,
44
"metadata": {
55
"colab": {
6-
"name": "nlp_gpt3mix.ipynb",
6+
"name": "nlp_augmentation_lm.ipynb",
77
"provenance": [],
88
"collapsed_sections": []
99
},
@@ -107,7 +107,7 @@
107107
"from datasets import load_dataset, concatenate_datasets, load_from_disk, load_metric, Dataset, ClassLabel\n",
108108
"from transformers import pipeline, AutoTokenizer, AutoModelForSequenceClassification, TrainingArguments, Trainer, TrainerCallback, AutoModelForCausalLM, AutoModelForSeq2SeqLM"
109109
],
110-
"execution_count": 2,
110+
"execution_count": null,
111111
"outputs": []
112112
},
113113
{
@@ -393,7 +393,7 @@
393393
"\n",
394394
"if not os.path.isdir('./data'):\n",
395395
" !git clone https://github.com/ml6team/quick-tips.git\n",
396-
" !cd quick-tips && git checkout feature/nlp_gpt3mix\n",
396+
" !cd quick-tips \n",
397397
" !mv quick-tips/nlp/2021_11_25_augmentation_lm/data ./data\n",
398398
" !rm -rf quick-tips\n",
399399
"\n",
@@ -552,7 +552,7 @@
552552
"source": [
553553
"if not os.path.isdir('./data'):\n",
554554
" !git clone https://github.com/ml6team/quick-tips.git\n",
555-
" !cd quick-tips && git checkout feature/nlp_gpt3mix\n",
555+
" !cd quick-tips\n",
556556
" !mv quick-tips/nlp/2021_11_25_augmentation_lm/data ./data\n",
557557
" !rm -rf quick-tips\n",
558558
"\n",
@@ -690,7 +690,7 @@
690690
"\n",
691691
"if not os.path.isdir('./data'):\n",
692692
" !git clone https://github.com/ml6team/quick-tips.git\n",
693-
" !cd quick-tips && git checkout feature/nlp_gpt3mix\n",
693+
" !cd quick-tips\n",
694694
" !mv quick-tips/nlp/2021_11_25_augmentation_lm/data ./data\n",
695695
" !rm -rf quick-tips\n",
696696
"\n",
@@ -811,7 +811,7 @@
811811
"# run this if you do not want to train the models on your own.\n",
812812
"if not os.path.isdir('./results'):\n",
813813
" !git clone https://github.com/ml6team/quick-tips.git\n",
814-
" !cd quick-tips && git checkout feature/nlp_gpt3mix\n",
814+
" !cd quick-tips\n",
815815
" !mv quick-tips/nlp/2021_11_25_augmentation_lm/results ./results\n",
816816
" !rm -rf quick-tips\n",
817817
"\n",
@@ -1627,7 +1627,7 @@
16271627
"\n",
16281628
"if not os.path.isdir('./data'):\n",
16291629
" !git clone https://github.com/ml6team/quick-tips.git\n",
1630-
" !cd quick-tips && git checkout feature/nlp_gpt3mix\n",
1630+
" !cd quick-tips\n",
16311631
" !mv quick-tips/nlp/2021_11_25_gpt3mix/data ./data\n",
16321632
" !rm -rf quick-tips\n",
16331633
"\n",

0 commit comments

Comments
 (0)