details
Browse files
README.md
CHANGED
@@ -16,19 +16,21 @@ widget:
|
|
16 |
inference:
|
17 |
parameters:
|
18 |
min_length: 16
|
19 |
-
max_length:
|
20 |
length_penalty: 0.7
|
21 |
no_repeat_ngram_size: 3
|
22 |
do_sample: False
|
23 |
num_beams: 4
|
24 |
early_stopping: True
|
25 |
-
repetition_penalty:
|
26 |
---
|
27 |
|
28 |
|
29 |
# opt for email generation - 350M
|
30 |
|
31 |
-
This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co/facebook/opt-350m) on the [aeslc](https://huggingface.co/datasets/aeslc) dataset for six epochs.
|
|
|
|
|
32 |
|
33 |
## Model description
|
34 |
|
@@ -36,7 +38,7 @@ More information needed
|
|
36 |
|
37 |
## Intended uses & limitations
|
38 |
|
39 |
-
|
40 |
|
41 |
## Training and evaluation data
|
42 |
|
|
|
16 |
inference:
|
17 |
parameters:
|
18 |
min_length: 16
|
19 |
+
max_length: 64
|
20 |
length_penalty: 0.7
|
21 |
no_repeat_ngram_size: 3
|
22 |
do_sample: False
|
23 |
num_beams: 4
|
24 |
early_stopping: True
|
25 |
+
repetition_penalty: 2.1
|
26 |
---
|
27 |
|
28 |
|
29 |
# opt for email generation - 350M
|
30 |
|
31 |
+
- This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co/facebook/opt-350m) on the [aeslc](https://huggingface.co/datasets/aeslc) dataset for six epochs.
|
32 |
+
- Emails, phone numbers, etc were attempted to be excluded in a dataset preparation step using [clean-text](https://pypi.org/project/clean-text/) in Python.
|
33 |
+
- Note that API is restricted to generate 64 tokens - you can generate longer emails by using this in a text-generation `pipeline` object
|
34 |
|
35 |
## Model description
|
36 |
|
|
|
38 |
|
39 |
## Intended uses & limitations
|
40 |
|
41 |
+
- in their everlasting wisdom, Facebook/Meta has decided to make a custom license for this specifying several things. See [facebook/opt-350m](https://huggingface.co/facebook/opt-350m) for details.
|
42 |
|
43 |
## Training and evaluation data
|
44 |
|