jestevesv commited on
Commit
6b71c8b
verified
1 Parent(s): 8b92202

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -30
README.md CHANGED
@@ -1,37 +1,35 @@
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));
 
1
+ ---
2
+ tags:
3
+ - question-answering
4
+ - transformers.js
5
+ - onnx
6
+ - distilbert
7
+ - quantized
8
+ - spanish
9
+ license: other
10
+ ---
11
+
12
+ # distilbert-base-spanish-uncased-finetuned-qa-mlqa-onnx
13
+
14
+ ## Model Description
15
+ Spanish DistilBERT model fine-tuned for question answering on the MLQA dataset, exported to ONNX and quantized for use with Transformers.js.
16
+
17
+ ## Files
18
+ - `config.json`
19
+ - `tokenizer.json`
20
+ - `tokenizer_config.json`
21
+ - `vocab.txt`
22
+ - `onnx/model_quantized.onnx`
23
+
24
+ ## Usage in Transformers.js
 
 
 
 
 
25
  ```javascript
26
  import { pipeline } from '@xenova/transformers';
27
 
28
  // Load the Spanish QA pipeline
29
  pipeline('question-answering', 'jestevesv/distilbert-base-spanish-uncased-finetuned-qa-mlqa-onnx', { quantized: true })
30
+ .then(qa => qa(
31
+ '驴Cu谩l es la capital de Francia?',
32
+ 'La capital de Francia es Par铆s.'
33
+ ))
34
  .then(result => console.log(result))
35
  .catch(err => console.error(err));