Skip to content
/ contk Public
forked from thu-coai/cotk

Conversational toolkits. A simple way to evaluate your model fairly!

License

Notifications You must be signed in to change notification settings

tuxchow/contk

 
 

Repository files navigation

Conversational Toolkits

CodeFactor Coverage Status Build Status

Environment

  • python 3
  • numpy >= 1.13
  • nltk >= 3.2

Document

Please refer to document

To Developer

Contk Package

./contk is the package folder.

  • All your code must followed a coding standard specified by Pylint. You can simply install Pylint via pip:

    pip install pylint
    

    In this project, you should follow the default pylint configuration that we provide and check contk after you update it:

    pylint contk
    
  • Class and function docstring are always required.

Some suggestions for docstring

You can have a look at docstring in other files. Or you may want to go to learn how docstring is written in other projects:

Here are some references of docstring (it is a part of reStructuredText, like markdown).

Models

You can implement your model in './models'.

  • Before you run a model, you have to install contk by run pip install -e . in project root directory.
  • When you run a model, your CWD(current working directory) should be model's folder (eg: Using python run.py in ./model/seq2seq-pytorch).
  • Code style is not so strict in your model implementation.
  • But you have to explain how to use your model.
  • You should provide a pretrained model file for your implementation. (But don't commit it to git repo.)

The Team

Contk is maintained and developed by THU-coai group from Tsinghua University.

This project is welcome for community contribution.

License

MIT License

About

Conversational toolkits. A simple way to evaluate your model fairly!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%