Substring not found #97
-
Hi Lambeq support, I am trying to train a binary classification model using my own dataset, i am using the quantum pipeline example in lambeq documentation, some sentences after BobcatParser parsing, when I pass them to IQPAnsatz this returns the following error "Substring not found" could this be a BobcatParser problem? Thanks for the help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @DJHeisenberg01 could you please share the error message and stacktrace, and ideally the notebook cell which raises this? |
Beta Was this translation helpful? Give feedback.
-
@DJHeisenberg01 If there is any box (word) for a comma or any other punctuation (e.g. ":"), you might want to make sure that its label is a literal, e.g. change it to |
Beta Was this translation helpful? Give feedback.
@DJHeisenberg01 If there is any box (word) for a comma or any other punctuation (e.g. ":"), you might want to make sure that its label is a literal, e.g. change it to
\,
. This is something we'll fix in the next release, but doing so it will fix your problem.