commit files to HF hub
Browse files- model.ckpt +1 -1
- model.py +0 -1
model.ckpt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 513965711
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b31e716bdd66ec19bed164fdfd5ccf2df3f3da4c2e45462f6dac24c93f03cc3
|
3 |
size 513965711
|
model.py
CHANGED
@@ -19,7 +19,6 @@ class PreTrainedModel(Runner):
|
|
19 |
ckp["Args"].init_ckpt = ckp_file
|
20 |
ckp["Args"].mode = "inference"
|
21 |
ckp["Args"].device = "cpu" # Just to try in my computer
|
22 |
-
ckp["Args"].from_hf_hub = True # lewtun: Debug to see if this loads model
|
23 |
ckp["Config"]["downstream_expert"]["datarc"]["dict_path"]=os.path.join(path,'char.dict')
|
24 |
|
25 |
Runner.__init__(self, ckp["Args"], ckp["Config"])
|
19 |
ckp["Args"].init_ckpt = ckp_file
|
20 |
ckp["Args"].mode = "inference"
|
21 |
ckp["Args"].device = "cpu" # Just to try in my computer
|
|
|
22 |
ckp["Config"]["downstream_expert"]["datarc"]["dict_path"]=os.path.join(path,'char.dict')
|
23 |
|
24 |
Runner.__init__(self, ckp["Args"], ckp["Config"])
|