Instructions to use timpal0l/mdeberta-v3-base-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use timpal0l/mdeberta-v3-base-squad2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="timpal0l/mdeberta-v3-base-squad2")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("timpal0l/mdeberta-v3-base-squad2") model = AutoModelForQuestionAnswering.from_pretrained("timpal0l/mdeberta-v3-base-squad2") - Inference
- Notebooks
- Google Colab
- Kaggle
Works in portuguese
#6
by ferosadigital - opened
O modelo funciona para texto (um pra um). Passa a question e o contexto (texto) como variaveis. Retorna: score, start, end, answer.
ferosadigital changed discussion title from For portuguese to Works in portuguese