bigdata-ustc / EduNLP

A library for advanced Natural Language Processing towards multi-modal educational items.
Apache License 2.0
51 stars 18 forks source link

[DOC] add demos for difficulty & discrimination prediction #140

Closed ShangziXue closed 1 year ago

ShangziXue commented 1 year ago

Thanks for sending a pull request! Please make sure you click the link above to view the contribution guidelines, then fill out the blanks below.

Description

add demos for difficulty & discrimination prediction

What does this implement/fix? Explain your changes.

add demos for difficulty & discrimination prediction

Pull request type

Changes

add demos for difficulty & discrimination prediction

Does this close any currently open issues?

No

Any relevant logs, error output, etc?

No

Checklist

Before you submit a pull request, please make sure you have to following:

Essentials

Comments

nnnyt commented 1 year ago

Move your demo code to the directoryexamples/downstream/:

  1. move your notebook to examples/downstream/difficulty_prediction.ipynb and examples/downstream/discrimination_prediction.ipynb
  2. remove examples/diff_disc_pred/src/common.py (You can simply add the code in the beginning of your notebook).

Also, the utils fold should be moved to examples/downstream/utils.py.

nnnyt commented 1 year ago

Add your name and github account to AUTHORS.md, since it is your first contribution

BTW, always modify and update your code to the branch dev

nnnyt commented 1 year ago

Also some codes that handle the config are necessary in __init__. Please run your demo and see what other modifications are needed. Writing a correct demo is IMPORTANT for you since you need to write instructions for downstream task models in EduNLP tutorials later.