Instructions to use clarin-knext/herbert-large-poquad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use clarin-knext/herbert-large-poquad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="clarin-knext/herbert-large-poquad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("clarin-knext/herbert-large-poquad") model = AutoModelForQuestionAnswering.from_pretrained("clarin-knext/herbert-large-poquad") - Notebooks
- Google Colab
- Kaggle
How to use:
from transformers import pipeline
question_answerer = pipeline("question-answering", model="clarin-knext/herbert-large-poquad")
question="Jakie miasto jest stolic膮 Polski?"
context="Polska to pi臋kny kraj kt贸rego stolic膮 jest Warszawa."
question_answerer(question=question, context=context)
- Downloads last month
- 3