Downloads · 30 days
6
3% of all-time downloads
RichardErkhov/pszemraj_-_opt-350m-email-generation-8bits
pszemraj_-_opt-350m-email-generation-8bits is a text generation model from RichardErkhov. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
6
3% of all-time downloads
All-time downloads
204
Public
Parameters
331M
360 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors360 MB · 99%
How the weights are stored.
I8303M · 91%
From the Hugging Face model README
Quantization made by Richard Erkhov.
opt-350m-email-generation - bnb 8bits
license: other tags:
widget:
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: