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
Evaluate this model: https://github.com/welfare-state-analytics/bert-riksdagen-classifier/releases/tag/v0.1.0 . We probably want a separate script that takes in a huggingface model, and evaluates it on a (validation) dataset.
The text was updated successfully, but these errors were encountered:
The new release (v0.2.0) works with the huggingface pipeline
>>> from transformers import pipeline >>> cls = pipeline("text-classification", model="./ft2classes") >>> cls("Herr talman!") [{'label': 'note', 'score': 0.6480845212936401}]
Now we just need to adjust the script to actually use the hugginface class, so that we can evaluate both models v0.1 and v0.2
Sorry, something went wrong.
No branches or pull requests
Evaluate this model: https://github.com/welfare-state-analytics/bert-riksdagen-classifier/releases/tag/v0.1.0 . We probably want a separate script that takes in a huggingface model, and evaluates it on a (validation) dataset.
The text was updated successfully, but these errors were encountered: