Instructions to use paul-stansifer/qw3-gemma2-9b-1x6e-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use paul-stansifer/qw3-gemma2-9b-1x6e-4 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 paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M # Run inference directly in the terminal: llama cli -hf paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M # Run inference directly in the terminal: llama cli -hf paul-stansifer/qw3-gemma2-9b-1x6e-4: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 paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf paul-stansifer/qw3-gemma2-9b-1x6e-4: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 paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M
Use Docker
docker model run hf.co/paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use paul-stansifer/qw3-gemma2-9b-1x6e-4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "paul-stansifer/qw3-gemma2-9b-1x6e-4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "paul-stansifer/qw3-gemma2-9b-1x6e-4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M
- Ollama
How to use paul-stansifer/qw3-gemma2-9b-1x6e-4 with Ollama:
ollama run hf.co/paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use paul-stansifer/qw3-gemma2-9b-1x6e-4 with Docker Model Runner:
docker model run hf.co/paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M
- Lemonade
How to use paul-stansifer/qw3-gemma2-9b-1x6e-4 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull paul-stansifer/qw3-gemma2-9b-1x6e-4:Q4_K_M
Run and chat with the model
lemonade run user.qw3-gemma2-9b-1x6e-4-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- adapter_config.json +50 -0
- adapter_model.safetensors +3 -0
adapter_config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "Gemma2ForCausalLM",
|
| 7 |
+
"parent_library": "transformers.models.gemma2.modeling_gemma2",
|
| 8 |
+
"unsloth_fixed": true
|
| 9 |
+
},
|
| 10 |
+
"base_model_name_or_path": "unsloth/gemma-2-9b-bnb-4bit",
|
| 11 |
+
"bias": "none",
|
| 12 |
+
"corda_config": null,
|
| 13 |
+
"ensure_weight_tying": false,
|
| 14 |
+
"eva_config": null,
|
| 15 |
+
"exclude_modules": null,
|
| 16 |
+
"fan_in_fan_out": false,
|
| 17 |
+
"inference_mode": true,
|
| 18 |
+
"init_lora_weights": true,
|
| 19 |
+
"layer_replication": null,
|
| 20 |
+
"layers_pattern": null,
|
| 21 |
+
"layers_to_transform": null,
|
| 22 |
+
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 16,
|
| 24 |
+
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0,
|
| 26 |
+
"megatron_config": null,
|
| 27 |
+
"megatron_core": "megatron.core",
|
| 28 |
+
"modules_to_save": null,
|
| 29 |
+
"peft_type": "LORA",
|
| 30 |
+
"peft_version": "0.18.1",
|
| 31 |
+
"qalora_group_size": 16,
|
| 32 |
+
"r": 16,
|
| 33 |
+
"rank_pattern": {},
|
| 34 |
+
"revision": null,
|
| 35 |
+
"target_modules": [
|
| 36 |
+
"q_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"k_proj",
|
| 40 |
+
"o_proj",
|
| 41 |
+
"down_proj",
|
| 42 |
+
"v_proj"
|
| 43 |
+
],
|
| 44 |
+
"target_parameters": null,
|
| 45 |
+
"task_type": "CAUSAL_LM",
|
| 46 |
+
"trainable_token_indices": null,
|
| 47 |
+
"use_dora": false,
|
| 48 |
+
"use_qalora": false,
|
| 49 |
+
"use_rslora": false
|
| 50 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f6776426f5528c490b35a5abda59680f4b969027e759234d98fe780c4058f3c
|
| 3 |
+
size 216151256
|