dibsondivya commited on
Commit
42b3dc0
1 Parent(s): 9e8f7da

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
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 dataset was used in an [Emory University Study on Detection of Personal Health Mentions in Social Media](https://arxiv.org/pdf/1802.09130v2.pdf), 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
- `from transformers import AutoTokenizer, AutoModelForSequenceClassification`
35
-
36
- `tokenizer = AutoTokenizer.from_pretrained("dibsondivya/distilbert-phmtweets-sutd")`
37
-
38
- `model = AutoModelForSequenceClassification.from_pretrained("dibsondivya/distilbert-phmtweets-sutd")`
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