README.md

April 26, 2022 ยท View on GitHub

Source code for 'KNN-Contrastive Learning for Out-of-Domain Intent Classofication'.

Dependencies

Use anaconda to create python environemnt:

[conda create --name python=3.6.12]

Install all required libraries:

[pip install -r requirements.txt]

Usage:

Run the experiments (for example banking_25):

[python run_main.py json/banking_25.json]

Results:

[Results stored in model_output, e.g. banaking_0.25.csv]

Contents

  1. 1Source code for 'KNN-Contrastive Learning for Out-of-Domain Intent Classofication'.
  2. 2Dependencies
  3. 2.1Use anaconda to create python environemnt:
  4. 2.2Install all required libraries:
  5. 3Usage:
  6. 3.1Run the experiments (for example banking_25):
  7. 4Results: