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
Add CTA to model card
Browse files12345213 unmodified lines219220221222---thumbnail: "https://assets-global.website-files.com/646b351987a8d8ce158d1940/64ec9e96b4334c0e1ac41504_Logo%20with%20white%20text.svg"base_model: gpt2metrics:- memory_disk213 unmodified lines## Want to compress other models?- Contact us and tell us which model to compress next [here](https://www.pruna.ai/contact).- Request access to easily compress your own AI models [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).12345213 unmodified lines219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255---thumbnail: https://assets-global.website-files.com/646b351987a8d8ce158d1940/64ec9e96b4334c0e1ac41504_Logo%20with%20white%20text.svgbase_model: gpt2metrics:- memory_disk213 unmodified lines## Want to compress other models?- Contact us and tell us which model to compress next [here](https://www.pruna.ai/contact).- Request access to easily compress your own AI models [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).## ✨ Test our endpointsWant to use our optimized models right away? Try them via our API for fast, easy access to Pruna-powered inference.<style>.model-button {display: inline-flex;flex-direction: row;justify-content: center;align-items: center;gap: 8px;padding: 8px 20px;border: none;border-radius: 8px;background: #9334e9;color: #ffffff;font-size: 14px;font-weight: 400;line-height: 1;text-decoration: none;white-space: nowrap;cursor: pointer;box-sizing: border-box;overflow: visible;opacity: 1;}</style><a href="https://dashboard.pruna.ai/login?utm_source=huggingface&utm_medium=org_card&utm_campaign=hf_traffic" class="model-button">Try our models</a>
README.md+35-2