Freecodecamp GPT from scratch

From Federal Burro of Information
Jump to navigationJump to search

reference:

https://www.youtube.com/watch?v=UU1WVnMk4E8&t=307s

cd
cd work
mkdir fcc-gpt-course
cd fcc-gpt-course
python -m venv cuda
cuda/bin/activate
pip install matplotlib numpy pylzma ipykernel jupyter
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
python -c "import torch; print(torch.rand(2,3).cuda())"