Downloads · 30 days
204
5% of all-time downloads
RichardErkhov/postbot_-_gpt2-medium-emailgen-gguf
postbot_-_gpt2-medium-emailgen-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
204
5% of all-time downloads
All-time downloads
4.1K
Public
Repo size
5 GB
Likes
0
Public
Click a slice to open those files.
.gguf5.8 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
gpt2-medium-emailgen - GGUF
| Name | Quant method | Size |
|---|---|---|
| gpt2-medium-emailgen.Q2_K.gguf | Q2_K | 0.17GB |
| gpt2-medium-emailgen.IQ3_XS.gguf | IQ3_XS | 0.18GB |
| gpt2-medium-emailgen.IQ3_S.gguf | IQ3_S | 0.19GB |
| gpt2-medium-emailgen.Q3_K_S.gguf | Q3_K_S | 0.19GB |
| gpt2-medium-emailgen.IQ3_M.gguf | IQ3_M | 0.2GB |
| gpt2-medium-emailgen.Q3_K.gguf | Q3_K | 0.21GB |
| gpt2-medium-emailgen.Q3_K_M.gguf | Q3_K_M | 0.21GB |
| gpt2-medium-emailgen.Q3_K_L.gguf | Q3_K_L | 0.23GB |
| gpt2-medium-emailgen.IQ4_XS.gguf | IQ4_XS | 0.22GB |
| gpt2-medium-emailgen.Q4_0.gguf | Q4_0 | 0.23GB |
| gpt2-medium-emailgen.IQ4_NL.gguf | IQ4_NL | 0.23GB |
| gpt2-medium-emailgen.Q4_K_S.gguf | Q4_K_S | 0.23GB |
| gpt2-medium-emailgen.Q4_K.gguf | Q4_K | 0.25GB |
| gpt2-medium-emailgen.Q4_K_M.gguf | Q4_K_M | 0.25GB |
| gpt2-medium-emailgen.Q4_1.gguf | Q4_1 | 0.25GB |
| gpt2-medium-emailgen.Q5_0.gguf | Q5_0 | 0.27GB |
| gpt2-medium-emailgen.Q5_K_S.gguf | Q5_K_S | 0.27GB |
| gpt2-medium-emailgen.Q5_K.gguf | Q5_K | 0.29GB |
| gpt2-medium-emailgen.Q5_K_M.gguf | Q5_K_M | 0.29GB |
| gpt2-medium-emailgen.Q5_1.gguf | Q5_1 | 0.29GB |
| gpt2-medium-emailgen.Q6_K.gguf | Q6_K | 0.32GB |
| gpt2-medium-emailgen.Q8_0.gguf | Q8_0 | 0.41GB |
license:
widget:
Hope you are doing well. I just wanted to reach out and ask if differential calculus will be on the exam" example_title: "email to prof"
Why write the entire email when you can generate (most of) it?
from transformers import pipeline
model_tag = "postbot/gpt2-medium-emailgen"
generator = pipeline(
'text-generation',
model=model_tag,
)
prompt = """
Hello,
Following up on the bubblegum shipment."""
result = generator(
prompt,
max_length=64,
do_sample=False,
early_stopping=True,
) # generate
print(result[0]['generated_text'])
This model is a fine-tuned version of gpt2-medium on the postbot/multi-emails-100k dataset. It achieves the following results on the evaluation set:
More information needed
aeslc datasetThe following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.8701 | 1.0 | 789 | 1.8378 |
| 1.5065 | 2.0 | 1578 | 1.6176 |
| 1.1873 | 3.0 | 2367 | 1.5840 |
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 25.97 |
| ARC (25-shot) | 26.45 |
| HellaSwag (10-shot) | 34.31 |
| MMLU (5-shot) | 24.1 |
| TruthfulQA (0-shot) | 43.96 |
| Winogrande (5-shot) | 50.43 |
| GSM8K (5-shot) | 0.0 |
| DROP (3-shot) | 2.53 |