Omaratef3221
commited on
Commit
•
9e7becf
1
Parent(s):
de5d206
Update README.md
Browse files
README.md
CHANGED
@@ -24,6 +24,14 @@ It can also be used for research and development in natural language understandi
|
|
24 |
## How to Use
|
25 |
You can use this model directly with the transformers library as follows:
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
```python
|
28 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
29 |
|
|
|
24 |
## How to Use
|
25 |
You can use this model directly with the transformers library as follows:
|
26 |
|
27 |
+
## Download the model
|
28 |
+
```python
|
29 |
+
model_name = "Omaratef3221/flan-t5-base-dialogue-generator"
|
30 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
31 |
+
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
32 |
+
|
33 |
+
|
34 |
+
## Use with example
|
35 |
```python
|
36 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
37 |
|