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
When I try to run the local classifier without making an LLM called the following line results in an error:
https://github.com/tryolabs/restricttotopic/blob/main/validator/main.py#L360 TypeError: unsupported operand type(s) for +: 'set' and 'set'
Which I believe is a simple fix from
candidate_topics = model_input["valid_topics"] + model_input["invalid_topics"]
to
candidate_topics = list(model_input["valid_topics"]) + list(model_input["invalid_topics"])
happy to raise a PR to help out
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I try to run the local classifier without making an LLM called the following line results in an error:
https://github.com/tryolabs/restricttotopic/blob/main/validator/main.py#L360
TypeError: unsupported operand type(s) for +: 'set' and 'set'
Which I believe is a simple fix from
to
happy to raise a PR to help out
The text was updated successfully, but these errors were encountered: