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.Q5_1.gguf with huggingface_hub
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:74ff4c6fafbb238d6a2b3b38f4d7f1568b077450e25f8cc4f94da8a53a6e0149size 128144256123version https://git-lfs.github.com/spec/v1oid sha256:a68b9e22a30bb55625e8b1ccecac09999342d17ffc5b7b62ae7708b67c5f77dfsize 129717344
gpt2.Q5_1.gguf+2-2