Update README.md
Browse files
README.md
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
inference: false
|
4 |
-
tags: [green,
|
5 |
---
|
6 |
|
7 |
-
# slim-extract-
|
8 |
|
9 |
-
**slim-extract-
|
10 |
|
11 |
-
This is an OpenVino int4 quantized version of slim-extract-tiny, providing a
|
12 |
|
13 |
|
14 |
### Model Description
|
15 |
|
16 |
- **Developed by:** llmware
|
17 |
-
- **Model type:**
|
18 |
-
- **Parameters:**
|
19 |
-
- **Model Parent:** llmware/slim-extract-
|
20 |
- **Language(s) (NLP):** English
|
21 |
- **License:** Apache 2.0
|
22 |
- **Uses:** Extraction of values from complex business documents
|
@@ -25,14 +25,14 @@ This is an OpenVino int4 quantized version of slim-extract-tiny, providing a ver
|
|
25 |
|
26 |
### Example Usage
|
27 |
|
28 |
-
|
|
|
|
|
|
|
|
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
llm_response = model.function_call(text_passage, function="extract", params=["revenue"])
|
33 |
-
|
34 |
-
Output: `llm_response = {"revenue": [$125 million"]}`
|
35 |
-
|
36 |
|
37 |
## Model Card Contact
|
38 |
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
inference: false
|
4 |
+
tags: [green, p3, llmware-fx, ov, emerald]
|
5 |
---
|
6 |
|
7 |
+
# slim-extract-phi-3-ov
|
8 |
|
9 |
+
**slim-extract-phi-3-ov** is a specialized function calling model with a single mission to look for values in a text, based on an "extract" key that is passed as a parameter. No other instructions are required except to pass the context passage, and the target key, and the model will generate a python dictionary consisting of the extract key and a list of the values found in the text, including an 'empty list' if the text does not provide an answer for the value of the selected key.
|
10 |
|
11 |
+
This is an OpenVino int4 quantized version of slim-extract-tiny, providing a fast, high-quality inference implementation, optimized for AI PCs using Intel GPU, CPU and NPU.
|
12 |
|
13 |
|
14 |
### Model Description
|
15 |
|
16 |
- **Developed by:** llmware
|
17 |
+
- **Model type:** phi-3
|
18 |
+
- **Parameters:** 3.8 billion
|
19 |
+
- **Model Parent:** llmware/slim-extract-phi-3
|
20 |
- **Language(s) (NLP):** English
|
21 |
- **License:** Apache 2.0
|
22 |
- **Uses:** Extraction of values from complex business documents
|
|
|
25 |
|
26 |
### Example Usage
|
27 |
|
28 |
+
```python
|
29 |
+
from llmware.models import ModelCatalog
|
30 |
+
text_passage = "The company announced that for the current quarter the total revenue increased by 9% to $125 million."
|
31 |
+
model = ModelCatalog().load_model("slim-extract-phi-3-ov")
|
32 |
+
llm_response = model.function_call(text_passage, function="extract", params=["revenue"])
|
33 |
|
34 |
+
Output: `llm_response = {"revenue": [$125 million"]}`
|
35 |
+
```
|
|
|
|
|
|
|
|
|
36 |
|
37 |
## Model Card Contact
|
38 |
|