How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="MetaphoricalCode/Yanfei-v2-Qwen3-32B-exl3-8bpw-hb8")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("MetaphoricalCode/Yanfei-v2-Qwen3-32B-exl3-8bpw-hb8")
model = AutoModelForCausalLM.from_pretrained("MetaphoricalCode/Yanfei-v2-Qwen3-32B-exl3-8bpw-hb8", device_map="auto")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Quantized using the default exllamav3 (0.0.3) quantization process.


image/png

Yanfei-v2-Qwen3-32B

A repair of Yanfei-Qwen-32B by TIES merging huihui-ai/Qwen3-32B-abliterated, Zhiming-Qwen3-32B, and Menghua-Qwen3-32B using mergekit.

Sponsorship

This model was made possible with compute support from Nectar AI. Thank you! ❤️

Configuration

The following YAML configuration was used to produce this model:

models:
  - model: ./Zhiming-Qwen3-32B-merged
    parameters:
      weight: 1
      density: 1
  - model: ./Menghua-Qwen3-32B-merged
    parameters:
      weight: 1
      density: 1
  - model: huihui-ai/Qwen3-32B-abliterated
    parameters:
      weight: 1
      density: 1
merge_method: ties
base_model: nbeerbower/Yanfei-Qwen3-32B
parameters:
  weight: 1
  density: 1
  normalize: true
  int8_mask: true
dtype: bfloat16

Downloads last month
7
Safetensors
Model size
17B params
Tensor type
F16
·
I16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for MetaphoricalCode/Yanfei-v2-Qwen3-32B-exl3-8bpw-hb8

Quantized
(7)
this model

Dataset used to train MetaphoricalCode/Yanfei-v2-Qwen3-32B-exl3-8bpw-hb8

Paper for MetaphoricalCode/Yanfei-v2-Qwen3-32B-exl3-8bpw-hb8