Run this model with HF Jobs

Run zai-org/chatglm-6b-int4 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/zai-org/chatglm-6b-int4. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/zai-org/chatglm-6b-int4 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

mac m1上运行cli_deom.py超过10分钟都不显示结果

#13
by scroll2008 - opened

image.png

tokenizer = AutoTokenizer.from_pretrained("THUDM/chatglm-6b-int4", trust_remote_code=True)
model = AutoModel.from_pretrained("THUDM/chatglm-6b-int4", trust_remote_code=True, ignore_mismatched_sizes=True).float()

程序启动后,cpu很高,超过10分钟没有出结果,有人遇到过类似情况吗。
采用int4版本:THUDM/chatglm-6b-int4

mac没有显卡吧,跑不动

装mac版本的torch,指定设备跑

Sign up or log in to comment