Migrated repository
Go to file
2018-07-02 01:34:58 +08:00
docs add LICENSE, setup.py & requirements.txt 2018-05-25 18:32:02 +08:00
fastNLP correct spell error 2018-07-01 19:53:55 +08:00
test refactor word_seg model & its test 2018-07-01 19:50:07 +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 add LICENSE, setup.py & requirements.txt 2018-05-25 18:32:02 +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
    │