# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("cong1230/LoRA_Tutorial_yewon")
model = AutoModelForCausalLM.from_pretrained("cong1230/LoRA_Tutorial_yewon")Quick Links
This is fine-tune model by LoRA with oasst1 datasets
- Downloads last month
- 7
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cong1230/LoRA_Tutorial_yewon")