ayjays132 commited on
Commit
e103680
·
1 Parent(s): 9f7e997

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -2
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
+ ...