Spike GPT
This revision is from 2024/10/18 04:23. You can Restore it.
- git clone https://github.com/ridgerchu/SpikeGPT.git
- git clone https://huggingface.co/ridger/SpikeGPT-OpenWebText-216M
pip install -r requirements.txt
Open run.py and change CUDA to CPU if you do not have CUDA.
nano /home/x/SpikeGPT/src/utils.py
# Replace torch.tensor(out) with out.clone().detach()