Downloads · 30 days
12
8% of all-time downloads
willieseun/Enron-Mixral-8x7b-instruct
Enron-Mixral-8x7b-instruct is a text generation model from willieseun. 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.
The willieseun/Enron-Mixral-8x7b-instruct model is a large-scale language model based on the Mixtral architecture, fine-tuned specifically for email generation using the Enron dataset. This model is designed to genera…
Downloads · 30 days
12
8% of all-time downloads
All-time downloads
152
Public
Parameters
48.2B
25.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors25 GB · 100%
How the weights are stored.
U847.9B · 99%
From the Hugging Face model README
The willieseun/Enron-Mixral-8x7b-instruct model is a large-scale language model based on the Mixtral architecture, fine-tuned specifically for email generation using the Enron dataset. This model is designed to generate coherent and contextually appropriate text, particularly suited for tasks related to email composition.
The model can be used directly for email generation tasks. Users can input prompts or partial content, and the model will generate corresponding text.
This model is suitable for downstream tasks requiring email composition, such as email summarization, response generation, or personalized email content generation.
The model's performance may vary depending on the quality and representativeness of the training data (Enron dataset). It may exhibit biases present in the training data, and caution should be exercised when using generated text in sensitive or critical applications.
Users should review and post-process the generated text to ensure appropriateness and accuracy, particularly in professional or formal communication settings.
To use the model, you can leverage the Hugging Face Transformers library. Below is an example code snippet for generating emails:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "willieseun/Enron-Mixral-8x7b-instruct"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
# Example prompt
prompt_text = "Compose an email from Claudio Ribeiro to Vince J Kaminski regarding the possibility of sponsoring a Financial Engineering Pro-Seminar at MIT. The email should mention that Enron may have sponsored a similar seminar in the past (related to Real Options) and inquire if the Research department or the Weather Desk (interested in a Weather Trading problem) would be interested in co-sponsoring."
pipe = pipeline("text-generation", tokenizer=tokenizer, model=model, return_full_text=False, max_length=190)
print(pipe(str(prompt_str)))
The model was fine-tuned on the Enron email dataset, which contains real-world emails from employees at the Enron Corporation.
The training utilized the PeftModelForCausalLM architecture and was fine-tuned using a Causal-LM approach, optimizing for email generation tasks.
The model was evaluated on a held-out subset of the Enron dataset.
Only the evaluation loss was used.
The model demonstrates coherent and contextually relevant email generation based on the evaluation metrics.
The environmental impact of model training and inference can vary based on the hardware and compute infrastructure used.
BibTeX:
@article{willieseun_enron_mixtral_instruct,
title={willieseun/Enron-Mixral-8x7b-instruct: Fine-tuned Email Generation Model},
author={WILLIESEUN},
journal={Hugging Face Model Hub},
year={2024},
howpublished={url{https://huggingface.co/willieseun/Enron-Mixral-8x7b-instruct}}
}
APA:
MistralAI. (2024). willieseun/Enron-Mixral-8x7b-instruct: Fine-tuned Email Generation Model. Hugging Face Model Hub. https://huggingface.co/willieseun/Enron-Mixral-8x7b-instruct
This model card provides an overview of the willieseun/Enron-Mixral-8x7b-instruct model, its use case, training details, and environmental considerations for users interested in utilizing this model for email generation tasks. For further information, please refer to the associated Hugging Face Model Hub repository.