Instructions to use Parallax-LM/gpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Parallax-LM/gpt2 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Parallax-LM/gpt2 # Run inference directly in the terminal: llama cli -hf Parallax-LM/gpt2
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Parallax-LM/gpt2 # Run inference directly in the terminal: llama cli -hf Parallax-LM/gpt2
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Parallax-LM/gpt2 # Run inference directly in the terminal: ./llama-cli -hf Parallax-LM/gpt2
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Parallax-LM/gpt2 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Parallax-LM/gpt2
Use Docker
docker model run hf.co/Parallax-LM/gpt2
- LM Studio
- Jan
- Ollama
How to use Parallax-LM/gpt2 with Ollama:
ollama run hf.co/Parallax-LM/gpt2
- Unsloth Desktop
- Docker Model Runner
How to use Parallax-LM/gpt2 with Docker Model Runner:
docker model run hf.co/Parallax-LM/gpt2
- Lemonade
How to use Parallax-LM/gpt2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Parallax-LM/gpt2
Run and chat with the model
lemonade run user.gpt2-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download pytorch_model.bin from Parallax-LM/gpt2: direct link, hf CLI and curl.
- Browser
- Download file 548 MB
-
https://huggingface.co/Parallax-LM/gpt2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Parallax-LM/gpt2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Parallax-LM/gpt2/resolve/main/pytorch_model.bin
548 MB
- Xet hash:
- b9c10bd14504bd9b2be86d9c82d0bf0b17f25d99f2249bd0aee186365c297b75
- Size of remote file:
- 548 MB
- SHA256:
- 7c5d3f4b8b76583b422fcb9189ad6c89d5d97a094541ce8932dce3ecabde1421
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.