slim-sa-ner-tool
is a 4_K_M quantized GGUF version of
slim-sa-ner
, providing a small, fast inference implementation, optimized for multi-model concurrent deployment.
slim-sa-ner combines two of the most popular traditional classifier functions (Sentiment Analysis and Named Entity Recognition), and reimagines them as function calls on a specialized decoder-based LLM, generating output consisting of a python dictionary with keys corresponding to sentiment, and NER identifiers, such as people, organization, and place, e.g.:
This 3B parameter 'combo' model is designed to illustrate the potential power of using function calls on small, specialized models to enable a single model architecture to combine the capabilities of what were traditionally two separate model architectures on an encoder.
The intent of SLIMs is to forge a middle-ground between traditional encoder-based classifiers and open-ended API-based LLMs, providing an intuitive, flexible natural language response, without complex prompting, and with improved generalization and ability to fine-tune to a specific domain use case.
To pull the model via API:
from huggingface_hub import snapshot_download
snapshot_download("llmware/slim-sa-ner-tool", local_dir="/path/on/your/machine/", local_dir_use_symlinks=False)
Load in your favorite GGUF inference engine, or try with llmware as follows:
from llmware.models import ModelCatalog
# to load the model and make a basic inference
model = ModelCatalog().load_model("slim-sa-ner-tool")
response = model.function_call(text_sample)
# this one line will download the model and run a series of tests
ModelCatalog().tool_test_run("slim-sa-ner-tool", verbose=True)
Note: please review
config.json
in the repository for prompt wrapping information, details on the model, and full test set.
slim-sa-ner-tool huggingface.co is an AI model on huggingface.co that provides slim-sa-ner-tool's model effect (), which can be used instantly with this llmware slim-sa-ner-tool model. huggingface.co supports a free trial of the slim-sa-ner-tool model, and also provides paid use of the slim-sa-ner-tool. Support call slim-sa-ner-tool model through api, including Node.js, Python, http.
slim-sa-ner-tool huggingface.co is an online trial and call api platform, which integrates slim-sa-ner-tool's modeling effects, including api services, and provides a free online trial of slim-sa-ner-tool, you can try slim-sa-ner-tool online for free by clicking the link below.
llmware slim-sa-ner-tool online free url in huggingface.co:
slim-sa-ner-tool is an open source model from GitHub that offers a free installation service, and any user can find slim-sa-ner-tool on GitHub to install. At the same time, huggingface.co provides the effect of slim-sa-ner-tool install, users can directly use slim-sa-ner-tool installed effect in huggingface.co for debugging and trial. It also supports api for free installation.