zhengr/Automotive_Industry_Fault_Data_Set
Viewer • Updated • 1.44k • 70 • 13
How to use mixtao/chatglm3-6b-int4 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="mixtao/chatglm3-6b-int4", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("mixtao/chatglm3-6b-int4", trust_remote_code=True, dtype="auto")基于P-Tuning-V2,用数据集Automotive_Industry_Fault_Data_Set进行微调测试