generated from rochacbruno/python-project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(kan_gpt/dataset.py): mnist suppport
- Loading branch information
Showing
9 changed files
with
164 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,3 +134,4 @@ dmypy.json | |
datasets/ | ||
wandb/ | ||
weights/ | ||
data/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.1.0 | ||
1.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import torch | ||
import wandb | ||
|
||
import wandb | ||
from kan_gpt.train import main | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ pandas>=2.0.3 | |
requests>=2.31.0 | ||
transformers>=4.40.1 | ||
wandb>=0.16.6 | ||
torchvision |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# Download Dataset | ||
python3 -m kan_gpt.download_dataset --dataset tinyshakespeare | ||
python3 -m kan_gpt.download_dataset --dataset mnist | ||
python3 -m kan_gpt.download_dataset --dataset webtext | ||
|
||
# Train | ||
python3 -m kan_gpt.train --dataset mnist --architecture MLP | ||
python3 -m kan_gpt.train --dataset mnist --architecture KAN | ||
|
||
python3 -m kan_gpt.train --dataset tinyshakespeare --architecture MLP | ||
python3 -m kan_gpt.train --dataset tinyshakespeare --architecture KAN | ||
|
||
python3 -m kan_gpt.train --dataset webtext --architecture MLP | ||
python3 -m kan_gpt.train --dataset webtext --architecture KAN |