Update README.md
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ It achieves the following results on the evaluation set:
|
|
23 |
- Gen Len: 77.0
|
24 |
|
25 |
## Model description
|
26 |
-
|
27 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
28 |
|
29 |
WHITESPACE_HANDLER = lambda k: re.sub('\s+', ' ', re.sub('\n+', ' ', k.strip()))
|
@@ -56,6 +56,7 @@ model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
|
56 |
|
57 |
sumariosFinal.append(summary)
|
58 |
print(i,"\n",summary,"\n")
|
|
|
59 |
|
60 |
## Intended uses & limitations
|
61 |
|
|
|
23 |
- Gen Len: 77.0
|
24 |
|
25 |
## Model description
|
26 |
+
```python
|
27 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
28 |
|
29 |
WHITESPACE_HANDLER = lambda k: re.sub('\s+', ' ', re.sub('\n+', ' ', k.strip()))
|
|
|
56 |
|
57 |
sumariosFinal.append(summary)
|
58 |
print(i,"\n",summary,"\n")
|
59 |
+
```
|
60 |
|
61 |
## Intended uses & limitations
|
62 |
|