Skip to content

Commit

Permalink
Update drugs.com dataset URL
Browse files Browse the repository at this point in the history
  • Loading branch information
mikix committed Sep 6, 2023
1 parent 42e075c commit 943f12c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Instance labels should be formatted the same way as in the csv/tsv example above
### Step-by-step finetuning examples
We provided the following step-by-step examples how to finetune in clinical NLP tasks:
#### 1. [Classification task](examples/uci_drug/): using [Drug Review Dataset (Drugs.com) Data Set](https://archive.ics.uci.edu/ml/datasets/Drug+Review+Dataset+%28Drugs.com%29)
#### 1. [Classification task](examples/uci_drug/): using [Drug Review Dataset (Drugs.com) Data Set](https://archive.ics.uci.edu/dataset/462/drug+review+dataset+drugs+com)
#### 2. [Sequence tagging task](examples/chemprot/): using [ChemProt website](https://biocreative.bioinformatics.udel.edu/news/corpora/chemprot-corpus-biocreative-vi/)
Expand Down
2 changes: 1 addition & 1 deletion examples/uci_drug/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Fine-tuning for classification: End-to-end example
1. Download data from [Drug Review Dataset (Drugs.com) Data Set](https://archive.ics.uci.edu/ml/datasets/Drug+Review+Dataset+%28Drugs.com%29) to `data` folder and extract. Pay attention to their terms:
1. Download data from [Drug Review Dataset (Drugs.com) Data Set](https://archive.ics.uci.edu/dataset/462/drug+review+dataset+drugs+com) to `data` folder and extract. Pay attention to their terms:
1. only use the data for research purposes
2. don't use the data for any commerical purposes
3. don't distribute the data to anyone else
Expand Down
4 changes: 2 additions & 2 deletions src/cnlpt/data/transform_uci_drug.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""
Data Download Source:
https://archive.ics.uci.edu/ml/datasets/Drug+Review+Dataset+%28Drugs.com%29
https://archive.ics.uci.edu/dataset/462/drug+review+dataset+drugs+com
Data Source:
Surya Kallumadi
Expand Down Expand Up @@ -90,4 +90,4 @@ def main():


if __name__ == '__main__':
main()
main()

0 comments on commit 943f12c

Please sign in to comment.