Add loadable model.safetensors + config for EMoE ViT-Base
Browse files- README.md +9 -8
- config.json +18 -0
- model.safetensors +3 -0
README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
tags:
|
| 3 |
+
- model_hub_mixin
|
| 4 |
+
- pytorch_model_hub_mixin
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 8 |
+
- Code: [More Information Needed]
|
| 9 |
+
- Paper: [More Information Needed]
|
| 10 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backbone_pretrained": false,
|
| 3 |
+
"moe_config": {
|
| 4 |
+
"alpha": 1.0,
|
| 5 |
+
"apply_to_patches_only": true,
|
| 6 |
+
"blocks": "last6",
|
| 7 |
+
"bottleneck": 192,
|
| 8 |
+
"experts": 8,
|
| 9 |
+
"freeze_backbone": true,
|
| 10 |
+
"ortho_lambda": 0.0005,
|
| 11 |
+
"r": 128,
|
| 12 |
+
"router_mode": "top1",
|
| 13 |
+
"tau": 1.0,
|
| 14 |
+
"unfreeze_layernorm": false
|
| 15 |
+
},
|
| 16 |
+
"num_classes": 1000,
|
| 17 |
+
"vit_model_name": "vit_base_patch16_224"
|
| 18 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d3c017159c961a959e01cb09d594016198146b479049a36fd2ccb7c1f5bdf0a
|
| 3 |
+
size 407673536
|