yirmibesogluz commited on
Commit
34c7d9a
·
1 Parent(s): b5ea1fe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -9,17 +9,17 @@ tags:
9
  - SMM4H
10
 
11
  widget:
12
- - text: "joints killing me now i have gone back up on the lamotrigine. sick of side effects. sick of meds. want my own self back. knackered today"
13
- example_title: "Adverse Drug Event Detection - ADE"
14
- - text: "bout to have a kick ass summer then it's time to get serious fer school #vyvanse #geekmode"
15
- example_title: "Adverse Drug Event Detection - noADE"
16
  ---
17
 
18
  ## t2t-assert-ade-balanced
19
 
20
  t2t-assert-ade-balanced is a text-to-text (**t2t**) adverse drug event (**ade**) detection model trained with over- and undersampled (balanced) English tweets reporting adverse drug events. It is trained as part of BOUN-TABI system for the Social Media Mining for Health (SMM4H) 2022 shared task. The system description paper has been accepted for publication in *Proceedings of the Seventh Social Media Mining for Health (#SMM4H) Workshop and Shared Task* and will be available soon. The source code has been released on GitHub at [https://github.com/gokceuludogan/boun-tabi-smm4h22](https://github.com/gokceuludogan/boun-tabi-smm4h22).
21
 
22
- The model utilizes the T5 model and its text-to-text formulation. The inputs are fed to the model directly as a sentence/tweet, and receives the output "adverse event problem" or "healthy okay".
23
 
24
  ## Requirements
25
  ```
@@ -34,7 +34,7 @@ from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
34
  tokenizer = AutoTokenizer.from_pretrained("yirmibesogluz/t2t-assert-ade-balanced")
35
  model = AutoModelForSeq2SeqLM.from_pretrained("yirmibesogluz/t2t-assert-ade-balanced")
36
  predictor = pipeline("text2text-generation", model=model, tokenizer=tokenizer)
37
- predictor("joints killing me now i have gone back up on the lamotrigine. sick of side effects. sick of meds. want my own self back. knackered today")
38
  ```
39
 
40
  ## Citation
 
9
  - SMM4H
10
 
11
  widget:
12
+ - text: "assert ade: joints killing me now i have gone back up on the lamotrigine. sick of side effects. sick of meds. want my own self back. knackered today"
13
+ example_title: "ADE"
14
+ - text: "assert ade: bout to have a kick ass summer then it's time to get serious fer school #vyvanse #geekmode"
15
+ example_title: "noADE"
16
  ---
17
 
18
  ## t2t-assert-ade-balanced
19
 
20
  t2t-assert-ade-balanced is a text-to-text (**t2t**) adverse drug event (**ade**) detection model trained with over- and undersampled (balanced) English tweets reporting adverse drug events. It is trained as part of BOUN-TABI system for the Social Media Mining for Health (SMM4H) 2022 shared task. The system description paper has been accepted for publication in *Proceedings of the Seventh Social Media Mining for Health (#SMM4H) Workshop and Shared Task* and will be available soon. The source code has been released on GitHub at [https://github.com/gokceuludogan/boun-tabi-smm4h22](https://github.com/gokceuludogan/boun-tabi-smm4h22).
21
 
22
+ The model utilizes the T5 model and its text-to-text formulation. The inputs are fed to the model with the task prefix "assert ade:", followed with a sentence/tweet. In turn, the output "adverse event problem" or "healthy okay" is received.
23
 
24
  ## Requirements
25
  ```
 
34
  tokenizer = AutoTokenizer.from_pretrained("yirmibesogluz/t2t-assert-ade-balanced")
35
  model = AutoModelForSeq2SeqLM.from_pretrained("yirmibesogluz/t2t-assert-ade-balanced")
36
  predictor = pipeline("text2text-generation", model=model, tokenizer=tokenizer)
37
+ predictor("assert ade: joints killing me now i have gone back up on the lamotrigine. sick of side effects. sick of meds. want my own self back. knackered today")
38
  ```
39
 
40
  ## Citation