Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudiuCreanga committed Nov 21, 2024
1 parent 775fd7f commit 76dd70c
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions lab4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
{
"cell_type": "markdown",
"source": [
"- In this chapter, we implement the training loop and code for basic model evaluation to pretrain an LLM\n",
"- At the end of this chapter, we also load openly available pretrained weights from OpenAI into our model"
"- In this chapter, we implement the training loop and code for basic model evaluation to pretrain an LLM"
],
"metadata": {
"collapsed": false
Expand Down Expand Up @@ -1862,28 +1861,11 @@
}
}
},
{
"cell_type": "markdown",
"source": [
"## 5.5 Loading pretrained weights from OpenAI"
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "markdown",
"source": [
"- Previously, we only trained a small GPT-2 model using a very small short-story book for educational purposes\n",
"- Fortunately, we don't have to spend tens to hundreds of thousands of dollars to pretrain the model on a large pretraining corpus but can load the pretrained weights provided by OpenAI"
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "markdown",
"source": [
"- Fortunately, we don't have to spend tens to hundreds of thousands of dollars to pretrain the model on a large pretraining corpus but can load the pretrained weights provided by OpeaAI or other vendors.\n",
"- We can also use Hugging Face Hub to load weights."
],
"metadata": {
Expand Down

0 comments on commit 76dd70c

Please sign in to comment.