mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
rename hparams to settings
This commit is contained in:
@@ -2106,7 +2106,7 @@
|
||||
"text": [
|
||||
"File already exists and is up-to-date: gpt2/124M/checkpoint\n",
|
||||
"File already exists and is up-to-date: gpt2/124M/encoder.json\n",
|
||||
"File already exists and is up-to-date: gpt2/124M/hparams.json\n",
|
||||
"File already exists and is up-to-date: gpt2/124M/settings.json\n",
|
||||
"File already exists and is up-to-date: gpt2/124M/model.ckpt.data-00000-of-00001\n",
|
||||
"File already exists and is up-to-date: gpt2/124M/model.ckpt.index\n",
|
||||
"File already exists and is up-to-date: gpt2/124M/model.ckpt.meta\n",
|
||||
@@ -2115,7 +2115,7 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"hparams, params = download_and_load_gpt2(model_size=\"124M\", models_dir=\"gpt2\")"
|
||||
"settings, params = download_and_load_gpt2(model_size=\"124M\", models_dir=\"gpt2\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -2133,7 +2133,7 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"print(\"Settings:\", hparams)"
|
||||
"print(\"Settings:\", settings)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -2401,7 +2401,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.11.4"
|
||||
"version": "3.10.12"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user