This is a lightweight, fine-tuned large language model designed to simulate a polite, helpful customer support agent. It was trained using Low-Rank Adaptation (LoRA) on the Bitext Customer Support dataset.
This model is a fine-tuned version of EleutherAI/gpt-neo-125M. It has been specifically trained to handle common customer support queries such as account recovery, order tracking, cancellations, and basic troubleshooting. The model excels at adopting an empathetic, professional tone and structuring responses with clear, step-by-step instructions. pushed on the Hub. This model card has been automatically generated.
This model is intended for experimental and educational use to demonstrate how small-parameter models (125M) can learn domain-specific tone and formatting (like customer support personas and template placeholders) through PEFT/LoRA fine-tuning.
Due to its small parameter size, this model should not be used in a live production environment without human supervision. The model is prone to hallucinations and may generate factually incorrect troubleshooting steps or get stuck in repetitive empathetic loops. It is not capable of complex reasoning or accessing real-time database information.
If using this model for testing, we highly recommend setting a low generation temperature (e.g., 0.3 to 0.4) to reduce severe hallucinations, while using a max_new_tokens of 256 to prevent mid-sentence cutoffs.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[python import torch from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "nourhan214/gptneo125m-bitext-customer-support" device = "cuda" if torch.cuda.is_available() else "cpu"
tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForCausalLM.from_pretrained(model_name).to(device)
prompt = "I placed an order yesterday, but I haven't received a confirmation email." input_text = f"User: {prompt}\nAssistant:"
inputs = tokenizer(input_text, return_tensors="pt").to(device)
with torch.no_grad(): outputs = model.generate( **inputs, max_new_tokens=256, pad_token_id=tokenizer.eos_token_id, temperature=0.3, do_sample=True, top_p=0.9 )
full_response = tokenizer.decode(outputs[0], skip_special_tokens=True) assistant_reply = full_response.split("Assistant:")[-1].strip()
print(assistant_reply)]
[The model was trained on a downsampled subset (15,000 training rows, 2,000 validation rows) of the Bitext Customer Support LLM Chatbot Training Dataset.]
[The dataset was formatted into a conversational prompt structure: User: {instruction}\nAssistant: {response}<|endoftext|> The sequence length was capped at 256 tokens.]
[Hardware: NVIDIA Tesla T4 GPU
Training Time: ~31 minutes
Final Training Loss: 1.28
Final Validation Loss: 1.29]
EleutherAI/gpt-neo-125m