fasttext 中多标签标签的正确格式是什么?

What is the right format for label for multi label in fasttext?

目前我正在研究堆栈溢出标签预测,我正在使用 fasttext 进行文本分类。

我想知道 if label multiclass 的标签的正确格式是什么。

 1.) __label__toxic__label__racist__label__insult
2.)__label__toxic, __label__racist, __label__insult

3.)__label__toxic __label__racist __label__insult
4.)__label__toxic,__label__racist,__label__insult

谁能告诉我哪一个是真的。

第三个是正确的格式,正如你在这个example file from FastText tutorial for text classification中看到的:

__label__sauce __label__cheese How much does potato starch affect a cheese sauce recipe? __label__sauce __label__storage-lifetime __label__acidity __label__mayonnaise Regulation and balancing of readymade packed mayonnaise and other sauces