echarlaix HF staff commited on
Commit
19588a0
1 Parent(s): 6e19756

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +58 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: echarlaix/distilbert-base-uncased-distilled-squad-openvino
3
+ datasets:
4
+ - squad
5
+ language: en
6
+ license: apache-2.0
7
+ tags:
8
+ - openvino
9
+ - openvino
10
+ widget:
11
+ - text: Which name is also used to describe the Amazon rainforest in English?
12
+ context: 'The Amazon rainforest (Portuguese: Floresta Amazônica or Amazônia; Spanish:
13
+ Selva Amazónica, Amazonía or usually Amazonia; French: Forêt amazonienne; Dutch:
14
+ Amazoneregenwoud), also known in English as Amazonia or the Amazon Jungle, is
15
+ a moist broadleaf forest that covers most of the Amazon basin of South America.
16
+ This basin encompasses 7,000,000 square kilometres (2,700,000 sq mi), of which
17
+ 5,500,000 square kilometres (2,100,000 sq mi) are covered by the rainforest. This
18
+ region includes territory belonging to nine nations. The majority of the forest
19
+ is contained within Brazil, with 60% of the rainforest, followed by Peru with
20
+ 13%, Colombia with 10%, and with minor amounts in Venezuela, Ecuador, Bolivia,
21
+ Guyana, Suriname and French Guiana. States or departments in four nations contain
22
+ "Amazonas" in their names. The Amazon represents over half of the planet''s remaining
23
+ rainforests, and comprises the largest and most biodiverse tract of tropical rainforest
24
+ in the world, with an estimated 390 billion individual trees divided into 16,000
25
+ species.'
26
+ - text: How many square kilometers of rainforest is covered in the basin?
27
+ context: 'The Amazon rainforest (Portuguese: Floresta Amazônica or Amazônia; Spanish:
28
+ Selva Amazónica, Amazonía or usually Amazonia; French: Forêt amazonienne; Dutch:
29
+ Amazoneregenwoud), also known in English as Amazonia or the Amazon Jungle, is
30
+ a moist broadleaf forest that covers most of the Amazon basin of South America.
31
+ This basin encompasses 7,000,000 square kilometres (2,700,000 sq mi), of which
32
+ 5,500,000 square kilometres (2,100,000 sq mi) are covered by the rainforest. This
33
+ region includes territory belonging to nine nations. The majority of the forest
34
+ is contained within Brazil, with 60% of the rainforest, followed by Peru with
35
+ 13%, Colombia with 10%, and with minor amounts in Venezuela, Ecuador, Bolivia,
36
+ Guyana, Suriname and French Guiana. States or departments in four nations contain
37
+ "Amazonas" in their names. The Amazon represents over half of the planet''s remaining
38
+ rainforests, and comprises the largest and most biodiverse tract of tropical rainforest
39
+ in the world, with an estimated 390 billion individual trees divided into 16,000
40
+ species.'
41
+ ---
42
+
43
+ This model is a quantized version of [`echarlaix/distilbert-base-uncased-distilled-squad-openvino`](https://huggingface.co/echarlaix/distilbert-base-uncased-distilled-squad-openvino) and is converted to the OpenVINO format. This model was obtained via the [nncf-quantization](https://huggingface.co/spaces/echarlaix/nncf-quantization) space with [optimum-intel](https://github.com/huggingface/optimum-intel).
44
+
45
+ First make sure you have `optimum-intel` installed:
46
+
47
+ ```bash
48
+ pip install optimum[openvino]
49
+ ```
50
+
51
+ To load your model you can do as follows:
52
+
53
+ ```python
54
+ from optimum.intel import OVModelForQuestionAnswering
55
+
56
+ model_id = "echarlaix/distilbert-base-uncased-distilled-squad-openvino-8bit"
57
+ model = OVModelForQuestionAnswering.from_pretrained(model_id)
58
+ ```