Skip to content

Commit

Permalink
Update 6_Train MOTOR.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSteinberg authored Apr 27, 2024
1 parent 9d593cf commit 8497a79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tutorials/6_Train MOTOR.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"with open('input/meds/ontology.pkl', 'rb') as f:\n",
" ontology = pickle.load(f)\n",
"\n",
"# NOTE: A vocab size of 128 is probably too low for a real model. 128 was chosen to make this tutorial quick to run\n",
"tokenizer = femr.models.tokenizer.train_tokenizer(\n",
" main_dataset['train'], vocab_size=128, is_hierarchical=True, num_proc=4, ontology=ontology)\n",
"\n",
Expand Down

0 comments on commit 8497a79

Please sign in to comment.