syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package assist_ranker;
message TranslateRankerModel {
optional uint32 version = 1;
message TranslateLogisticRegressionModel {
optional float threshold = 12;
optional float bias = 1;
optional float accept_ratio_weight = 2;
optional float decline_ratio_weight = 3;
optional float ignore_ratio_weight = 4;
optional float accept_count_weight = 9;
optional float decline_count_weight = 10;
optional float ignore_count_weight = 11;
map<string, float> source_language_weight = 5;
map<string, float> target_language_weight = 6;
map<string, float> country_weight = 7;
map<string, float> locale_weight = 8;
}
oneof model_revision {
TranslateLogisticRegressionModel translate_logistic_regression_model = 2;
}
}