Update README.md
Browse files
README.md
CHANGED
|
@@ -13,16 +13,17 @@ This project implements a transformer-based model using PyTorch to generate and
|
|
| 13 |
|
| 14 |
# Installation
|
| 15 |
|
| 16 |
-
1.
|
| 17 |
git clone https://github.com/ryanHD03/GPT.git
|
| 18 |
-
3.
|
| 19 |
pip install -r requirements.txt
|
| 20 |
|
| 21 |
# Usage
|
| 22 |
|
| 23 |
- To train the model, run the 'main.py' script:
|
| 24 |
python main.py
|
| 25 |
-
- The training script will generate random arithmetic problems (10 by default),
|
|
|
|
| 26 |
# License
|
| 27 |
|
| 28 |
This model is licensed under the [MIT License](https://opensource.org/license/mit).
|
|
|
|
| 13 |
|
| 14 |
# Installation
|
| 15 |
|
| 16 |
+
1. Clone the repository:
|
| 17 |
git clone https://github.com/ryanHD03/GPT.git
|
| 18 |
+
3. Install the required dependencies:
|
| 19 |
pip install -r requirements.txt
|
| 20 |
|
| 21 |
# Usage
|
| 22 |
|
| 23 |
- To train the model, run the 'main.py' script:
|
| 24 |
python main.py
|
| 25 |
+
- The training script will generate random arithmetic problems (10 by default),
|
| 26 |
+
encode them, and feed them to the model. The model is trained to predict the result of the arithmetic operation.
|
| 27 |
# License
|
| 28 |
|
| 29 |
This model is licensed under the [MIT License](https://opensource.org/license/mit).
|