track tokens seen in chapter5, track examples seen in chapter6 (#319)

This commit is contained in:
TITC 2024-08-13 20:09:05 +08:00 committed by GitHub
parent 5f0c55ddee
commit 38390b2a8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
]
},