bbb7d6578f346897c76767ed790b94fdd183a742,src/tasks.py,STSBTask,__init__,#STSBTask#Any#Any#Any#,477
Before Change
self.load_data(path, max_seq_len)
self.sentences = self.train_data_text[0] + self.train_data_text[1] + \
self.val_data_text[0] + self.val_data_text[1]
self.scorer1 = Average()
self.scorer2 = Average()
self.val_metric = "%s_corr" % self.name
self.val_metric_decreases = False
After Change
self.val_data_text[0] + self.val_data_text[1]
//self.scorer1 = Average()
//self.scorer2 = Average()
self.scorer1 = Correlation("pearson")
self.scorer2 = Correlation("spearman")
self.val_metric = "%s_corr" % self.name
self.val_metric_decreases = False
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: jsalt18-sentence-repl/jiant
Commit Name: bbb7d6578f346897c76767ed790b94fdd183a742
Time: 2018-07-02
Author: wang.alex.c@gmail.com
File Name: src/tasks.py
Class Name: STSBTask
Method Name: __init__
Project Name: jsalt18-sentence-repl/jiant
Commit Name: bbb7d6578f346897c76767ed790b94fdd183a742
Time: 2018-07-02
Author: wang.alex.c@gmail.com
File Name: src/tasks.py
Class Name: CoLATask
Method Name: __init__
Project Name: jsalt18-sentence-repl/jiant
Commit Name: bbb7d6578f346897c76767ed790b94fdd183a742
Time: 2018-07-02
Author: wang.alex.c@gmail.com
File Name: src/tasks.py
Class Name: PairOrdinalRegressionTask
Method Name: __init__