Intel / Hy-MT2-7B-int4-AutoRound

huggingface.co
Total runs: 234
24-hour runs: 0
7-day runs: 21
30-day runs: 131
Model's Last Updated: May 28 2026

Introduction of Hy-MT2-7B-int4-AutoRound

Model Details of Hy-MT2-7B-int4-AutoRound

Model Details

This model is an int4 model with group_size 128 and symmetric quantization of tencent/Hy-MT2-7B generated by intel/auto-round . Please follow the license of the original model.

How to Use
HF Usage
uv pip install transformers>=5.6.0 auto-round
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = "Intel/Hy-MT2-7B-int4-AutoRound"

# Load tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)

# Load model
model = AutoModelForCausalLM.from_pretrained(
    model_path,
    dtype=torch.bfloat16,
    device_map="auto",
    trust_remote_code=True,
)

model.eval()

# Example inference
prompt = "将以下文本翻译成英语,注意只需要输出翻译后的结果,不要额外解释:\n\n今天天气真好。"
messages = [{"role": "user", "content": prompt}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)

with torch.no_grad():
    outputs = model.generate(
        **inputs,
        max_new_tokens=4096,
    )
response = tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True)
print(response)
VLLM Usage
vllm serve Intel/Hy-MT2-7B-int4-AutoRound \
    --host localhost \
    --trust-remote-code \
    --dtype bfloat16
Generate the Model
auto-round --model_name tencent/Hy-MT2-7B --bits 4 --iters 200 --output_dir Hy-MT2-7B-int4-AutoRound
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:

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

Runs of Intel Hy-MT2-7B-int4-AutoRound on huggingface.co

234
Total runs
0
24-hour runs
4
3-day runs
21
7-day runs
131
30-day runs

More Information About Hy-MT2-7B-int4-AutoRound huggingface.co Model

Hy-MT2-7B-int4-AutoRound huggingface.co

Hy-MT2-7B-int4-AutoRound huggingface.co is an AI model on huggingface.co that provides Hy-MT2-7B-int4-AutoRound's model effect (), which can be used instantly with this Intel Hy-MT2-7B-int4-AutoRound model. huggingface.co supports a free trial of the Hy-MT2-7B-int4-AutoRound model, and also provides paid use of the Hy-MT2-7B-int4-AutoRound. Support call Hy-MT2-7B-int4-AutoRound model through api, including Node.js, Python, http.

Hy-MT2-7B-int4-AutoRound huggingface.co Url

https://huggingface.co/Intel/Hy-MT2-7B-int4-AutoRound

Intel Hy-MT2-7B-int4-AutoRound online free

Hy-MT2-7B-int4-AutoRound huggingface.co is an online trial and call api platform, which integrates Hy-MT2-7B-int4-AutoRound's modeling effects, including api services, and provides a free online trial of Hy-MT2-7B-int4-AutoRound, you can try Hy-MT2-7B-int4-AutoRound online for free by clicking the link below.

Intel Hy-MT2-7B-int4-AutoRound online free url in huggingface.co:

https://huggingface.co/Intel/Hy-MT2-7B-int4-AutoRound

Hy-MT2-7B-int4-AutoRound install

Hy-MT2-7B-int4-AutoRound is an open source model from GitHub that offers a free installation service, and any user can find Hy-MT2-7B-int4-AutoRound on GitHub to install. At the same time, huggingface.co provides the effect of Hy-MT2-7B-int4-AutoRound install, users can directly use Hy-MT2-7B-int4-AutoRound installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Hy-MT2-7B-int4-AutoRound install url in huggingface.co:

https://huggingface.co/Intel/Hy-MT2-7B-int4-AutoRound

Url of Hy-MT2-7B-int4-AutoRound

Hy-MT2-7B-int4-AutoRound huggingface.co Url

Provider of Hy-MT2-7B-int4-AutoRound huggingface.co

Intel
ORGANIZATIONS

Other API from Intel

huggingface.co

Total runs: 771.3K
Run Growth: 299.3K
Growth Rate: 38.80%
Updated:February 09 2024
huggingface.co

Total runs: 41.5K
Run Growth: -6.9K
Growth Rate: -16.71%
Updated:February 24 2024
huggingface.co

Total runs: 27.7K
Run Growth: 2.8K
Growth Rate: 10.23%
Updated:March 29 2024
huggingface.co

Total runs: 15.8K
Run Growth: 6.6K
Growth Rate: 41.95%
Updated:February 24 2025
huggingface.co

Total runs: 2.1K
Run Growth: -1.8K
Growth Rate: -87.71%
Updated:March 26 2024
huggingface.co

Total runs: 1.5K
Run Growth: 284
Growth Rate: 18.92%
Updated:May 20 2024
huggingface.co

Total runs: 909
Run Growth: 293
Growth Rate: 32.23%
Updated:June 12 2024