distilbert-base-spanish-uncased-finetuned-qa-mlqa-onnx
Model Description
Spanish DistilBERT model fine-tuned for question answering on the MLQA dataset, exported to ONNX and quantized for use with Transformers.js.
Files
config.json
tokenizer.json
tokenizer_config.json
vocab.txt
onnx/model_quantized.onnx
Live Demo
This model is in active use on https://plaudere.com/spaces as part of a bilingual Question Answering system. Visitors can select either the Spanish QnA model (this one) or an English QnA model via the website鈥檚 language selector. You can try it out and see the models working in real time by requesting support directly on the site.
Usage in Transformers.js
import { pipeline } from '@xenova/transformers';
// Load the Spanish QA pipeline
pipeline('question-answering', 'jestevesv/distilbert-base-spanish-uncased-finetuned-qa-mlqa-onnx', { quantized: true })
.then(qa => qa(
'驴Cu谩l es la capital de Francia?',
'La capital de Francia es Par铆s.'
))
.then(result => console.log(result))
.catch(err => console.error(err));
- Downloads last month
- 23
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
馃檵
Ask for provider support