Freecodecamp GPT from scratch

From Federal Burro of Information
Revision as of 03:06, 6 October 2023 by David (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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())"