dibsondivya
commited on
Commit
•
42b3dc0
1
Parent(s):
9e8f7da
Update README.md
Browse files
README.md
CHANGED
@@ -24,18 +24,18 @@ model-index:
|
|
24 |
|
25 |
# distilbert-phmtweets-sutd
|
26 |
|
27 |
-
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) for text classification to identify public health events through tweets. The
|
28 |
|
29 |
It achieves the following results on the evaluation set:
|
30 |
- Accuracy: 0.877
|
31 |
|
32 |
## Usage
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
|
40 |
|
41 |
### Model Evaluation Results
|
|
|
24 |
|
25 |
# distilbert-phmtweets-sutd
|
26 |
|
27 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) for text classification to identify public health events through tweets. The project was based on an [Emory University Study on Detection of Personal Health Mentions in Social Media paper](https://arxiv.org/pdf/1802.09130v2.pdf), that worked with this [custom dataset](https://github.com/emory-irlab/PHM2017).
|
28 |
|
29 |
It achieves the following results on the evaluation set:
|
30 |
- Accuracy: 0.877
|
31 |
|
32 |
## Usage
|
33 |
|
34 |
+
```Python
|
35 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
36 |
+
tokenizer = AutoTokenizer.from_pretrained("dibsondivya/distilbert-phmtweets-sutd")
|
37 |
+
model = AutoModelForSequenceClassification.from_pretrained("dibsondivya/distilbert-phmtweets-sutd")
|
38 |
+
```
|
39 |
|
40 |
|
41 |
### Model Evaluation Results
|