Skip to content

Commit

Permalink
updated colab notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
hkproj committed May 22, 2023
1 parent 3f2658e commit fb67db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Colab_Train.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"outputs": [],
"source": [
"%%capture\n",
"!echo \"Installing requirements\"\n",
"!pip install datasets\n",
"!pip install tokenizers\n",
"!pip install torchmetrics"
Expand Down Expand Up @@ -288,7 +287,8 @@
"cfg = get_config()\n",
"cfg['model_folder'] = '..//drive/MyDrive/Models/pytorch-transformer/weights'\n",
"cfg['tokenizer_file'] = '..//drive/MyDrive/Models/pytorch-transformer/vocab/tokenizer_{0}.json'\n",
"cfg['batch_size'] = 16\n",
"cfg['batch_size'] = 24\n",
"cfg['num_epochs'] = 100\n",
"cfg['preload'] = None\n",
"\n",
"from train import train_model\n",
Expand Down

0 comments on commit fb67db8

Please sign in to comment.