Downloads · 30 days
12
13% of all-time downloads
sandylolpotty/CatalystGPT-5
CatalystGPT-5 is a text generation model from sandylolpotty. Use it when you need the model to write or continue text. It is set up for peft.
This repository provides a parameter-efficient fine-tuned conversational AI model based on Microsoft’s DialoGPT-medium. The model leverages Low-Rank Adaptation (LoRA) to achieve efficient fine-tuning with significantl…
Downloads · 30 days
12
13% of all-time downloads
All-time downloads
94
Public
Repo size
16.6 MB
Likes
0
Public
Click a slice to open those files.
.pt11.1 MB · 52%
From the Hugging Face model README
This repository provides a parameter-efficient fine-tuned conversational AI model based on Microsoft’s DialoGPT-medium. The model leverages Low-Rank Adaptation (LoRA) to achieve efficient fine-tuning with significantly reduced computational overhead while maintaining high-quality dialogue generation.
This model is an enhanced, LoRA-adapted DialoGPT-medium, optimized for multi-turn conversational tasks. By fine-tuning on a curated dataset of prompt-response pairs, the model demonstrates improved context retention, response coherence, and linguistic diversity. LoRA integration allows for memory-efficient adaptation, enabling training and deployment on resource-constrained hardware such as consumer GPUs or cloud-based accelerators.
The model can generate human-like conversational responses for:
Users can input natural language prompts, and the model will generate contextually appropriate and fluent responses.
This model may inherit biases present in the pre-training data or fine-tuning dataset. Users should exercise caution in high-stakes applications.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_path = "your-hf-username/dialoGPT-lora"
tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForCausalLM.from_pretrained(model_path)
prompt = "Hello, how are you?"
inputs = tokenizer(prompt + tokenizer.eos_token, return_tensors="pt")
output = model.generate(**inputs, max_length=128, pad_token_id=tokenizer.eos_token_id)
response = tokenizer.decode(output[0], skip_special_tokens=True)
print(response)