medal
Large medical text dataset curated for abbreviation disambiguation, designed for natural language understanding pre-training in the medical domain
File Explorer
Download Latest Version (.zip)- electra.py
- lstm.py
- lstm_sa.py
- Preprocessing.ipynb
- run_downstream.py
- run_downstream.sh
- tokenizer_and_dataset.py
- utils.py
- rs_illustration.svg
- electra.py
- lstm_sa.py
- rnn.py
- tokenizer_and_dataset.py
- batch_abstract_clean.py
- batch_abstract_extract.py
- batch_reverse_substitute.py
- cast_to_one_file.sh
- export-huggingface.py
- mimic.py
- diag_to_idx.pkl
- sample.csv
- valid_adam.txt
- .gitignore
- CITATION.cff
- hubconf.py
- README.md
- requirements.txt
- run.py
- run.sh
- utils.py
# Installation Guide
git clone https://github.com/McGill-NLP/medal
Downloads the entire project code from GitHub to your computer.
cd medal
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install transformers
Installs the package published on PyPI directly โ no need to clone the source.
pip install kaggle
Installs the package published on PyPI directly โ no need to clone the source.
Pulled directly from this repo's README.
3. Python
Easypip install transformers
Installs the package published on PyPI directly โ no need to clone the source.
pip install kaggle
Installs the package published on PyPI directly โ no need to clone the source.
python3 -m venv venv
Runs the Python script (or module).
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
Pulled directly from this repo's README.
