Update README.md
Browse files
README.md
CHANGED
@@ -57,7 +57,7 @@ Don't use model in case you need very accurate results, model might miss importa
|
|
57 |
|
58 |
## How to Get Started with the Model
|
59 |
|
60 |
-
|
61 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
62 |
|
63 |
tokenizer = AutoTokenizer.from_pretrained("rristo/mlong-t5-tglobal-base-et-riigikogu-summary")
|
@@ -88,7 +88,7 @@ model=model.to(DEVICE)
|
|
88 |
|
89 |
summarize(text, model, tokenizer, device=DEVICE)
|
90 |
|
91 |
-
|
92 |
|
93 |
## Training Details
|
94 |
|
|
|
57 |
|
58 |
## How to Get Started with the Model
|
59 |
|
60 |
+
```
|
61 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
62 |
|
63 |
tokenizer = AutoTokenizer.from_pretrained("rristo/mlong-t5-tglobal-base-et-riigikogu-summary")
|
|
|
88 |
|
89 |
summarize(text, model, tokenizer, device=DEVICE)
|
90 |
|
91 |
+
```
|
92 |
|
93 |
## Training Details
|
94 |
|