Update README.md
Browse files
README.md
CHANGED
@@ -10,75 +10,38 @@ base_model:
|
|
10 |
pipeline_tag: text-classification
|
11 |
---
|
12 |
|
13 |
-
#
|
14 |
|
15 |
-
|
16 |
|
17 |
|
18 |
|
19 |
## Model Details
|
20 |
|
21 |
### Model Description
|
|
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
26 |
-
|
27 |
-
- **Developed by:** [More Information Needed]
|
28 |
-
- **Funded by [optional]:** [More Information Needed]
|
29 |
-
- **Shared by [optional]:** [More Information Needed]
|
30 |
-
- **Model type:** [More Information Needed]
|
31 |
-
- **Language(s) (NLP):** [More Information Needed]
|
32 |
-
- **License:** [More Information Needed]
|
33 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
34 |
-
|
35 |
-
### Model Sources [optional]
|
36 |
-
|
37 |
-
<!-- Provide the basic links for the model. -->
|
38 |
-
|
39 |
-
- **Repository:** [More Information Needed]
|
40 |
-
- **Paper [optional]:** [More Information Needed]
|
41 |
-
- **Demo [optional]:** [More Information Needed]
|
42 |
|
43 |
## Uses
|
44 |
-
|
45 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
46 |
-
|
47 |
### Direct Use
|
48 |
|
49 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
50 |
-
|
51 |
-
[More Information Needed]
|
52 |
-
|
53 |
-
### Downstream Use [optional]
|
54 |
-
|
55 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
56 |
-
|
57 |
-
[More Information Needed]
|
58 |
|
59 |
### Out-of-Scope Use
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
[More Information Needed]
|
64 |
|
65 |
## Bias, Risks, and Limitations
|
66 |
|
67 |
-
|
68 |
-
|
69 |
-
[More Information Needed]
|
70 |
-
|
71 |
-
### Recommendations
|
72 |
-
|
73 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
74 |
|
75 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
76 |
-
|
77 |
-
## How to Get Started with the Model
|
78 |
|
79 |
Use the code below to get started with the model.
|
80 |
|
81 |
-
|
|
|
|
|
82 |
|
83 |
## Training Details
|
84 |
|
|
|
10 |
pipeline_tag: text-classification
|
11 |
---
|
12 |
|
13 |
+
# OphtaBERT Glaucoma Classifier
|
14 |
|
15 |
+
Binary classification for glaucoma diagnosis extraction from unstructured clinical notes.
|
16 |
|
17 |
|
18 |
|
19 |
## Model Details
|
20 |
|
21 |
### Model Description
|
22 |
+
This model is a fine tuned variant of OphthaBERT, which was pretrained on over 2 million clinical notes. This model has been fine tuned for binary classification on labeled clinical notes from Massachusetts Eye and Ear Infirmary.
|
23 |
|
24 |
+
- **Finetuned from model [OphahtBERT-v2]:**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
## Uses
|
27 |
+
We suggest utlizing this model zero-shot for generating binary glaucoma labels for each clininical notes. For continued training on limited data, we suggest freezing the first 10 layers of the model.
|
|
|
|
|
28 |
### Direct Use
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
### Out-of-Scope Use
|
32 |
|
33 |
+
All variants of BERT are known to struggle with negations, but this model has been fine tuned to handle both cases and negations. The context window of the note is 512 tokens, so we suggest chunking notes that are longer than 512 tokens for inference.
|
|
|
|
|
34 |
|
35 |
## Bias, Risks, and Limitations
|
36 |
|
37 |
+
All pretrainig and fine tuning was done on anonymized notes from the Massachusetts Eye and Ear Infirmary
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
|
|
|
|
|
|
39 |
|
40 |
Use the code below to get started with the model.
|
41 |
|
42 |
+
```
|
43 |
+
model = AutoModelForSequenceClassification.from_pretrained("ShahRishi/OphthaBERT-v2-glaucoma-binary"
|
44 |
+
```
|
45 |
|
46 |
## Training Details
|
47 |
|