christofid
commited on
Commit
•
d73cf74
1
Parent(s):
2324bad
Update README.md
Browse files
README.md
CHANGED
@@ -36,8 +36,8 @@ A full example of part-of-patent generation
|
|
36 |
```
|
37 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
38 |
|
39 |
-
tokenizer = AutoTokenizer.from_pretrained("christofid/pgt"
|
40 |
-
model = AutoModelForCausalLM.from_pretrained("christofid/pgt"
|
41 |
|
42 |
text = "Automated patent generation <|sep|> Given the above title, suggest an abstract <|sep|>"
|
43 |
|
|
|
36 |
```
|
37 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
38 |
|
39 |
+
tokenizer = AutoTokenizer.from_pretrained("christofid/pgt")
|
40 |
+
model = AutoModelForCausalLM.from_pretrained("christofid/pgt")
|
41 |
|
42 |
text = "Automated patent generation <|sep|> Given the above title, suggest an abstract <|sep|>"
|
43 |
|