Run this model with HF Jobs
Run PrunaAI/gpt2-GGUF-smashed on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/PrunaAI/gpt2-GGUF-smashed. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/PrunaAI/gpt2-GGUF-smashed on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use PrunaAI/gpt2-GGUF-smashed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Pruna AI
How to use PrunaAI/gpt2-GGUF-smashed with Pruna AI:
from pruna import PrunaModel model = PrunaModel.from_pretrained("PrunaAI/gpt2-GGUF-smashed") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use PrunaAI/gpt2-GGUF-smashed 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 PrunaAI/gpt2-GGUF-smashed:Q4_K_M # Run inference directly in the terminal: llama cli -hf PrunaAI/gpt2-GGUF-smashed:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf PrunaAI/gpt2-GGUF-smashed:Q4_K_M # Run inference directly in the terminal: llama cli -hf PrunaAI/gpt2-GGUF-smashed:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf PrunaAI/gpt2-GGUF-smashed:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf PrunaAI/gpt2-GGUF-smashed:Q4_K_M
Use Docker
docker model run hf.co/PrunaAI/gpt2-GGUF-smashed:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use PrunaAI/gpt2-GGUF-smashed with Ollama:
ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use PrunaAI/gpt2-GGUF-smashed with Docker Model Runner:
docker model run hf.co/PrunaAI/gpt2-GGUF-smashed:Q4_K_M
- Lemonade
How to use PrunaAI/gpt2-GGUF-smashed with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull PrunaAI/gpt2-GGUF-smashed:Q4_K_M
Run and chat with the model
lemonade run user.gpt2-GGUF-smashed-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload gpt2.Q4_1.gguf with huggingface_hub
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:a491691a991859d1fbec6aa9479547c90156d17de8bec45293cf8ce093bd693asize 112702752123version https://git-lfs.github.com/spec/v1oid sha256:1718351cc871c74bcb74f86ebc544cbdf5403538150e715633bea64e9a1d0ef7size 114275840
gpt2.Q4_1.gguf+2-2