mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-12-25 06:02:07 +00:00
track tokens seen in chapter5, track examples seen in chapter6 (#319)
This commit is contained in:
parent
5f0c55ddee
commit
38390b2a8d
@ -1838,7 +1838,7 @@
|
||||
"- In this section, we define and use the training function to improve the classification accuracy of the model\n",
|
||||
"- The `train_classifier_simple` function below is practically the same as the `train_model_simple` function we used for pretraining the model in chapter 5\n",
|
||||
"- The only two differences are that we now \n",
|
||||
" 1. track the number of training examples seen (`examples_seen`) instead of the number of examples seen\n",
|
||||
" 1. track the number of training examples seen (`examples_seen`) instead of the number of tokens seen\n",
|
||||
" 2. calculate the accuracy after each epoch instead of printing a sample text after each epoch"
|
||||
]
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user