facebookresearch / fastText

Library for fast text representation and classification.
https://fasttext.cc/
MIT License
25.89k stars 4.71k forks source link

Is "__label__cat" used as input when "./fasttext predict model.bin labelled_samples.txt" #1302

Open junwang-wish opened 1 year ago

junwang-wish commented 1 year ago

Given my labelled_samples.txt like below, Is __label__cat used as input when ./fasttext predict model.bin labelled_samples.txt or is __label__* automatically ignored when running predict?

__label__cat beautiful cat
__label__dog beautiful dog

We clearly do not want __label__* to be used during predict as it is the worst form of data leaking.