Instructions to use f3nc3r/Qwable-9B-Claude-Fable-5-NPU2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use f3nc3r/Qwable-9B-Claude-Fable-5-NPU2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="f3nc3r/Qwable-9B-Claude-Fable-5-NPU2") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("f3nc3r/Qwable-9B-Claude-Fable-5-NPU2") model = AutoModelForMultimodalLM.from_pretrained("f3nc3r/Qwable-9B-Claude-Fable-5-NPU2", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use f3nc3r/Qwable-9B-Claude-Fable-5-NPU2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "f3nc3r/Qwable-9B-Claude-Fable-5-NPU2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "f3nc3r/Qwable-9B-Claude-Fable-5-NPU2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/f3nc3r/Qwable-9B-Claude-Fable-5-NPU2
- SGLang
How to use f3nc3r/Qwable-9B-Claude-Fable-5-NPU2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "f3nc3r/Qwable-9B-Claude-Fable-5-NPU2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "f3nc3r/Qwable-9B-Claude-Fable-5-NPU2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "f3nc3r/Qwable-9B-Claude-Fable-5-NPU2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "f3nc3r/Qwable-9B-Claude-Fable-5-NPU2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use f3nc3r/Qwable-9B-Claude-Fable-5-NPU2 with Docker Model Runner:
docker model run hf.co/f3nc3r/Qwable-9B-Claude-Fable-5-NPU2
Add quantization tag and clarify Q4NX quantized model conversion
Browse files
README.md
CHANGED
|
@@ -7,21 +7,21 @@ tags:
|
|
| 7 |
- fastflowlm
|
| 8 |
- npu
|
| 9 |
- npu2
|
| 10 |
-
- q4nx
|
| 11 |
- amd-xdna
|
| 12 |
- lemonade
|
| 13 |
---
|
| 14 |
|
| 15 |
-
# Qwable-9B-Claude-Fable-5-NPU2 (FastFlowLM / Lemonade NPU2)
|
| 16 |
|
| 17 |
> [!IMPORTANT]
|
| 18 |
-
> **
|
| 19 |
-
> This
|
| 20 |
>
|
|
|
|
|
|
|
| 21 |
> * **Details**: Re-quantized to Q4NX format for FastFlowLM v1.0.3+ and Lemonade on AMD XDNA NPU. Fine-tuned for agentic coding and reasoning, configured with full EOS stop token sequence IDs ([248044, 248046]).
|
| 22 |
-
> * **Architecture**: Qwable 9B (Qwen3.5 9B
|
| 23 |
-
> * **Quantization**: Q4_K / Q4_1 / Q8_0 hybrid Q4NX
|
| 24 |
-
> * **Source Model**: [empero-ai/Qwable-9B-Claude-Fable-5](https://huggingface.co/empero-ai/Qwable-9B-Claude-Fable-5)
|
| 25 |
> * **Format**: `Q4NX` (safetensors format with AMD NPU block packing). Note that this is **not** a standard GGUF file; it is executed natively via `flm` / Lemonade on AMD Ryzen AI NPUs.
|
| 26 |
|
| 27 |
---
|
|
|
|
| 7 |
- fastflowlm
|
| 8 |
- npu
|
| 9 |
- npu2
|
|
|
|
| 10 |
- amd-xdna
|
| 11 |
- lemonade
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Qwable-9B-Claude-Fable-5-NPU2 (FastFlowLM / Lemonade NPU2 Quantization)
|
| 15 |
|
| 16 |
> [!IMPORTANT]
|
| 17 |
+
> **Quantization & NPU Compatibility Note:**
|
| 18 |
+
> This repository contains **Q4NX quantized weights** converted from [empero-ai/Qwable-9B-Claude-Fable-5](https://huggingface.co/empero-ai/Qwable-9B-Claude-Fable-5) to run natively on **FastFlowLM (`flm`) v1.0.3+** and **Lemonade** on AMD XDNA NPU hardware.
|
| 19 |
>
|
| 20 |
+
> * **Model Type**: Quantized model conversion (NPU Q4NX format)
|
| 21 |
+
> * **Parent / Base Model**: [empero-ai/Qwable-9B-Claude-Fable-5](https://huggingface.co/empero-ai/Qwable-9B-Claude-Fable-5)
|
| 22 |
> * **Details**: Re-quantized to Q4NX format for FastFlowLM v1.0.3+ and Lemonade on AMD XDNA NPU. Fine-tuned for agentic coding and reasoning, configured with full EOS stop token sequence IDs ([248044, 248046]).
|
| 23 |
+
> * **Architecture**: Qwable 9B (Qwen3.5 9B architecture)
|
| 24 |
+
> * **Quantization Format**: Q4_K / Q4_1 / Q8_0 hybrid Q4NX
|
|
|
|
| 25 |
> * **Format**: `Q4NX` (safetensors format with AMD NPU block packing). Note that this is **not** a standard GGUF file; it is executed natively via `flm` / Lemonade on AMD Ryzen AI NPUs.
|
| 26 |
|
| 27 |
---
|