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 flax_model.msgpack from Parallax-LM/gpt2: direct link, hf CLI and curl.
- Browser
- Download file 498 MB
-
https://huggingface.co/Parallax-LM/gpt2/resolve/main/flax_model.msgpack
- Command line
-
hf download hf://Parallax-LM/gpt2/flax_model.msgpack
-
curl -L -o flax_model.msgpack https://huggingface.co/Parallax-LM/gpt2/resolve/main/flax_model.msgpack
498 MB
- Xet hash:
- 69c63f2016b266e053e058bebde177d06f5282afc0ca8bf3683b806869a36a59
- Size of remote file:
- 498 MB
- SHA256:
- 192e8257ae9e8f796f764630f4a488a6a16d1461762d62b49ef7405df951a283
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.