How to use xtuner/internlm-20b-qlora-msagent-react with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("internlm/internlm-20b") model = PeftModel.from_pretrained(base_model, "xtuner/internlm-20b-qlora-msagent-react")
The community tab is the place to discuss and collaborate with the HF community!