Ozan Oktay
commited on
Commit
•
57baed0
1
Parent(s):
278b9b5
Update README.md
Browse files
README.md
CHANGED
@@ -59,9 +59,8 @@ Here is how to use this model to extract radiological sentence embeddings and ob
|
|
59 |
```python
|
60 |
# Load the model and tokenizer
|
61 |
url = "microsoft/BiomedVLP-CXR-BERT-specialized"
|
62 |
-
|
63 |
-
|
64 |
-
model = AutoModel.from_pretrained(url, config=config, use_auth_token=True, trust_remote_code=True)
|
65 |
|
66 |
# Input text prompts (e.g., reference, synonym, contradiction)
|
67 |
text_prompts = ["There is no pneumothorax or pleural effusion",
|
|
|
59 |
```python
|
60 |
# Load the model and tokenizer
|
61 |
url = "microsoft/BiomedVLP-CXR-BERT-specialized"
|
62 |
+
tokenizer = AutoTokenizer.from_pretrained(url, trust_remote_code=True)
|
63 |
+
model = AutoModel.from_pretrained(url, trust_remote_code=True)
|
|
|
64 |
|
65 |
# Input text prompts (e.g., reference, synonym, contradiction)
|
66 |
text_prompts = ["There is no pneumothorax or pleural effusion",
|