Downloads · 30 days
15
23% of all-time downloads
RichardErkhov/pszemraj_-_opt-350m-email-generation-4bits
pszemraj_-_opt-350m-email-generation-4bits 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
15
23% of all-time downloads
All-time downloads
65
Public
Parameters
336M
227 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors227 MB · 99%
How the weights are stored.
U8303M · 90%
From the Hugging Face model README
Quantization made by Richard Erkhov.
opt-350m-email-generation - bnb 4bits
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: