Downloads · 30 days
93
1% of all-time downloads
pszemraj/opt-350m-email-generation
opt-350m-email-generation is a text generation model from pszemraj. 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.
If you like the idea of wasting less time on emails, further work on this topic can be found on this hf org page
Downloads · 30 days
93
1% of all-time downloads
All-time downloads
11.4K
Public
Parameters
331M
5.3 GB on disk
Likes
6
Public
Click a slice to open those files.
.bin1.3 GB · 50%
From the Hugging Face model README
If you like the idea of wasting less time on emails, further work on this topic can be found on this hf org page
Why write the rest of your email when you can generate it?
from transformers import pipeline
model_tag = "pszemraj/opt-350m-email-generation"
generator = pipeline(
'text-generation',
model=model_tag,
use_fast=False,
do_sample=False,
early_stopping=True,
)
prompt = """
Hello,
Following up on the bubblegum shipment."""
generator(
prompt,
max_length=64,
) # generate
For this model, formatting matters. The results may be (significantly) different between the structure outlined above and
prompt = "Hey, just wanted to ..."etc.
pipeline objectemail_body field of train + validation (get more data) from the aeslc dataset.The following hyperparameters were used during training: