Instructions to use QuantFactory/raspberry-3B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/raspberry-3B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/raspberry-3B-GGUF", dtype="auto") - llama-cpp-python
How to use QuantFactory/raspberry-3B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/raspberry-3B-GGUF", filename="raspberry-3B.Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use QuantFactory/raspberry-3B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/raspberry-3B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/raspberry-3B-GGUF with Ollama:
ollama run hf.co/QuantFactory/raspberry-3B-GGUF:Q4_K_M
- Unsloth Studio new
How to use QuantFactory/raspberry-3B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/raspberry-3B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/raspberry-3B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuantFactory/raspberry-3B-GGUF to start chatting
- Pi new
How to use QuantFactory/raspberry-3B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "QuantFactory/raspberry-3B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use QuantFactory/raspberry-3B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf QuantFactory/raspberry-3B-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default QuantFactory/raspberry-3B-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use QuantFactory/raspberry-3B-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/raspberry-3B-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/raspberry-3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/raspberry-3B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.raspberry-3B-GGUF-Q4_K_M
List all available models
lemonade list
Improve language tag
#1
by lbourdois - opened
README.md
CHANGED
|
@@ -1,42 +1,53 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: other
|
| 4 |
+
license_name: qwen-research
|
| 5 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-3B-Instruct/blob/main/LICENSE
|
| 6 |
+
base_model: Qwen/Qwen2.5-3B
|
| 7 |
+
tags:
|
| 8 |
+
- generated_from_trainer
|
| 9 |
+
language:
|
| 10 |
+
- zho
|
| 11 |
+
- eng
|
| 12 |
+
- fra
|
| 13 |
+
- spa
|
| 14 |
+
- por
|
| 15 |
+
- deu
|
| 16 |
+
- ita
|
| 17 |
+
- rus
|
| 18 |
+
- jpn
|
| 19 |
+
- kor
|
| 20 |
+
- vie
|
| 21 |
+
- tha
|
| 22 |
+
- ara
|
| 23 |
+
model-index:
|
| 24 |
+
- name: outputs/gelato-3b
|
| 25 |
+
results: []
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
[](https://hf.co/QuantFactory)
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
# QuantFactory/raspberry-3B-GGUF
|
| 32 |
+
This is quantized version of [qnguyen3/raspberry-3B](https://huggingface.co/qnguyen3/raspberry-3B) created using llama.cpp
|
| 33 |
+
|
| 34 |
+
# Original Model Card
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 38 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 39 |
+
|
| 40 |
+
Prompt Format: **ChatML**
|
| 41 |
+
|
| 42 |
+
Trained Datasets:
|
| 43 |
+
- [arcee-ai/EvolKit-20k](https://huggingface.co/datasets/arcee-ai/EvolKit-20k)
|
| 44 |
+
- [LDJnr/Capybara](https://huggingface.co/datasets/LDJnr/Capybara)
|
| 45 |
+
- and a private dataset
|
| 46 |
+
|
| 47 |
+
GGUFs: https://huggingface.co/mradermacher/raspberry-3B-GGUF
|
| 48 |
+
|
| 49 |
+

|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
|
| 53 |
+
|