samdei-type-mini / rerank.json
mengsay's picture
v1
9ca976b verified
Raw History Blame Contribute Delete
854 Bytes
{
"model": "Samdei Type Mini",
"version": "v1",
"backend": "onnx",
"beam": 5,
"chunk_max_words": 8,
"chunk_rule": "samdei_type.evaluation.chunk_source: at most 8 words per piece, break after any punctuation mark; pieces are decoded and reranked on their own and joined with a space",
"output_rule": "samdei_type.text.drop_commas: a comma that is not between two digits becomes a space",
"score": "log P(y|x) + char*log P_char(y) + word*log P_word(y) - oov*#OOV(y) + channel*log P_ch(x|y)",
"rerank_weights": {
"char": 0.0,
"word": 0.3,
"oov": 1.0,
"channel": 0.0
},
"char_lm": null,
"word_lm": "lm/wordfull_nowiki_p25.json.gz",
"channel_model": null,
"channel_self": false,
"max_input_chars": 249,
"weights_tuned_on": "closed development set, whole input, 2-fold cross-validated grid search; applied unchanged to 8-word pieces"
}