Teja-Gollapudi
commited on
Commit
•
ee76c28
1
Parent(s):
a8767c3
Update README.md
Browse files
README.md
CHANGED
@@ -5,12 +5,13 @@ language:
|
|
5 |
- en
|
6 |
pipeline_tag: text2text-generation
|
7 |
library_name: transformers
|
|
|
8 |
---
|
9 |
|
10 |
|
11 |
# Model Details
|
12 |
|
13 |
-
- **Model name:**
|
14 |
- **Model type:** - Text2Text Generation
|
15 |
- **Parent Model:** [google/flan-t5-large](https://huggingface.co/google/flan-t5-large)
|
16 |
- **Training dataset:** [Alpaca](https://huggingface.co/datasets/tatsu-lab/alpaca)
|
@@ -20,17 +21,19 @@ library_name: transformers
|
|
20 |
|
21 |
|
22 |
We take the instruction-tuned Flan models (trained on Academic datasets) and perform style transfer using the Alpaca dataset
|
23 |
-
# Intended Use
|
24 |
-
The model is intended for <b>research purposes only.</b>
|
25 |
|
26 |
-
|
|
|
|
|
|
|
|
|
27 |
|
28 |
|
29 |
# How to Use
|
30 |
|
31 |
```
|
32 |
from transformers import pipeline
|
33 |
-
model = pipeline(model="vmware/
|
34 |
|
35 |
prompt = "Give me the recipe for making a caramel flan"
|
36 |
output = model(prompt, max_length=256, do_sample=True)
|
|
|
5 |
- en
|
6 |
pipeline_tag: text2text-generation
|
7 |
library_name: transformers
|
8 |
+
license: other
|
9 |
---
|
10 |
|
11 |
|
12 |
# Model Details
|
13 |
|
14 |
+
- **Model name:** Flan-T5-Large-Alpaca
|
15 |
- **Model type:** - Text2Text Generation
|
16 |
- **Parent Model:** [google/flan-t5-large](https://huggingface.co/google/flan-t5-large)
|
17 |
- **Training dataset:** [Alpaca](https://huggingface.co/datasets/tatsu-lab/alpaca)
|
|
|
21 |
|
22 |
|
23 |
We take the instruction-tuned Flan models (trained on Academic datasets) and perform style transfer using the Alpaca dataset
|
|
|
|
|
24 |
|
25 |
+
# License
|
26 |
+
Parent model ([google/flan-t5-large](https://huggingface.co/google/flan-t5-large)): Apache 2.0
|
27 |
+
Dataset ([Alpaca](https://huggingface.co/datasets/tatsu-lab/alpaca)) : cc-by-4.0
|
28 |
+
Text-Davinci-3 (Used to generate Alpaca): [OpenAI License](https://openai.com/policies/terms-of-use)
|
29 |
+
|
30 |
|
31 |
|
32 |
# How to Use
|
33 |
|
34 |
```
|
35 |
from transformers import pipeline
|
36 |
+
model = pipeline(model="vmware/flan-t5-large-alpaca",device_map = 'auto')
|
37 |
|
38 |
prompt = "Give me the recipe for making a caramel flan"
|
39 |
output = model(prompt, max_length=256, do_sample=True)
|