How to use Isotr0py/InternLM2-1_8B-test-sql-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("internlm/internlm2-1_8b") model = PeftModel.from_pretrained(base_model, "Isotr0py/InternLM2-1_8B-test-sql-lora")
The community tab is the place to discuss and collaborate with the HF community!