Migrated repository
Go to file
2018-07-27 17:06:49 +08:00
docs add LICENSE, setup.py & requirements.txt 2018-05-25 18:32:02 +08:00
fastNLP Update config_loader.py 2018-07-27 17:06:49 +08:00
reproduction restructure module: 4 classes; add modules; move prototype and rename 2018-07-12 21:53:42 +08:00
test fastnlp.py works, see test/test_fastNLP.py for high-level API 2018-07-26 22:19:30 +08:00
LICENSE add LICENSE, setup.py & requirements.txt 2018-05-25 18:32:02 +08:00
README.md Update README.md 2018-07-01 10:59:38 +08:00
requirements.txt sequence labeling ready to Train! 2018-07-10 20:46:35 +08:00
setup.py add LICENSE, setup.py & requirements.txt 2018-05-25 18:32:02 +08:00

FastNLP

FastNLP
│  LICENSE
│  README.md
│  requirements.txt
│  setup.py
|
├─docs  (documentation)
|
└─tests  (unit tests, intergrating tests, system tests)
|   │  test_charlm.py
|   │  test_loader.py
|   │  test_trainer.py
|   │  test_word_seg.py
|   │
|   └─data_for_tests  (test data used by models)
|            charlm.txt
|            cws_test
|            cws_train
|
└─fastNLP
    ├─action      (model independent process)
    │  │  action.py (base class)
    │  │  README.md
    │  │  tester.py (model testing, for deployment and validation)
    │  │  trainer.py  (main logic for model training)
    │  │  __init__.py
    │  │
    |
    │
    ├─loader    (file loader for all loading operations)
    │   |  base_loader.py  (base class)
    │   |  config_loader.py   (model-specific configuration/parameter loader)
    │   |  dataset_loader.py  (data set loader, base class)
    │   |  embed_loader.py    (embedding loader, base class)
    │   |  __init__.py
    │
    ├─model  (definitions of PyTorch models)
    │  │  base_model.py  (base class, abstract)
    │  │  char_language_model.py  (derived class, to implement abstract methods)
    │  │  word_seg_model.py  
    │  │  __init__.py
    │  │
    │
    ├─reproduction   (code library for paper reproduction)
    │  ├─Char-aware_NLM
    │  │
    │  ├─CNN-sentence_classification
    │  │
    │  └─HAN-document_classification
    │
    ├─saver  (file saver for all saving operations)
    │      base_saver.py
    │      logger.py
    │      model_saver.py
    │