Instructions to use quantilimited/Paragraph-Novel 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 quantilimited/Paragraph-Novel 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 quantilimited/Paragraph-Novel:F16 # Run inference directly in the terminal: llama cli -hf quantilimited/Paragraph-Novel:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf quantilimited/Paragraph-Novel:F16 # Run inference directly in the terminal: llama cli -hf quantilimited/Paragraph-Novel:F16
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 quantilimited/Paragraph-Novel:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf quantilimited/Paragraph-Novel:F16
Use Docker
docker model run hf.co/quantilimited/Paragraph-Novel:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use quantilimited/Paragraph-Novel with Ollama:
ollama run hf.co/quantilimited/Paragraph-Novel:F16
- Unsloth Desktop
- Pi
How to use quantilimited/Paragraph-Novel with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf quantilimited/Paragraph-Novel:F16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "quantilimited/Paragraph-Novel:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use quantilimited/Paragraph-Novel with Docker Model Runner:
docker model run hf.co/quantilimited/Paragraph-Novel:F16
- Lemonade
How to use quantilimited/Paragraph-Novel with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull quantilimited/Paragraph-Novel:F16
Run and chat with the model
lemonade run user.Paragraph-Novel-F16
List all available models
lemonade list
- Hermes Agent
How to use quantilimited/Paragraph-Novel with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf quantilimited/Paragraph-Novel:F16
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:9931/v1 hermes config set model.default quantilimited/Paragraph-Novel:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use quantilimited/Paragraph-Novel with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf quantilimited/Paragraph-Novel:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "quantilimited/Paragraph-Novel:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- .gitattributes +2 -0
- Modelfile +15 -0
- README.md +29 -2
- config.json +199 -0
- gemma-4-12b-it.F16-mmproj.gguf +3 -0
- gemma-4-12b-it.Q4_K_M.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
gemma-4-12b-it.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
gemma-4-12b-it.F16-mmproj.gguf filter=lfs diff=lfs merge=lfs -text
|
Modelfile
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
FROM .
|
| 3 |
+
TEMPLATE """{{- range $i, $_ := .Messages }}
|
| 4 |
+
{{- $last := eq (len (slice $.Messages $i)) 1 }}
|
| 5 |
+
{{- if eq .Role "assistant" }}<|turn>model
|
| 6 |
+
<|channel>thought
|
| 7 |
+
<channel|>{{ .Content }}{{ if not $last }}<turn|>
|
| 8 |
+
{{ end }}
|
| 9 |
+
{{- else }}<|turn>{{ .Role }}
|
| 10 |
+
{{ .Content }}<turn|>
|
| 11 |
+
{{ if $last }}<|turn>model
|
| 12 |
+
<|channel>thought
|
| 13 |
+
<channel|>{{ end }}
|
| 14 |
+
{{- end }}
|
| 15 |
+
{{- end }}"""
|
README.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
tags:
|
| 3 |
+
- "gguf"
|
| 4 |
+
- "llama.cpp"
|
| 5 |
+
- "llama-cpp"
|
| 6 |
+
- "unsloth"
|
| 7 |
+
- "vision-language-model"
|
| 8 |
---
|
| 9 |
+
|
| 10 |
+
# Paragraph-Novel : GGUF
|
| 11 |
+
|
| 12 |
+
This model was finetuned and converted to GGUF format using [Unsloth](https://github.com/unslothai/unsloth).
|
| 13 |
+
|
| 14 |
+
**Example usage**:
|
| 15 |
+
- For text only LLMs: `llama-cli -hf quantilimited/Paragraph-Novel --jinja`
|
| 16 |
+
- For multimodal models: `llama-mtmd-cli -hf quantilimited/Paragraph-Novel --jinja`
|
| 17 |
+
|
| 18 |
+
## Available Model files:
|
| 19 |
+
- `gemma-4-12b-it.Q4_K_M.gguf`
|
| 20 |
+
- `gemma-4-12b-it.F16-mmproj.gguf`
|
| 21 |
+
|
| 22 |
+
## ⚠️ Ollama Note for Vision Models
|
| 23 |
+
**Important:** Ollama currently does not support separate mmproj files for vision models.
|
| 24 |
+
|
| 25 |
+
To create an Ollama model from this vision model:
|
| 26 |
+
1. Place the `Modelfile` in the same directory as the finetuned bf16 merged model
|
| 27 |
+
3. Run: `ollama create model_name -f ./Modelfile`
|
| 28 |
+
(Replace `model_name` with your desired name)
|
| 29 |
+
|
| 30 |
+
This will create a unified bf16 model that Ollama can use.
|
| 31 |
+
This was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth)
|
| 32 |
+
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
config.json
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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name_or_path": "",
|
| 7 |
+
"architectures": null,
|
| 8 |
+
"audio_embed_dim": 640,
|
| 9 |
+
"chunk_size_feed_forward": 0,
|
| 10 |
+
"torch_dtype": null,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "LABEL_0",
|
| 13 |
+
"1": "LABEL_1"
|
| 14 |
+
},
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"is_encoder_decoder": false,
|
| 17 |
+
"label2id": {
|
| 18 |
+
"LABEL_0": 0,
|
| 19 |
+
"LABEL_1": 1
|
| 20 |
+
},
|
| 21 |
+
"model_type": "gemma4_unified_audio",
|
| 22 |
+
"output_attentions": false,
|
| 23 |
+
"output_hidden_states": false,
|
| 24 |
+
"problem_type": null,
|
| 25 |
+
"return_dict": true,
|
| 26 |
+
"rms_norm_eps": 1e-06
|
| 27 |
+
},
|
| 28 |
+
"audio_token_id": 258881,
|
| 29 |
+
"boa_token_id": 256000,
|
| 30 |
+
"boi_token_id": 255999,
|
| 31 |
+
"torch_dtype": "bfloat16",
|
| 32 |
+
"eoa_token_index": 258883,
|
| 33 |
+
"eoi_token_id": 258882,
|
| 34 |
+
"eos_token_id": 106,
|
| 35 |
+
"image_token_id": 258880,
|
| 36 |
+
"initializer_range": 0.02,
|
| 37 |
+
"model_type": "gemma4_unified",
|
| 38 |
+
"pad_token_id": 0,
|
| 39 |
+
"text_config": {
|
| 40 |
+
"attention_bias": false,
|
| 41 |
+
"attention_dropout": 0.0,
|
| 42 |
+
"attention_k_eq_v": true,
|
| 43 |
+
"bos_token_id": 2,
|
| 44 |
+
"enable_moe_block": false,
|
| 45 |
+
"eos_token_id": 1,
|
| 46 |
+
"final_logit_softcapping": 30.0,
|
| 47 |
+
"head_dim": 256,
|
| 48 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 49 |
+
"hidden_size": 3840,
|
| 50 |
+
"hidden_size_per_layer_input": 0,
|
| 51 |
+
"initializer_range": 0.02,
|
| 52 |
+
"intermediate_size": 15360,
|
| 53 |
+
"layer_types": [
|
| 54 |
+
"sliding_attention",
|
| 55 |
+
"sliding_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"sliding_attention",
|
| 58 |
+
"sliding_attention",
|
| 59 |
+
"full_attention",
|
| 60 |
+
"sliding_attention",
|
| 61 |
+
"sliding_attention",
|
| 62 |
+
"sliding_attention",
|
| 63 |
+
"sliding_attention",
|
| 64 |
+
"sliding_attention",
|
| 65 |
+
"full_attention",
|
| 66 |
+
"sliding_attention",
|
| 67 |
+
"sliding_attention",
|
| 68 |
+
"sliding_attention",
|
| 69 |
+
"sliding_attention",
|
| 70 |
+
"sliding_attention",
|
| 71 |
+
"full_attention",
|
| 72 |
+
"sliding_attention",
|
| 73 |
+
"sliding_attention",
|
| 74 |
+
"sliding_attention",
|
| 75 |
+
"sliding_attention",
|
| 76 |
+
"sliding_attention",
|
| 77 |
+
"full_attention",
|
| 78 |
+
"sliding_attention",
|
| 79 |
+
"sliding_attention",
|
| 80 |
+
"sliding_attention",
|
| 81 |
+
"sliding_attention",
|
| 82 |
+
"sliding_attention",
|
| 83 |
+
"full_attention",
|
| 84 |
+
"sliding_attention",
|
| 85 |
+
"sliding_attention",
|
| 86 |
+
"sliding_attention",
|
| 87 |
+
"sliding_attention",
|
| 88 |
+
"sliding_attention",
|
| 89 |
+
"full_attention",
|
| 90 |
+
"sliding_attention",
|
| 91 |
+
"sliding_attention",
|
| 92 |
+
"sliding_attention",
|
| 93 |
+
"sliding_attention",
|
| 94 |
+
"sliding_attention",
|
| 95 |
+
"full_attention",
|
| 96 |
+
"sliding_attention",
|
| 97 |
+
"sliding_attention",
|
| 98 |
+
"sliding_attention",
|
| 99 |
+
"sliding_attention",
|
| 100 |
+
"sliding_attention",
|
| 101 |
+
"full_attention"
|
| 102 |
+
],
|
| 103 |
+
"max_position_embeddings": 262144,
|
| 104 |
+
"model_type": "gemma4_unified_text",
|
| 105 |
+
"moe_intermediate_size": null,
|
| 106 |
+
"num_attention_heads": 16,
|
| 107 |
+
"num_experts": null,
|
| 108 |
+
"num_hidden_layers": 48,
|
| 109 |
+
"num_key_value_heads": 8,
|
| 110 |
+
"num_kv_shared_layers": 0,
|
| 111 |
+
"pad_token_id": 0,
|
| 112 |
+
"per_layer_config": {
|
| 113 |
+
"05": {
|
| 114 |
+
"head_dim": 512,
|
| 115 |
+
"num_key_value_heads": 1
|
| 116 |
+
},
|
| 117 |
+
"11": {
|
| 118 |
+
"head_dim": 512,
|
| 119 |
+
"num_key_value_heads": 1
|
| 120 |
+
},
|
| 121 |
+
"17": {
|
| 122 |
+
"head_dim": 512,
|
| 123 |
+
"num_key_value_heads": 1
|
| 124 |
+
},
|
| 125 |
+
"23": {
|
| 126 |
+
"head_dim": 512,
|
| 127 |
+
"num_key_value_heads": 1
|
| 128 |
+
},
|
| 129 |
+
"29": {
|
| 130 |
+
"head_dim": 512,
|
| 131 |
+
"num_key_value_heads": 1
|
| 132 |
+
},
|
| 133 |
+
"35": {
|
| 134 |
+
"head_dim": 512,
|
| 135 |
+
"num_key_value_heads": 1
|
| 136 |
+
},
|
| 137 |
+
"41": {
|
| 138 |
+
"head_dim": 512,
|
| 139 |
+
"num_key_value_heads": 1
|
| 140 |
+
},
|
| 141 |
+
"47": {
|
| 142 |
+
"head_dim": 512,
|
| 143 |
+
"num_key_value_heads": 1
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
"rms_norm_eps": 1e-06,
|
| 147 |
+
"rope_parameters": {
|
| 148 |
+
"full_attention": {
|
| 149 |
+
"partial_rotary_factor": 0.25,
|
| 150 |
+
"rope_theta": 1000000.0,
|
| 151 |
+
"rope_type": "proportional"
|
| 152 |
+
},
|
| 153 |
+
"sliding_attention": {
|
| 154 |
+
"rope_theta": 10000.0,
|
| 155 |
+
"rope_type": "default"
|
| 156 |
+
}
|
| 157 |
+
},
|
| 158 |
+
"sliding_window": 1024,
|
| 159 |
+
"tie_word_embeddings": true,
|
| 160 |
+
"top_k_experts": null,
|
| 161 |
+
"use_bidirectional_attention": "vision",
|
| 162 |
+
"use_cache": true,
|
| 163 |
+
"use_double_wide_mlp": false,
|
| 164 |
+
"vocab_size": 262144,
|
| 165 |
+
"vocab_size_per_layer_input": 262144
|
| 166 |
+
},
|
| 167 |
+
"tie_word_embeddings": true,
|
| 168 |
+
"transformers_version": "5.17.0",
|
| 169 |
+
"unsloth_fixed": true,
|
| 170 |
+
"video_token_id": 258884,
|
| 171 |
+
"vision_config": {
|
| 172 |
+
"_name_or_path": "",
|
| 173 |
+
"architectures": null,
|
| 174 |
+
"chunk_size_feed_forward": 0,
|
| 175 |
+
"torch_dtype": null,
|
| 176 |
+
"id2label": {
|
| 177 |
+
"0": "LABEL_0",
|
| 178 |
+
"1": "LABEL_1"
|
| 179 |
+
},
|
| 180 |
+
"initializer_range": 0.02,
|
| 181 |
+
"is_encoder_decoder": false,
|
| 182 |
+
"label2id": {
|
| 183 |
+
"LABEL_0": 0,
|
| 184 |
+
"LABEL_1": 1
|
| 185 |
+
},
|
| 186 |
+
"mm_embed_dim": 3840,
|
| 187 |
+
"mm_posemb_size": 1120,
|
| 188 |
+
"model_type": "gemma4_unified_vision",
|
| 189 |
+
"num_soft_tokens": 280,
|
| 190 |
+
"output_attentions": false,
|
| 191 |
+
"output_hidden_states": false,
|
| 192 |
+
"output_proj_dims": 3840,
|
| 193 |
+
"patch_size": 16,
|
| 194 |
+
"pooling_kernel_size": 3,
|
| 195 |
+
"problem_type": null,
|
| 196 |
+
"return_dict": true,
|
| 197 |
+
"rms_norm_eps": 1e-06
|
| 198 |
+
}
|
| 199 |
+
}
|
gemma-4-12b-it.F16-mmproj.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5950b1393cba093c3be656ab4cd52d55f5b43be0dbd3a8a8bd21893298200f57
|
| 3 |
+
size 122031232
|
gemma-4-12b-it.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46bf41f643b332806cc8a5957801e652b28c003acf71a34706a3e7b82ad41220
|
| 3 |
+
size 7381380160
|