Files
ModelHub XC 3005cc009f 初始化项目,由ModelHub XC社区提供模型
Model: microsoft/HARC-Llama-3.1-8B-Instruct
Source: Original Platform
2026-07-21 02:00:10 +08:00

687 B

license, base_model, base_model_relation, library_name, pipeline_tag, tags
license base_model base_model_relation library_name pipeline_tag tags
llama3.1 meta-llama/Llama-3.1-8B-Instruct merge transformers text-generation
safety
alignment

HARC — Llama-3.1-8B-Instruct

HARC safety-alignment LoRA merged into meta-llama/Llama-3.1-8B-Instruct (full standalone model). Part of the HARC release; see paper arXiv:2607.00572.

from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("microsoft/HARC-Llama-3.1-8B-Instruct", torch_dtype="bfloat16", device_map="auto")
tok = AutoTokenizer.from_pretrained("microsoft/HARC-Llama-3.1-8B-Instruct")