pszemraj / opt-350m-email-generation

huggingface.co
Total runs: 86
24-hour runs: 0
7-day runs: 10
30-day runs: 52
Model's Last Updated: December 29 2025
text-generation

Introduction of opt-350m-email-generation

Model Details of opt-350m-email-generation

opt for email generation - 350M

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
  • Link to notebook on Colab

    For this model, formatting matters. The results may be (significantly) different between the structure outlined above and prompt = "Hey, just wanted to ..." etc.

Model description
  • This model is a fine-tuned version of facebook/opt-350m on the aeslc dataset for six epochs.
  • Emails, phone numbers, etc., were attempted to be excluded in a dataset preparation step using clean-text in Python.
  • Note that API is restricted to generating 64 tokens - you can generate longer emails by using this in a text-generation pipeline object
Intended uses & limitations
  • in their everlasting wisdom, Facebook/Meta has decided to make a custom license for this, specifying several things. See facebook/opt-350m for details.
Training and evaluation data
  • the email_body field of train + validation (get more data) from the aeslc dataset.
Training procedure
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 6e-05
  • train_batch_size: 8
  • eval_batch_size: 8
  • seed: 42
  • distributed_type: multi-GPU
  • gradient_accumulation_steps: 16
  • total_train_batch_size: 128
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: cosine
  • lr_scheduler_warmup_ratio: 0.03
  • num_epochs: 6
Framework versions
  • Transformers 4.19.2
  • Pytorch 1.11.0+cu113
  • Tokenizers 0.12.1

Runs of pszemraj opt-350m-email-generation on huggingface.co

86
Total runs
0
24-hour runs
6
3-day runs
10
7-day runs
52
30-day runs

More Information About opt-350m-email-generation huggingface.co Model

More opt-350m-email-generation license Visit here:

https://choosealicense.com/licenses/other

opt-350m-email-generation huggingface.co

opt-350m-email-generation huggingface.co is an AI model on huggingface.co that provides opt-350m-email-generation's model effect (), which can be used instantly with this pszemraj opt-350m-email-generation model. huggingface.co supports a free trial of the opt-350m-email-generation model, and also provides paid use of the opt-350m-email-generation. Support call opt-350m-email-generation model through api, including Node.js, Python, http.

opt-350m-email-generation huggingface.co Url

https://huggingface.co/pszemraj/opt-350m-email-generation

pszemraj opt-350m-email-generation online free

opt-350m-email-generation huggingface.co is an online trial and call api platform, which integrates opt-350m-email-generation's modeling effects, including api services, and provides a free online trial of opt-350m-email-generation, you can try opt-350m-email-generation online for free by clicking the link below.

pszemraj opt-350m-email-generation online free url in huggingface.co:

https://huggingface.co/pszemraj/opt-350m-email-generation

opt-350m-email-generation install

opt-350m-email-generation is an open source model from GitHub that offers a free installation service, and any user can find opt-350m-email-generation on GitHub to install. At the same time, huggingface.co provides the effect of opt-350m-email-generation install, users can directly use opt-350m-email-generation installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

opt-350m-email-generation install url in huggingface.co:

https://huggingface.co/pszemraj/opt-350m-email-generation

Url of opt-350m-email-generation

opt-350m-email-generation huggingface.co Url

Provider of opt-350m-email-generation huggingface.co

pszemraj
ORGANIZATIONS

Other API from pszemraj