提交 d14443f1 编写于 作者: Y Yanjun Peng

fix dataset public api build_vocab

上级 c17c525f
......@@ -895,7 +895,6 @@ class Dataset:
return ProjectDataset(self, columns)
def build_vocab(self, vocab, columns, freq_range, top_k, special_tokens, special_first):
""" Internal function for building a vocab"""
return BuildVocabDataset(self, vocab, columns, freq_range, top_k, special_tokens, special_first)
def apply(self, apply_func):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册