Update README.md
Browse files
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=
|
| 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")
|