Update automodel.py
Browse files- automodel.py +2 -2
automodel.py
CHANGED
@@ -43,7 +43,7 @@ class MosaicBertForEmbeddingGeneration(BertPreTrainedModel):
|
|
43 |
|
44 |
# Download the model file
|
45 |
archive_file = hf_hub_download(
|
46 |
-
repo_id=
|
47 |
filename="model.safetensors",
|
48 |
**kwargs
|
49 |
)
|
@@ -122,7 +122,7 @@ class ClinicalMosaicForSequenceClassification(BertPreTrainedModel):
|
|
122 |
|
123 |
# Download the model file
|
124 |
archive_file = hf_hub_download(
|
125 |
-
repo_id=
|
126 |
filename="model.safetensors",
|
127 |
**kwargs
|
128 |
)
|
|
|
43 |
|
44 |
# Download the model file
|
45 |
archive_file = hf_hub_download(
|
46 |
+
repo_id=pretrained_checkpoint,
|
47 |
filename="model.safetensors",
|
48 |
**kwargs
|
49 |
)
|
|
|
122 |
|
123 |
# Download the model file
|
124 |
archive_file = hf_hub_download(
|
125 |
+
repo_id=pretrained_checkpoint,
|
126 |
filename="model.safetensors",
|
127 |
**kwargs
|
128 |
)
|