Skip to content

Killerbee1215/Grokking-Project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grokking-Project

Final project of Mathematical Introduction to Machine Learning

Environment Setup

conda create -n grokking python=3.9
conda activate grokking
[Conda] conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
[Pip] pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
(Alternatively, install a different version of PyTorch according to your settings.)
pip install tqdm matplotlib einops

Training

Change the hyper-parameters as you like.

python grok/training.py --training_fraction 0.5 --max_steps 100000

Subtask Reproduction

python scripts/Subtask_x.py

About

Final project of Mathematical Introduction to Machine Learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%