Update README.md
Browse files
README.md
CHANGED
@@ -52,8 +52,7 @@ metrics:
|
|
52 |
- accuracy
|
53 |
|
54 |
model:
|
55 |
-
from transformers import
|
56 |
-
|
57 |
-
|
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 |
---
|