Spaces:
Running
Running
Commit ·
ebfe92b
1
Parent(s): 6f3b33b
Update
Browse files97 unmodified lines989910010110210110210310497 unmodified lines
tagger = load_object(train_config.trainer_config["fn"], train_config.trainer_config["kwargs"]) # checkpoint_path = hf_hub_download(repo_id="SinaLab/Nested", local_dir="checkpoints") checkpoint_path = snapshot_download(model_id="SinaLab/Nested", cache_dir="checkpoints")
checkpoint_path = snapshot_download(repo_id="SinaLab/Nested", repo_type="checkpoints")
tagger.load(checkpoint_path) return tagger, tag_vocab, train_configNested/utils/helpers.py+1-2