Transformers
GGUF
English
text-generation-inference
unsloth
gemma3n
llama-cpp
gguf-my-repo
conversational
Instructions to use chimbiwide/Gemma3NPC-it-beta-Q4-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chimbiwide/Gemma3NPC-it-beta-Q4-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("chimbiwide/Gemma3NPC-it-beta-Q4-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use chimbiwide/Gemma3NPC-it-beta-Q4-GGUF 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 chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf chimbiwide/Gemma3NPC-it-beta-Q4-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 chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf chimbiwide/Gemma3NPC-it-beta-Q4-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 chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M
Use Docker
docker model run hf.co/chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use chimbiwide/Gemma3NPC-it-beta-Q4-GGUF with Ollama:
ollama run hf.co/chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use chimbiwide/Gemma3NPC-it-beta-Q4-GGUF with Docker Model Runner:
docker model run hf.co/chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M
- Lemonade
How to use chimbiwide/Gemma3NPC-it-beta-Q4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull chimbiwide/Gemma3NPC-it-beta-Q4-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Gemma3NPC-it-beta-Q4-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,48 +10,36 @@ tags:
|
|
| 10 |
license: apache-2.0
|
| 11 |
language:
|
| 12 |
- en
|
|
|
|
|
|
|
| 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 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
|
| 46 |
-
```
|
| 47 |
-
cd llama.cpp && LLAMA_CURL=1 make
|
| 48 |
-
```
|
| 49 |
-
|
| 50 |
-
Step 3: Run inference through the main binary.
|
| 51 |
-
```
|
| 52 |
-
./llama-cli --hf-repo chimbiwide/gemma-3NPC-it-beta-Q4_K_M-GGUF --hf-file gemma-3npc-it-beta-q4_k_m.gguf -p "The meaning to life and the universe is"
|
| 53 |
-
```
|
| 54 |
-
or
|
| 55 |
-
```
|
| 56 |
-
./llama-server --hf-repo chimbiwide/gemma-3NPC-it-beta-Q4_K_M-GGUF --hf-file gemma-3npc-it-beta-q4_k_m.gguf -c 2048
|
| 57 |
-
```
|
|
|
|
| 10 |
license: apache-2.0
|
| 11 |
language:
|
| 12 |
- en
|
| 13 |
+
datasets:
|
| 14 |
+
- chimbiwide/RolePlay-NPC
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# Gemma3NPC-it-beta
|
| 18 |
+
|
| 19 |
+
#### A test model with less convervative training parameters
|
| 20 |
+
|
| 21 |
+
The Q4_K_M quantized version of `Gemma3NPC-it-beta-Float16`.
|
| 22 |
+
|
| 23 |
+
As mentioned in our [original article](https://huggingface.co/blog/chimbiwide/gemma3npc), we employed a very conservative training parameters for Gemma3NPC
|
| 24 |
+
|
| 25 |
+
Ever since then, we have always wanted to test the performance of the model when we make the training parameters less conservative.
|
| 26 |
+
|
| 27 |
+
So we present ***Gemma3NPC-it-beta***.
|
| 28 |
+
|
| 29 |
+
Check out our training notebook [here](https://github.com/chimbiwide/Gemma3NPC/blob/main/Training/Gemma3NPC_Instruct_Beta.ipynb)
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
#### Training parameters compared to `Gemma3NPC-it`
|
| 34 |
+
|
| 35 |
+
| Parameter | Gemma3NPC-it | Gemma3NPC-it-beta |
|
| 36 |
+
| --- | --- | --- |
|
| 37 |
+
| Learning Rate | 2e-5 | 2.5e-5 (+25%) |
|
| 38 |
+
| Warmup Steps | 800 | 100 |
|
| 39 |
+
| gradient clipping | 0.4 | 1.0 |
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
Here is a graph of the Step Training Loss, saved every 10 steps:
|
| 44 |
+
|
| 45 |
+

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|