Skip to content

chho33/evaluation_kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-Request (execute first to download and install dependencies):

  • python version: 3.6 up

  • execute pip install -r requirements.txt

  • Please download the following files and put them into correct directory manually:

coh1 model

mv coh1.tar.gz evaluation_kit/saved_models/coh1/;
cd evaluation_kit/saved_models/coh1;
tar zxf coh1.tar.gz --strip 1; rm coh1.tar.gz;

coh2 model

mv coh2.tar.gz evaluation_kit/saved_models/coh2/;
cd evaluation_kit/saved_models/coh2;
tar zxf coh2.tar.gz --strip 1; rm coh2.tar.gz;

LM_model

mv LM.tar.gz evaluation_kit/saved_models/LM/;
cd evaluation_kit/saved_models/LM;
tar zxf LM.tar.gz --strip 1; rm LM.tar.gz;

sentiment model

mv Model07.tar.gz evaluation_kit/saved_models/entiment_analysis/;
cd evaluation_kit/saved_models/sentiment_analysis;
tar zxf Model07.tar.gz; rm Model07.tar.gz;

fasttext_vectors

mv fasttext.npy.zip evaluation_kit/data/;
cd evaluation_kit/data;
unzip fasttext.npy.zip;
  • execute ./download.sh

Usage:

  • ./run.sh [-d=$data_path|--data_path=$data_path] [-l=$log_path|--log_path=$log_path] (default of $data_path: ./data/test_raw.csv; default of $log_path: ./logs/`date +%s`.log )
  • example: ./run.sh -d=data/result.csv -l=logs/result.log
Reminder: the format of test_raw.csv must contain "context" and "utterance" column.
after ./run.sh executed, the log will dump in ./logs directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published