--- tags: - question-answering - transformers.js - onnx - distilbert - quantized - english license: other --- # distilbert-base-spanish-uncased-finetuned-qa-mlqa-onnx ## Model Description English 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` - `onnx/model_quantized.onnx` ## Usage in Transformers.js ```javascript import { pipeline } from '@xenova/transformers'; // Load the Spanish QA pipeline pipeline('question-answering', 'jestevesv/distilbert-base-uncased-distilled-squad', { quantized: true }) .then(qa => qa( 'What is the capital of France?', 'The capital of France is Paris.' )) .then(result => console.log(result)) .catch(err => console.error(err));