Skip to content

Commit 90e21b5

Browse files
authored
Merge pull request #273 from lakshith-403/LoRA
LoRA rename configs to trainer
2 parents 6df1d79 + 309a071 commit 90e21b5

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

labml_nn/lora/experiment.ipynb

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
22
"cells": [
3+
{
4+
"metadata": {},
5+
"cell_type": "code",
6+
"outputs": [],
7+
"execution_count": null,
8+
"source": "!pip install labml-nn",
9+
"id": "c5ed37230628ee76"
10+
},
311
{
412
"metadata": {},
513
"cell_type": "code",
614
"source": [
7-
"from labml_nn.lora.experiment import Configs\n",
15+
"from labml_nn.lora.experiment import Trainer\n",
816
"from labml import experiment"
917
],
1018
"id": "1b9da2e59ffce5d5",
@@ -24,23 +32,23 @@
2432
{
2533
"metadata": {},
2634
"cell_type": "code",
27-
"source": "conf = Configs()",
35+
"source": "trainer = Trainer()",
2836
"id": "31c9bc08eca2592",
2937
"outputs": [],
3038
"execution_count": null
3139
},
3240
{
3341
"metadata": {},
3442
"cell_type": "code",
35-
"source": "experiment.configs(conf)",
43+
"source": "experiment.configs(trainer)",
3644
"id": "fb6ce74326558948",
3745
"outputs": [],
3846
"execution_count": null
3947
},
4048
{
4149
"metadata": {},
4250
"cell_type": "code",
43-
"source": "conf.initialize()",
51+
"source": "trainer.initialize()",
4452
"id": "1456cfab47dee3b",
4553
"outputs": [],
4654
"execution_count": null
@@ -50,7 +58,7 @@
5058
"cell_type": "code",
5159
"source": [
5260
"with experiment.start():\n",
53-
" conf.run()"
61+
" trainer.run()"
5462
],
5563
"id": "3fe4068fd2df9094",
5664
"outputs": [],

0 commit comments

Comments
 (0)