Fasttext: Multiple labels in training data

Created on 25 Apr 2017  路  5Comments  路  Source: facebookresearch/fastText

Hi,

Is it possible for fastText to run on the training data in which multiple labels for each instance are employed, e.g.,

__label__A __label__C particularly in already existing electrical buildings installations , it is a simple matter to integrate the inventive circuit .

Thanks!

Most helpful comment

It doesn't make any difference! You can use either of any format,
__label__1,__label__2 or __label__1 , __label__2 or __label__1, __label__2

All 5 comments

You can use multiple labels like this:
__label__A, __label__C particularly in already existing electrical buildings installations , it is a simple matter to integrate the inventive circuit .

Related information here : #72

@spate141 : Thanks for pointing to the related issue. Still a bit confused. Which one of the followings is correct:

1) __label__A, __label__C particularly in already existing electrical buildings installations , it is a simple matter to integrate the inventive circuit .

2) __label__A , __label__C particularly in already existing electrical buildings installations , it is a simple matter to integrate the inventive circuit .

Thanks!

It doesn't make any difference! You can use either of any format,
__label__1,__label__2 or __label__1 , __label__2 or __label__1, __label__2

Cool. Thanks!

Hello, if I use __label__1,__label__2 and it will consider that just one label, right @spate141 ??

Was this page helpful?
0 / 5 - 0 ratings

Related issues

flybirp picture flybirp  路  4Comments

loretoparisi picture loretoparisi  路  3Comments

hughbzhang picture hughbzhang  路  3Comments

kurtjanssensai picture kurtjanssensai  路  3Comments

shriiitk picture shriiitk  路  3Comments