提交 b2c7f597 编写于 作者: S shenwei41

Modify format

上级 def45cc6
...@@ -188,11 +188,10 @@ class SentencePieceVocab(cde.SentencePieceVocab): ...@@ -188,11 +188,10 @@ class SentencePieceVocab(cde.SentencePieceVocab):
params(dict): A dictionary with no incoming parameters(The parameters are derived from SentencePiece params(dict): A dictionary with no incoming parameters(The parameters are derived from SentencePiece
library). library).
.. code-block :: .. code-block::
{
"input_sentence_size" : 0, input_sentence_size 0
"max_sentencepiece_length" : 16 max_sentencepiece_length 16
}
""" """
return super().from_file(file_path, vocab_size, character_coverage, return super().from_file(file_path, vocab_size, character_coverage,
DE_C_INTER_SENTENCEPIECE_MODE[model_type], params) DE_C_INTER_SENTENCEPIECE_MODE[model_type], params)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册