This repo is developed under Python 3.10
- Clone the repo
git clone https://github.com/ALS15204/load_prediction.git
- Build venv: under the repo root
python3.10 -m venv ./
- Install requirements
pip install -r requirements.txt
- At project root, retrieve data with
git clone https://github.com/leslie-huang/UN-named-entity-recognition```
- To finetune a model, run
python scripts/ner/finetune_lm_ner.py`
- To run inference with a pretrained model, run
python scripts/ner/predict_with_un_ner.py`