- Rename working_gpus() -> cuda_visible_devices()
- Update ClassificationTrainArguments:
- Add members: accelerator, strategy, devices
- Rename member: fp16 -> precision
- Update nlpbook/ner/arguments.py:
- Add NERArguments
- Update NERTrainArguments
- Update NERDeployArguments
- Add ratsnlp.nlpbook.arguments:
- Add NLUArguments, NLUTrainArguments, NLUDeployArguments
- Update chrislab/ratsnlp/cli.py:
- Rename train() -> train_cls()
- Rename serve() -> serve_cls()
- Add train_ner()
- Update ratsnlp/nlpbook
- ner/corpus.py:
= args.downstream_model_dir -> args.downstream_model_home
= args.downstream_corpus_root_dir -> args.downstream_data_home
= args.downstream_corpus_name -> args.downstream_data_name
- trainer.py:
= args: ClassificationTrainArguments | NERTrainArguments
- Add train_ner(): 교재를 참고하여 ratsnlp 이용한 NER 학습 구현!
- Add serve_ner(): NER 추론 기능 구현 완료!
- Update ClassificationArguments, NERArguments:
- working_config_file set according to run type
- Update NERTask:
- Update configure_optimizers(): 'scheduler' -> 'lr_scheduler'
- 파일 정리: ratsnlp.nlpbook.classification, rats.nlp.ner
- Import pytorch_lightning instead of lightning
- Python version >= 3.9