Upload model
Browse files- config.json +2 -1
- configuration_cxrmate_ed.py +1 -1
- model.safetensors +1 -1
config.json
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
"CXRMateEDModel"
|
4 |
],
|
5 |
"auto_map": {
|
|
|
6 |
"AutoModel": "modelling_cxrmate_ed.CXRMateEDModel"
|
7 |
},
|
8 |
"decoder": {
|
@@ -35,7 +36,7 @@
|
|
35 |
"projection_size": 768
|
36 |
},
|
37 |
"is_encoder_decoder": false,
|
38 |
-
"model_type": "
|
39 |
"tie_word_embeddings": false,
|
40 |
"torch_dtype": "float32",
|
41 |
"transformers_version": "4.39.3"
|
|
|
3 |
"CXRMateEDModel"
|
4 |
],
|
5 |
"auto_map": {
|
6 |
+
"AutoConfig": "configuration_cxrmate_ed.CXRMateEDConfig",
|
7 |
"AutoModel": "modelling_cxrmate_ed.CXRMateEDModel"
|
8 |
},
|
9 |
"decoder": {
|
|
|
36 |
"projection_size": 768
|
37 |
},
|
38 |
"is_encoder_decoder": false,
|
39 |
+
"model_type": "cxrmate-ed",
|
40 |
"tie_word_embeddings": false,
|
41 |
"torch_dtype": "float32",
|
42 |
"transformers_version": "4.39.3"
|
configuration_cxrmate_ed.py
CHANGED
@@ -9,7 +9,7 @@ logger = logging.get_logger(__name__)
|
|
9 |
|
10 |
class CXRMateEDConfig(PretrainedConfig):
|
11 |
|
12 |
-
model_type = "
|
13 |
|
14 |
def __init__(self, **kwargs):
|
15 |
super().__init__(**kwargs)
|
|
|
9 |
|
10 |
class CXRMateEDConfig(PretrainedConfig):
|
11 |
|
12 |
+
model_type = "cxrmate-ed"
|
13 |
|
14 |
def __init__(self, **kwargs):
|
15 |
super().__init__(**kwargs)
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 789958760
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60f9f0d9dca5f3da1720bed932a4770d2135919a759d7843a5911cf6ef9b25f3
|
3 |
size 789958760
|