shallowblueQAQ commited on
Commit
5bfc616
·
verified ·
1 Parent(s): 9023a3f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -74,7 +74,7 @@ config = AutoConfig.from_pretrained(repo_id, subfolder=subfolder)
74
  tokenizer = AutoTokenizer.from_pretrained(repo_id, subfolder=subfolder)
75
 
76
  # 2. Initialize Model Architecture
77
- model = BERTDiseaseClassifier(model_type=config._name_or_path, num_symps=len(config.id2label))
78
 
79
  # 3. Load Weights
80
  weights_path = hf_hub_download(repo_id=repo_id, subfolder=subfolder, filename="pytorch_model.bin")
 
74
  tokenizer = AutoTokenizer.from_pretrained(repo_id, subfolder=subfolder)
75
 
76
  # 2. Initialize Model Architecture
77
+ model = BERTDiseaseClassifier(model_type="bert-large-uncased", num_symps=len(config.id2label))
78
 
79
  # 3. Load Weights
80
  weights_path = hf_hub_download(repo_id=repo_id, subfolder=subfolder, filename="pytorch_model.bin")