Spaces:
Sleeping
Sleeping
Commit
·
68d81c9
1
Parent(s):
b1f2aeb
update requirements to actually work
Browse files- readme.md +5 -1
- requirements-base.txt +5 -0
- requirements.txt → requirements-pytorch.txt +0 -5
readme.md
CHANGED
|
@@ -7,6 +7,10 @@ The purpose of this project is to build a simple large language model from scrat
|
|
| 7 |
This repo is following the guide from https://www.youtube.com/watch?v=UU1WVnMk4E8
|
| 8 |
|
| 9 |
In this repo:
|
| 10 |
-
- ./requirements.txt - do `pip install -r requirements.txt`
|
| 11 |
- ./shakespeare.txt - This is a sample text used for training a smaller scale model
|
| 12 |
- ./bigram_testing.sync.ipynb - This notebook is where I test a basic BiGram model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
This repo is following the guide from https://www.youtube.com/watch?v=UU1WVnMk4E8
|
| 8 |
|
| 9 |
In this repo:
|
|
|
|
| 10 |
- ./shakespeare.txt - This is a sample text used for training a smaller scale model
|
| 11 |
- ./bigram_testing.sync.ipynb - This notebook is where I test a basic BiGram model
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
### Prepare environment
|
| 15 |
+
`pip install -r ./requirements-base.txt`
|
| 16 |
+
`pip install -r ./requirements-pytorch.txt`
|
requirements-base.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
matplotlib
|
| 2 |
+
numpy
|
| 3 |
+
pylzma
|
| 4 |
+
ipykernel
|
| 5 |
+
jupyter
|
requirements.txt → requirements-pytorch.txt
RENAMED
|
@@ -1,8 +1,3 @@
|
|
| 1 |
-
matplotlib
|
| 2 |
-
numpy
|
| 3 |
-
pylzma
|
| 4 |
-
ipykernel
|
| 5 |
-
jupyter
|
| 6 |
|
| 7 |
--index-url https://download.pytorch.org/whl/cu118
|
| 8 |
torch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
--index-url https://download.pytorch.org/whl/cu118
|
| 3 |
torch
|