Update README.md
Browse files
README.md
CHANGED
@@ -50,6 +50,10 @@ tags:
|
|
50 |
|
51 |
metrics:
|
52 |
- accuracy
|
53 |
-
---
|
54 |
-
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
metrics:
|
52 |
- accuracy
|
|
|
|
|
53 |
|
54 |
+
model:
|
55 |
+
from transformers import AutoModelForSeq2SeqLM, AutoConfig, AutoTokenizer
|
56 |
+
custom_config = AutoConfig.from_pretrained("ayjays132/phillnet")
|
57 |
+
custom_tokenizer = AutoTokenizer.from_pretrained("ayjays132/phillnet")
|
58 |
+
custom_model = AutoModelForSeq2SeqLM.from_pretrained("ayjays132/phillnet", config=custom_config, tokenizer=custom_tokenizer)
|
59 |
+
...
|