Skip to content

zyh190507/KnnContrastiveForOOD

Repository files navigation

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]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages