Downloads · 30 days
6
8% of all-time downloads
llmware/slim-extract-tiny-npu-ov
slim-extract-tiny-npu-ov is a machine learning model from llmware. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
slim-extract-tiny-npu-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 t…
Downloads · 30 days
6
8% of all-time downloads
All-time downloads
72
Public
Repo size
619 MB
Likes
0
Public
Click a slice to open those files.
.bin618 MB · 99%
From the Hugging Face model README
slim-extract-tiny-npu-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.
This is an OpenVino int4 quantized version of slim-extract-tiny, providing a very fast, very small inference implementation, optimized for AI PCs using Intel NPU.
from llmware.models import ModelCatalog
text_passage = "The company announced that for the current quarter the total revenue increased by 9% to $125 million."
model = ModelCatalog().load_model("slim-extract-tiny-npu-ov")
llm_response = model.function_call(text_passage, function="extract", params=["revenue"])
Output: `llm_response = {"revenue": [$125 million"]}`