Merging Models
Collection
Experimentation with various merging techniques
β’
4 items
β’
Updated
This is a model based on microsoft/Phi-3-mini-128k-instruct created by merging two fine-tuned versions together, one checkpoint for a domain-specific marketing fine tune, and one for emotional intelligence conversational setting.
This is a merge of pre-trained language models created using mergekit. This model was merged using the DELLA merge method using marketeam/Phi-Marketing as a base.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
models:
- model: marketeam/Phi-Marketing
parameters:
weight: 1.0
- model: OEvortex/EMO-phi-128k
parameters:
weight: 1.0
merge_method: della
base_model: marketeam/Phi-Marketing
parameters:
density: 0.7
lambda: 1.1
epsilon: 0.2
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
# Load the tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("AdamLucek/Phi-3-mini-EmoMarketing-DELLA", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
"AdamLucek/Phi-3-mini-EmoMarketing-DELLA",
device_map="cuda",
torch_dtype=torch.bfloat16,
trust_remote_code=True
)
# Prepare the input text
input_text = "What are specific actionable ways to market products to technical software engineers with an emotional angle?"
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
# Generate the output
outputs = model.generate(
**input_ids,
max_new_tokens=256,
pad_token_id=tokenizer.eos_token_id
)
# Decode and print the generated text
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
output
Hello there! π I'd be happy to help you with that. When it comes to marketing products to technical software engineers with an emotional angle, there are several specific actionable ways to approach this. Here are a few ideas:
- Highlight the impact of the product on the user's personal and professional life. Emphasize how the product can solve a specific problem or improve the user's overall experience, and how it can positively impact their emotions and well-being.
- Use storytelling to create an emotional connection with the audience. Share real-life stories or testimonials from users who have experienced positive emotional outcomes as a result of using the product.
- Focus on the user's passions and interests. Understand what motivates and inspires technical software engineers, and tailor the marketing message to resonate with their emotional drivers.
- Use visual and sensory elements to evoke emotions. Incorporate imagery, colors, and sounds that align with the emotional tone you want to convey, and create a visually appealing and emotionally