Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,12 +22,12 @@ github repository : https://github.com/sunandhini96
|
|
| 22 |
github repository : https://github.com/katipallyvig8899
|
| 23 |
|
| 24 |
|
| 25 |
-
Developed the nano gpt application using gradio.
|
| 26 |
|
| 27 |
|
| 28 |
-
Some of steps followed during the training:
|
| 29 |
|
| 30 |
-
## Data preparation:
|
| 31 |
|
| 32 |
-> download single (1MB) file and turn it from raw text into one large stream of integers(Tokenize the text into characters. In character-level models, each character becomes a token and data encoding )
|
| 33 |
|
|
@@ -35,14 +35,15 @@ Some of steps followed during the training:
|
|
| 35 |
|
| 36 |
This creates a train.bin and val.bin in that data directory.
|
| 37 |
|
| 38 |
-
## Train the model:
|
| 39 |
|
| 40 |
To train the model run the following command:
|
| 41 |
|
| 42 |
` python train.py config/train_shakespeare_char.py `
|
| 43 |
|
| 44 |
-
## Sample data generation:
|
| 45 |
|
| 46 |
To get sample data run the following command:
|
| 47 |
|
| 48 |
` python sample.py --out_dir=out-shakespeare-char `
|
|
|
|
|
|
| 22 |
github repository : https://github.com/katipallyvig8899
|
| 23 |
|
| 24 |
|
| 25 |
+
### Developed the nano gpt application using gradio.
|
| 26 |
|
| 27 |
|
| 28 |
+
# Some of steps followed during the training:
|
| 29 |
|
| 30 |
+
### Data preparation:
|
| 31 |
|
| 32 |
-> download single (1MB) file and turn it from raw text into one large stream of integers(Tokenize the text into characters. In character-level models, each character becomes a token and data encoding )
|
| 33 |
|
|
|
|
| 35 |
|
| 36 |
This creates a train.bin and val.bin in that data directory.
|
| 37 |
|
| 38 |
+
### Train the model:
|
| 39 |
|
| 40 |
To train the model run the following command:
|
| 41 |
|
| 42 |
` python train.py config/train_shakespeare_char.py `
|
| 43 |
|
| 44 |
+
### Sample data generation:
|
| 45 |
|
| 46 |
To get sample data run the following command:
|
| 47 |
|
| 48 |
` python sample.py --out_dir=out-shakespeare-char `
|
| 49 |
+
|