Views
No views yet
| 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 |
1from transformers import pipeline
2
3model_tag = "postbot/gpt2-medium-emailgen"
4generator = pipeline(
5 'text-generation',
6 model=model_tag,
7 )
8
9prompt = """
10Hello,
11
12Following up on the bubblegum shipment."""
13
14result = generator(
15 prompt,
16 max_length=64,
17 do_sample=False,
18 early_stopping=True,
19) # generate
20print(result[0]['generated_text'])aeslc dataset| 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 |
| 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 |