anicolson commited on
Commit
7aad7e4
1 Parent(s): 51e91da

Upload model

Browse files
Files changed (3) hide show
  1. config.json +4 -1
  2. configuration_cxrmate_ed.py +2 -1
  3. model.safetensors +1 -1
config.json CHANGED
@@ -32,8 +32,11 @@
32
  "vocab_size": 30000
33
  },
34
  "encoder": {
 
 
35
  "model_type": "vit",
36
- "projection_size": 768
 
37
  },
38
  "is_encoder_decoder": false,
39
  "model_type": "cxrmate-ed",
 
32
  "vocab_size": 30000
33
  },
34
  "encoder": {
35
+ "_name_or_path": "",
36
+ "architectures": null,
37
  "model_type": "vit",
38
+ "projection_size": 768,
39
+ "torch_dtype": null
40
  },
41
  "is_encoder_decoder": false,
42
  "model_type": "cxrmate-ed",
configuration_cxrmate_ed.py CHANGED
@@ -40,7 +40,8 @@ class CXRMateEDConfig(PretrainedConfig):
40
 
41
 
42
  if 'encoder' not in kwargs:
43
- self.encoder = UniFormerWithProjectionHeadConfig(
 
44
  projection_size=768,
45
  )
46
  else:
 
40
 
41
 
42
  if 'encoder' not in kwargs:
43
+ self.encoder = UniFormerWithProjectionHeadConfig.from_pretrained(
44
+ 'aehrc/uniformer_base_tl_384',
45
  projection_size=768,
46
  )
47
  else:
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:60f9f0d9dca5f3da1720bed932a4770d2135919a759d7843a5911cf6ef9b25f3
3
  size 789958760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:228c5442c865e9f608d6120df7c80199540a18bc3fc20675521086d15361d867
3
  size 789958760