Instructions to use crodri/roberta-base-ca-v2-qa-catalanqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use crodri/roberta-base-ca-v2-qa-catalanqa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="crodri/roberta-base-ca-v2-qa-catalanqa")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("crodri/roberta-base-ca-v2-qa-catalanqa") model = AutoModelForQuestionAnswering.from_pretrained("crodri/roberta-base-ca-v2-qa-catalanqa") - Notebooks
- Google Colab
- Kaggle
The roberta-base-ca-cased-qa is a Question Answering (QA) model for the Catalan language fine-tuned from the BERTa model, a RoBERTa base model pre-trained on a medium-size corpus collected from publicly available corpora and crawlers (check the BERTa model card for more details).
Datasets
We used the Catalan QA datasets called ViquiQuAD, VilaQuad and XQuad_ca with test, training and evaluation (90-10-10) splits, balanced by type of questions.
Test: 2255 Evaluation: 2276 Train: 18082
- Downloads last month
- 5