ayjays132 commited on
Commit
df5eddd
1 Parent(s): a8239d4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -4
README.md CHANGED
@@ -52,8 +52,7 @@ 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
  ---
 
52
  - accuracy
53
 
54
  model:
55
+ from transformers import DynamicNeuralNetwork, DynamicNeuralNetworkConfig
56
+
57
+ custom_model = DynamicNeuralNetwork.from_pretrained("ayjays132/phillnet", config=DynamicNeuralNetworkConfig.from_pretrained("ayjays132/phillnet"))
 
58
  ---