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
Update additional links
Browse files218 unmodified lines219220221222223224225226218 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.218 unmodified lines219220221222223224225226227218 unmodified lines## Want to compress other models?- Compress your own models with [Pruna](https://github.com/PrunaAI/pruna) and give us a ⭐️ to bring you many more algos!- Read the documentation to know more [here](https://docs.pruna.ai/)- Stay up to date with the latest AI efficiency research on our [blog](https://www.pruna.ai/blog/), explore our [materials collection](https://github.com/PrunaAI/awesome-ai-efficiency), or dive into our [courses](https://github.com/PrunaAI/courses).## ✨ Test our endpointsWant to use our optimized models right away? Try them via our API for fast, easy access to Pruna-powered inference.
README.md+3-2