Commit
·
37bc035
1
Parent(s):
c42fef0
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,47 +1,37 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
-
- generated_from_trainer
|
| 5 |
model-index:
|
| 6 |
-
- name: flan-t5-small-prompt
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 11 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 12 |
|
| 13 |
-
# flan-t5-small-prompt
|
| 14 |
|
| 15 |
-
This model
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
More information needed
|
| 20 |
-
|
| 21 |
-
## Intended uses & limitations
|
| 22 |
-
|
| 23 |
-
More information needed
|
| 24 |
-
|
| 25 |
-
## Training and evaluation data
|
| 26 |
-
|
| 27 |
-
More information needed
|
| 28 |
-
|
| 29 |
-
## Training procedure
|
| 30 |
-
|
| 31 |
-
### Training hyperparameters
|
| 32 |
-
|
| 33 |
-
The following hyperparameters were used during training:
|
| 34 |
-
- learning_rate: 5e-05
|
| 35 |
-
- train_batch_size: 8
|
| 36 |
-
- eval_batch_size: 8
|
| 37 |
-
- seed: 42
|
| 38 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 39 |
-
- lr_scheduler_type: linear
|
| 40 |
-
- num_epochs: 5
|
| 41 |
-
|
| 42 |
-
### Framework versions
|
| 43 |
-
|
| 44 |
-
- Transformers 4.29.1
|
| 45 |
-
- Pytorch 2.0.0+cu118
|
| 46 |
-
- Datasets 2.12.0
|
| 47 |
-
- Tokenizers 0.13.3
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- tatsu-lab/alpaca
|
| 5 |
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
model-index:
|
| 8 |
+
- name: flan-t5-small-prompt
|
| 9 |
+
results: []
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
+
widget:
|
| 14 |
+
- text: >-
|
| 15 |
+
output: Hitler was born in Braunau am Inn in Austria-Hungary and was
|
| 16 |
+
raised near Linz. He lived in Vienna later in the first decade of the
|
| 17 |
+
1900s and moved to Germany in 1913. He was decorated during his service in
|
| 18 |
+
the German Army in World War I. In 1919, he joined the German Workers'
|
| 19 |
+
Party (DAP), the precursor of the Nazi Party, and was appointed leader of
|
| 20 |
+
the Nazi Party in 1921. In 1923, he attempted to seize governmental power
|
| 21 |
+
in a failed coup in Munich and was imprisoned with a sentence of five
|
| 22 |
+
years.
|
| 23 |
+
input:
|
| 24 |
+
example_title: Example 1
|
| 25 |
+
- text: >-
|
| 26 |
+
output: 1. Base your meals on higher fibre starchy carbohydrates 2. Eat
|
| 27 |
+
lots of fruit and veg 3. Eat more fish, including a portion of oily fish.
|
| 28 |
+
input:
|
| 29 |
+
example_title: Example 2
|
| 30 |
---
|
| 31 |
|
|
|
|
|
|
|
| 32 |
|
| 33 |
+
# Model flan-t5-small-prompt
|
| 34 |
|
| 35 |
+
This model can generate prompts (instruction) for any text!
|
| 36 |
|
| 37 |
+
This model is a fine-tuned version of [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) on [alpaca dataset](https://huggingface.co/datasets/tatsu-lab/alpaca) but in a **reverse format**!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|