Ahmet Yildirim commited on
Commit
6dfe435
·
1 Parent(s): 213a3de

- Development

Browse files
Files changed (1) hide show
  1. modeling_humit_tagger.py +1 -1
modeling_humit_tagger.py CHANGED
@@ -50,7 +50,7 @@ class HumitTaggerModel(torch.nn.Module):
50
  fullformlist_file = hf_hub_download(repo_id=repo_name, filename=kwargs["this_model_config"]["fullformlist_file"])
51
 
52
  # Copy base model's configuration python file into our working directory
53
- # config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)) , os.path.basename(base_config_file))
54
  shutil.copyfile(base_config_file, config_file_path)
55
 
56
  # HACK: Modify base model main file since __init.py__ has already been read and the new file must not contain relative imports
 
50
  fullformlist_file = hf_hub_download(repo_id=repo_name, filename=kwargs["this_model_config"]["fullformlist_file"])
51
 
52
  # Copy base model's configuration python file into our working directory
53
+ config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)) , os.path.basename(base_config_file))
54
  shutil.copyfile(base_config_file, config_file_path)
55
 
56
  # HACK: Modify base model main file since __init.py__ has already been read and the new file must not contain relative imports