We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, the compiler doesn't support programs with numerical Maps that have negative output values for some inputs (cf PR #13).
For example, the program
out = rasp.numerical(rasp.Map(lambda x: x - 1, rasp.tokens))
raises an error when compiled with vocab={0,1,2} (or any vocab including values <= 0).
vocab={0,1,2}
It would be nice to support this; for example, negative values could be shifted by a bias parameter.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, the compiler doesn't support programs with numerical Maps that have negative output values for some inputs (cf PR #13).
For example, the program
raises an error when compiled with
vocab={0,1,2}
(or any vocab including values <= 0).It would be nice to support this; for example, negative values could be shifted by a bias parameter.
The text was updated successfully, but these errors were encountered: