玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
LeaderboardModel1 /

gemma-4-26B-A4B-it-qat-q4_0-unquantized-uncensored-heretic-AutoRound-W4A16-RTN

HF 源站

LeaderboardModel1/gemma-4-26B-A4B-it-qat-q4_0-unquantized-uncensored-heretic-AutoRound-W4A16-RTN is an uncensored open-source model hosted on Hugging Face.

Text Generationsafetensors26Bgemma4quantizedw4a16autoroundlow-bit-open-llm-leaderboardconversational4-bitauto-round
README.md说明 / 使用方法

base_model:

  • llmfan46/gemma-4-26B-A4B-it-qat-q4_0-unquantized-uncensored-heretic pipeline_tag: text-generation tags:
  • quantized
  • w4a16
  • autoround
  • low-bit-open-llm-leaderboard

gemma-4-26B-A4B-it-qat-q4_0-unquantized-uncensored-heretic-AutoRound-W4A16-RTN

Model Details

This model is a int4 weight-only quantization with group_size 128 and symmetric quantization of llmfan46/gemma-4-26B-A4B-it-qat-q4_0-unquantized-uncensored-heretic generated by AutoRound. Please follow the license of the original model.

Quantization Details

AttributeValue
Base Modelllmfan46/gemma-4-26B-A4B-it-qat-q4_0-unquantized-uncensored-heretic
Quantization ToolAutoRound
Quantization SchemeW4A16
Quantized Size14655 MB

Evaluation Results

TaskAccuracy
hellaswag0.3486
mmlu0.5051
mmlu_abstract_algebra0.3900
mmlu_anatomy0.3926
mmlu_astronomy0.4539
mmlu_business_ethics0.5100
mmlu_clinical_knowledge0.4792
mmlu_college_biology0.5972
mmlu_college_chemistry0.4100
mmlu_college_computer_science0.6000
mmlu_college_mathematics0.3600
mmlu_college_medicine0.4451
mmlu_college_physics0.4020
mmlu_computer_security0.4600
mmlu_conceptual_physics0.4511
mmlu_econometrics0.3860
mmlu_electrical_engineering0.4069
mmlu_elementary_mathematics0.4656
mmlu_formal_logic0.4524
mmlu_global_facts0.2900
mmlu_high_school_biology0.6000
mmlu_high_school_chemistry0.4236
mmlu_high_school_computer_science0.6100
mmlu_high_school_european_history0.7576
mmlu_high_school_geography0.6515
mmlu_high_school_government_and_politics0.7668
mmlu_high_school_macroeconomics0.5179
mmlu_high_school_mathematics0.3481
mmlu_high_school_microeconomics0.6176
mmlu_high_school_physics0.4106
mmlu_high_school_psychology0.6569
mmlu_high_school_statistics0.5185
mmlu_high_school_us_history0.8088
mmlu_high_school_world_history0.7764
mmlu_human_aging0.4978
mmlu_human_sexuality0.4962
mmlu_humanities0.5209
mmlu_international_law0.6529
mmlu_jurisprudence0.4444
mmlu_logical_fallacies0.5092
mmlu_machine_learning0.5357
mmlu_management0.4078
mmlu_marketing0.4872
mmlu_medical_genetics0.5200
mmlu_miscellaneous0.3653
mmlu_moral_disputes0.4364
mmlu_moral_scenarios0.4358
mmlu_nutrition0.4869
mmlu_other0.4506
mmlu_philosophy0.4437
mmlu_prehistory0.5741
mmlu_professional_accounting0.4007
mmlu_professional_law0.4883
mmlu_professional_medicine0.6728
mmlu_professional_psychology0.5147
mmlu_public_relations0.4364
mmlu_security_studies0.5878
mmlu_social_sciences0.5749
mmlu_sociology0.5373
mmlu_stem0.4672
mmlu_us_foreign_policy0.6100
mmlu_virology0.3976
mmlu_world_religions0.5614
piqa0.5800

How to Use

HF Usage

Step 1: Install AutoRound

pip install auto-round

Step 2: Load and run the quantized model

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "gemma-4-26B-A4B-it-qat-q4_0-unquantized-uncensored-heretic-AutoRound-W4A16-RTN"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")

# prepare the model input
prompt = "Write a quick sort algorithm."
messages = [{"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)

# conduct text completion
generated_ids = model.generate(**model_inputs, max_new_tokens=512)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]) :].tolist()

content = tokenizer.decode(output_ids, skip_special_tokens=True)
print("content:", content)

VLLM Usage

vllm serve gemma-4-26B-A4B-it-qat-q4_0-unquantized-uncensored-heretic-AutoRound-W4A16-RTN \
    --trust-remote-code \
    --dtype bfloat16 \
    --tensor_parallel_size 1

If you encounter any issues, feel free to open an issue on the AutoRound GitHub repo or provide feedback on the Low-Bit Open LLM Leaderboard.

Ethical Considerations and Limitations

The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs. Therefore, before deploying any applications of the model, developers should perform safety testing.

Caveats and Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Here are a couple of useful links to learn more about Intel's AI software:

  • Intel Neural Compressor
  • AutoRound

Disclaimer

The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes.

Cite

@article{cheng2023optimize,
  title={Optimize weight rounding via signed gradient descent for the quantization of llms},
  author={Cheng, Wenhua and Zhang, Weiwei and Shen, Haihao and Cai, Yiyang and He, Xin and Lv, Kaokao and Liu, Yi},
  journal={arXiv preprint arXiv:2309.05516},
  year={2023}
}

arxiv github


This model is part of the Intel Low-Bit Open LLM Leaderboard initiative.

HUGGING FACE

上游数据

HF 下载量49
HF 点赞量0

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
LeaderboardModel1
最近更新
2026/06/27
最新创建
2026/06/27
HF 趋势
未知
数据快照
2026/09/16
版本
未知
许可证
unknown