Instructions to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf", filename="featherless-ai_Qwerky-QwQ-32B-BF16-00001-of-00002.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf LatentWanderer/featherless-ai_Qwerky-QwQ-32B-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 LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf LatentWanderer/featherless-ai_Qwerky-QwQ-32B-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 LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf LatentWanderer/featherless-ai_Qwerky-QwQ-32B-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 LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M
Use Docker
docker model run hf.co/LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M
- Ollama
How to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf with Ollama:
ollama run hf.co/LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M
- Unsloth Studio
How to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-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 LatentWanderer/featherless-ai_Qwerky-QwQ-32B-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 LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf to start chatting
- Pi
How to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf LatentWanderer/featherless-ai_Qwerky-QwQ-32B-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": "LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-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 LatentWanderer/featherless-ai_Qwerky-QwQ-32B-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 LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf with Docker Model Runner:
docker model run hf.co/LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M
- Lemonade
How to use LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf:Q4_K_M
Run and chat with the model
lemonade run user.featherless-ai_Qwerky-QwQ-32B-gguf-Q4_K_M
List all available models
lemonade list
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 LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf to start chattingUsing HuggingFace Spaces for Unsloth
# No setup required# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf to start chattingGGUF of featherless-ai/Qwerky-QwQ-32B
Created using llama.cpp b5013 with required fixes merged.
All quants made using imatrix option with dataset from here. The imatrix is included.
The model is only trained with 8k context, expect degraded performance past that.
Benchmarks is as follows for both Qwerky-QwQ-32B and Qwerky-72B models:
| Tasks | Metric | Qwerky-QwQ-32B | Qwen/QwQ-32B | Qwerky-72B | Qwen2.5-72B-Instruct |
|---|---|---|---|---|---|
| arc_challenge | acc_norm | 0.5640 | 0.5563 | 0.6382 | 0.6323 |
| arc_easy | acc_norm | 0.7837 | 0.7866 | 0.8443 | 0.8329 |
| hellaswag | acc_norm | 0.8303 | 0.8407 | 0.8573 | 0.8736 |
| lambada_openai | acc | 0.6621 | 0.6683 | 0.7539 | 0.7506 |
| piqa | acc | 0.8036 | 0.7976 | 0.8248 | 0.8357 |
| sciq | acc | 0.9630 | 0.9630 | 0.9670 | 0.9740 |
| winogrande | acc | 0.7324 | 0.7048 | 0.7956 | 0.7632 |
| mmlu | acc | 0.7431 | 0.7985 | 0.7746 | 0.8338 |
Note: All benchmarks except MMLU are 0-shot and Version 1. For MMLU, it's Version 2.
Running with transformers
Since this model is not on transformers at the moment you will have to enable remote code with the following line.
# ...
model = AutoModelForCausalLM.from_pretrained("featherless-ai/Qwerky-QwQ-32B", trust_remote_code=True)
# ...
Other than enabling remote code, you may run the model like a regular model with transformers like so.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "featherless-ai/Qwerky-72B"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto",
trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = """There is a very famous song that I recall by the singer's surname as Astley.
I can't remember the name or the youtube URL that people use to link as an example url.
What's song name?"""
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": prompt},
]
text = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(**model_inputs, max_new_tokens=512)
generated_ids = [
output_ids[len(input_ids) :]
for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
Model notes
Linear models offer a promising approach to significantly reduce computational costs at scale, particularly for large context lengths. Enabling a >1000x improvement in inference costs, enabling o1 inference time thinking and wider AI accessibility.
As demonstrated with our Qwerky-72B-Preview and prior models such as QRWKV6-32B Instruct Preview, we have successfully converted Qwen 2.5 QwQ 32B into a RWKV variant without requiring a pretrain on the base model or retraining the model from scratch. Enabling us to test and validate the more efficient RWKV Linear attention with a much smaller budget. Since our preview, we have continued to refine our technique and managed to improve the model over the preview model iteration.
As with our previous models, the model's inherent knowledge and dataset training are inherited from its "parent" model. Consequently, unlike previous RWKV models trained on over 100+ languages, the QRWKV model is limited to approximately 30 languages supported by the Qwen line of models.
You may find our details of the process from our previous release, here.
- Downloads last month
- 84
1-bit
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf
Base model
featherless-ai/QRWKV-QwQ-32B
Install Unsloth Studio (macOS, Linux, WSL)
# Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for LatentWanderer/featherless-ai_Qwerky-QwQ-32B-gguf to start chatting