Instructions to use PrunaAI/codegemma-2b-GGUF-smashed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Pruna AI
How to use PrunaAI/codegemma-2b-GGUF-smashed with Pruna AI:
from pruna import PrunaModel model = PrunaModel.from_pretrained("PrunaAI/codegemma-2b-GGUF-smashed") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use PrunaAI/codegemma-2b-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/codegemma-2b-GGUF-smashed:Q4_K_M # Run inference directly in the terminal: llama cli -hf PrunaAI/codegemma-2b-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/codegemma-2b-GGUF-smashed:Q4_K_M # Run inference directly in the terminal: llama cli -hf PrunaAI/codegemma-2b-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/codegemma-2b-GGUF-smashed:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf PrunaAI/codegemma-2b-GGUF-smashed:Q4_K_M
Use Docker
docker model run hf.co/PrunaAI/codegemma-2b-GGUF-smashed:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use PrunaAI/codegemma-2b-GGUF-smashed with Ollama:
ollama run hf.co/PrunaAI/codegemma-2b-GGUF-smashed:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use PrunaAI/codegemma-2b-GGUF-smashed with Docker Model Runner:
docker model run hf.co/PrunaAI/codegemma-2b-GGUF-smashed:Q4_K_M
- Lemonade
How to use PrunaAI/codegemma-2b-GGUF-smashed with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull PrunaAI/codegemma-2b-GGUF-smashed:Q4_K_M
Run and chat with the model
lemonade run user.codegemma-2b-GGUF-smashed-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ tags:
|
|
| 22 |
[](https://twitter.com/PrunaAI)
|
| 23 |
[](https://github.com/PrunaAI)
|
| 24 |
[](https://www.linkedin.com/company/93832878/admin/feed/posts/?feedType=following)
|
| 25 |
-
[](https://discord.gg/
|
| 26 |
|
| 27 |
# Simply make AI models cheaper, smaller, faster, and greener!
|
| 28 |
|
|
@@ -30,7 +30,7 @@ tags:
|
|
| 30 |
- Contact us and tell us which model to compress next [here](https://www.pruna.ai/contact).
|
| 31 |
- Request access to easily compress your *own* AI models [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).
|
| 32 |
- Read the documentations to know more [here](https://pruna-ai-pruna.readthedocs-hosted.com/en/latest/)
|
| 33 |
-
- Join Pruna AI community on Discord [here](https://discord.gg/
|
| 34 |
|
| 35 |
**Frequently Asked Questions**
|
| 36 |
- ***How does the compression work?*** The model is compressed with GGUF.
|
|
|
|
| 22 |
[](https://twitter.com/PrunaAI)
|
| 23 |
[](https://github.com/PrunaAI)
|
| 24 |
[](https://www.linkedin.com/company/93832878/admin/feed/posts/?feedType=following)
|
| 25 |
+
[](https://discord.gg/rskEr4BZJx)
|
| 26 |
|
| 27 |
# Simply make AI models cheaper, smaller, faster, and greener!
|
| 28 |
|
|
|
|
| 30 |
- Contact us and tell us which model to compress next [here](https://www.pruna.ai/contact).
|
| 31 |
- Request access to easily compress your *own* AI models [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).
|
| 32 |
- Read the documentations to know more [here](https://pruna-ai-pruna.readthedocs-hosted.com/en/latest/)
|
| 33 |
+
- Join Pruna AI community on Discord [here](https://discord.gg/rskEr4BZJx) to share feedback/suggestions or get help.
|
| 34 |
|
| 35 |
**Frequently Asked Questions**
|
| 36 |
- ***How does the compression work?*** The model is compressed with GGUF.
|