Downloads · 30 days
40
4% of all-time downloads
goendalf666/salesGPT_v2
salesGPT_v2 is a text generation model from goendalf666. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
40
4% of all-time downloads
All-time downloads
900
Public
Repo size
5.7 GB
Likes
3
Public
Click a slice to open those files.
.bin5.7 GB · 100%
From the Hugging Face model README
Model Card for salesGPT_v2
salesGPT_v2, derived from microsoft/phi-1_5, is specialized in simulating sales conversations, wherein it understands customer requirements, manages objections, and suggests suitable products or services. It was fine-tuned on a variety of sales-related datasets and seems proficient in initiating conversations, asking pertinent questions, and sustaining interactive dialogues with users.
Github: https://github.com/tom813/salesGPT_foundation salesGPT_v1: https://huggingface.co/goendalf666/salesGPT_v1

Intended Uses:
Limitations:
Training Data:
Textbook v1 Dataset
Sales Conversation Dataset
Sales Conversations Instruction Base Dataset
Sales Conversations Instruction Extension Dataset
Evaluation Data:
Fine-tuning of salesGPT_v2 was executed in three phases using the LoRa approach with Rank 64:
Hyperparameters used during training:
Model size details:
While salesGPT_v2 showcases notable capabilities like initiating a structured dialogue and asking relevant questions, there are some key areas of improvement and observations:
Customer: I am interested in buying a new laptop. salesGPT_v2: I understand. Could you please tell me more about your specific requirements and budget?
Customer: Oh I don't know how I should explain this to my wife. I said we can't go to vacation because we don't have any money. salesGPT_v2: I see. Can you please provide more details about your financial situation and the specific expenses you are concerned about?
These examples underline the model's capability to engage in sales dialogues and also hint at its limitations, such as possibly prying too much into a customer's personal financial situation.
The model’s tendency to repeatedly ask for specific information, especially related to personal financial details, raises ethical concerns regarding privacy and data sensitivity. Care must be taken to ensure the model respects user privacy and does not persistently probe for personal or sensitive information.
salesGPT_v2 offers a foundation for simulating sales conversations with potential for future refinement in handling objections, making product suggestions, and managing conversations delicately around financial discussions. Future versions might seek to refine its balance between being convincingly persuasive and remaining ethically and emotionally intelligent within dialogues.
from transformers import AutoModelForCausalLM, AutoTokenizer
# Initialize the model and tokenizer
cuda = "cuda:0" if torch.cuda.is_available() else ""
model = AutoModelForCausalLM.from_pretrained("goendalf666/salesGPT_v2", trust_remote_code=True, torch_dtype=torch.float32, device_map={"":0})
tokenizer = AutoTokenizer.from_pretrained("microsoft/phi-1_5", trust_remote_code=True, device_map={"":0})
inputs = tokenizer(conversation_text, return_tensors="pt", return_attention_mask=False)
inputs.to(cuda)
# Generate response
outputs = model.generate(**inputs, max_length=512)
response_text = tokenizer.batch_decode(outputs)[0]
Or
Inference script: https://github.com/tom813/salesGPT_foundation/blob/main/inference.py