Llhthinker Slot Filling Save

Blog: https://www.cnblogs.com/llhthinker/p/8978029.html

Project README

Requirements

  • Pytorch 0.3.0 or newer
  • Python 3.6
  • Perl

Usage

  • Training and Prediction

    python main.py [-h] [--train-data-path TRAIN_DATA_PATH]
                   [--test-data-path TEST_DATA_PATH]
                   [--slot-names-path SLOT_NAMES_PATH]
                   [--saved-model-path SAVED_MODEL_PATH]
                   [--result-path RESULT_PATH] [--mode {elman,jordan,hybrid,lstm}]
                   [--bidirectional] [--cuda]
    
  • Evaluation

    perl eval/conlleval.pl -d "\t" < data/output.txt
    
Open Source Agenda is not affiliated with "Llhthinker Slot Filling" Project. README Source: llhthinker/slot-filling
Stars
42
Open Issues
0
Last Commit
6 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating