Update README.md
Browse files
README.md
CHANGED
@@ -26,8 +26,8 @@ Model input is the *matière* (matter) concatenated to the *titres* already deci
|
|
26 |
```
|
27 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
28 |
|
29 |
-
tokeniser = AutoTokenizer.from_pretrained("rbawden/CCASS-
|
30 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("rbawden/CCASS-
|
31 |
|
32 |
matiere_and_titrage_prefix = "matter <t> titre"
|
33 |
sommaire = "full text from the sommaire on a single line"
|
|
|
26 |
```
|
27 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
28 |
|
29 |
+
tokeniser = AutoTokenizer.from_pretrained("rbawden/CCASS-semi-auto-titrages-base", use_auth_token=True)
|
30 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("rbawden/CCASS-semi-auto-titrages-base", use_auth_token=True)
|
31 |
|
32 |
matiere_and_titrage_prefix = "matter <t> titre"
|
33 |
sommaire = "full text from the sommaire on a single line"
|