Downloads · 30 days
9
5% of all-time downloads
n0xgg04/mistral-customer-service-full
mistral-customer-service-full is a text generation model from n0xgg04. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of mistralai/Mistral-7B-Instruct-v0.2 on a dataset of customer service client-agent conversations (Lakshan2003).
Downloads · 30 days
9
5% of all-time downloads
All-time downloads
165
Public
Parameters
7.2B
14.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of mistralai/Mistral-7B-Instruct-v0.2
on a dataset of customer service client-agent conversations (Lakshan2003).
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "n0xgg04/mistral-customer-service-full"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="bfloat16")
prompt = "Hi! Can you help me change my shipping address?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=150)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))