You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometimes I get an array with a correct tag, but other times it returns gibberish with random characters or the tags joined together in a string, for example the sentence "Service my XBox dvd drive" returns this output:
["sco comhermer fililys.AAouto afamily.shopping"]
I read somewhere that LSTM cannot classify so I am ok with this but what do you suggest?
Will something like making a matching table with numbers and tag words work? Something like:
1: orders
2: errands
3: family
4: personal
.....
and then feeding the output of my training data with numbers ?
Is it something not expected to work as I am hoping to or is it a bug?
The text was updated successfully, but these errors were encountered:
The gibberish is probably due to 2 reasons, the model learns to read and write character by character an not word by word, the second I would say is that 1,000 iterations seems quite low for training.
For now I would recommend splitting your input into words, with a space after each, and same for your output, add a space so they don't collapse like "errandsorders".
I've filled an issue for a feature request here #871 since I think this is a recurrent issue that is not so well documented.
I have a bunch of sentences and I want to generate tags for each one. I have my data which are simple:
I am training the model simply with :
When I run a:
sometimes I get an array with a correct tag, but other times it returns gibberish with random characters or the tags joined together in a string, for example the sentence "Service my XBox dvd drive" returns this output:
I read somewhere that LSTM cannot classify so I am ok with this but what do you suggest?
Will something like making a matching table with numbers and tag words work? Something like:
and then feeding the output of my training data with numbers ?
Is it something not expected to work as I am hoping to or is it a bug?
The text was updated successfully, but these errors were encountered: