Downloads · 30 days
18
37% of all-time downloads
riprayt/test-finetuned
test-finetuned is a machine learning model from riprayt. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
This model is a fine-tuned version of gpt2 using LoRA (Low-Rank Adaptation).
Downloads · 30 days
18
37% of all-time downloads
All-time downloads
49
Public
Repo size
38.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors6.5 MB · 57%
From the Hugging Face model README
This model is a fine-tuned version of gpt2 using LoRA (Low-Rank Adaptation).
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("gpt2")
model = PeftModel.from_pretrained(base_model, "riprayt/test-finetuned")