Upload folder using huggingface_hub
Browse files- config.json +1 -0
- configuration_embedder_with_mlp.py +0 -4
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -15,6 +15,7 @@
|
|
| 15 |
64
|
| 16 |
],
|
| 17 |
"input_size": 768,
|
|
|
|
| 18 |
"model_type": "embedder_with_mlp",
|
| 19 |
"transformers_version": "4.56.1"
|
| 20 |
}
|
|
|
|
| 15 |
64
|
| 16 |
],
|
| 17 |
"input_size": 768,
|
| 18 |
+
"model_name": null,
|
| 19 |
"model_type": "embedder_with_mlp",
|
| 20 |
"transformers_version": "4.56.1"
|
| 21 |
}
|
configuration_embedder_with_mlp.py
CHANGED
|
@@ -10,8 +10,4 @@ class EmbedderWithMLPConfig(PretrainedConfig):
|
|
| 10 |
self.dropout_ratio = dropout_ratio
|
| 11 |
self.model_name = model_name
|
| 12 |
|
| 13 |
-
def to_dict(self):
|
| 14 |
-
output = super().to_dict()
|
| 15 |
-
output["model_name"] = self.model_name # 이 한 줄이 없으면 저장 안 됨
|
| 16 |
-
return output
|
| 17 |
|
|
|
|
| 10 |
self.dropout_ratio = dropout_ratio
|
| 11 |
self.model_name = model_name
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 439169436
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5384ed5747695a82afa65a7341255030ebe2435f4457abe969b2c72db51e521b
|
| 3 |
size 439169436
|