jestevesv commited on
Commit
8b92202
·
verified ·
1 Parent(s): 40c47bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -3
README.md CHANGED
@@ -1,3 +1,37 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## distilbert-base-spanish-uncased-finetuned-qa-mlqa-onnx
2
+
3
+ **Tags:**
4
+
5
+ * Question Answering
6
+ * Transformers.js
7
+ * ONNX
8
+ * distilbert
9
+ * quantized
10
+ * spanish
11
+
12
+ ### License
13
+
14
+ All Rights Reserved. No part of this model may be redistributed, reused, or cited without express permission from the author.
15
+
16
+ ### Model Description
17
+
18
+ Spanish DistilBERT model fine-tuned for Question Answering (MLQA), exported to ONNX and quantized for Transformers.js.
19
+
20
+ ### Files
21
+
22
+ * `config.json`
23
+ * `tokenizer.json`
24
+ * `tokenizer_config.json`
25
+ * `vocab.txt`
26
+ * `onnx/model_quantized.onnx`
27
+
28
+ ### Usage in Transformers.js
29
+
30
+ ```javascript
31
+ import { pipeline } from '@xenova/transformers';
32
+
33
+ // Load the Spanish QA pipeline
34
+ pipeline('question-answering', 'jestevesv/distilbert-base-spanish-uncased-finetuned-qa-mlqa-onnx', { quantized: true })
35
+ .then(qa => qa('¿Cuál es la capital de Francia?', 'La capital de Francia es París.'))
36
+ .then(result => console.log(result))
37
+ .catch(err => console.error(err));