|
3 | 3 | "nbformat_minor": 0, |
4 | 4 | "metadata": { |
5 | 5 | "colab": { |
6 | | - "name": "nlp_gpt3mix.ipynb", |
| 6 | + "name": "nlp_augmentation_lm.ipynb", |
7 | 7 | "provenance": [], |
8 | 8 | "collapsed_sections": [] |
9 | 9 | }, |
|
107 | 107 | "from datasets import load_dataset, concatenate_datasets, load_from_disk, load_metric, Dataset, ClassLabel\n", |
108 | 108 | "from transformers import pipeline, AutoTokenizer, AutoModelForSequenceClassification, TrainingArguments, Trainer, TrainerCallback, AutoModelForCausalLM, AutoModelForSeq2SeqLM" |
109 | 109 | ], |
110 | | - "execution_count": 2, |
| 110 | + "execution_count": null, |
111 | 111 | "outputs": [] |
112 | 112 | }, |
113 | 113 | { |
|
393 | 393 | "\n", |
394 | 394 | "if not os.path.isdir('./data'):\n", |
395 | 395 | " !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", |
397 | 397 | " !mv quick-tips/nlp/2021_11_25_augmentation_lm/data ./data\n", |
398 | 398 | " !rm -rf quick-tips\n", |
399 | 399 | "\n", |
|
552 | 552 | "source": [ |
553 | 553 | "if not os.path.isdir('./data'):\n", |
554 | 554 | " !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", |
556 | 556 | " !mv quick-tips/nlp/2021_11_25_augmentation_lm/data ./data\n", |
557 | 557 | " !rm -rf quick-tips\n", |
558 | 558 | "\n", |
|
690 | 690 | "\n", |
691 | 691 | "if not os.path.isdir('./data'):\n", |
692 | 692 | " !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", |
694 | 694 | " !mv quick-tips/nlp/2021_11_25_augmentation_lm/data ./data\n", |
695 | 695 | " !rm -rf quick-tips\n", |
696 | 696 | "\n", |
|
811 | 811 | "# run this if you do not want to train the models on your own.\n", |
812 | 812 | "if not os.path.isdir('./results'):\n", |
813 | 813 | " !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", |
815 | 815 | " !mv quick-tips/nlp/2021_11_25_augmentation_lm/results ./results\n", |
816 | 816 | " !rm -rf quick-tips\n", |
817 | 817 | "\n", |
|
1627 | 1627 | "\n", |
1628 | 1628 | "if not os.path.isdir('./data'):\n", |
1629 | 1629 | " !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", |
1631 | 1631 | " !mv quick-tips/nlp/2021_11_25_gpt3mix/data ./data\n", |
1632 | 1632 | " !rm -rf quick-tips\n", |
1633 | 1633 | "\n", |
|
0 commit comments