Update README.md
Browse files
README.md
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
3 |
---
|
4 |
|
5 |
-
# SLIM-SA_NER-
|
6 |
|
7 |
<!-- Provide a quick summary of what the model is/does. -->
|
8 |
|
9 |
|
10 |
-
**slim-sa-ner-
|
11 |
|
12 |
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.:
|
13 |
|
@@ -23,7 +24,7 @@ The intent of SLIMs is to forge a middle-ground between traditional encoder-base
|
|
23 |
To pull the model via API:
|
24 |
|
25 |
from huggingface_hub import snapshot_download
|
26 |
-
snapshot_download("llmware/slim-sa-ner-
|
27 |
|
28 |
|
29 |
Load in your favorite GGUF inference engine, or try with llmware as follows:
|
@@ -31,14 +32,14 @@ Load in your favorite GGUF inference engine, or try with llmware as follows:
|
|
31 |
from llmware.models import ModelCatalog
|
32 |
|
33 |
# to load the model and make a basic inference
|
34 |
-
model = ModelCatalog().load_model("slim-sa-ner-
|
35 |
response = model.function_call(text_sample)
|
36 |
|
37 |
# this one line will download the model and run a series of tests
|
38 |
-
ModelCatalog().tool_test_run("slim-sa-ner-
|
39 |
|
40 |
|
41 |
-
Note: please review [**config.json**](https://huggingface.co/llmware/slim-sa-ner-
|
42 |
|
43 |
|
44 |
## Model Card Contact
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
inference: false
|
4 |
---
|
5 |
|
6 |
+
# SLIM-SA_NER-PHI-3-GGUF
|
7 |
|
8 |
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
|
10 |
|
11 |
+
**slim-sa-ner-phi-3-gguf** is a 4_K_M quantized GGUF version of [**slim-sa-ner**](https://huggingface.co/llmware/slim-sa-ner), providing a small, fast inference implementation, optimized for multi-model concurrent deployment.
|
12 |
|
13 |
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.:
|
14 |
|
|
|
24 |
To pull the model via API:
|
25 |
|
26 |
from huggingface_hub import snapshot_download
|
27 |
+
snapshot_download("llmware/slim-sa-ner-phi-3-gguf", local_dir="/path/on/your/machine/", local_dir_use_symlinks=False)
|
28 |
|
29 |
|
30 |
Load in your favorite GGUF inference engine, or try with llmware as follows:
|
|
|
32 |
from llmware.models import ModelCatalog
|
33 |
|
34 |
# to load the model and make a basic inference
|
35 |
+
model = ModelCatalog().load_model("slim-sa-ner-phi-3-gguf")
|
36 |
response = model.function_call(text_sample)
|
37 |
|
38 |
# this one line will download the model and run a series of tests
|
39 |
+
ModelCatalog().tool_test_run("slim-sa-ner-phi-3-gguf", verbose=True)
|
40 |
|
41 |
|
42 |
+
Note: please review [**config.json**](https://huggingface.co/llmware/slim-sa-ner-phi-3-gguf/blob/main/config.json) in the repository for prompt wrapping information, details on the model, and full test set.
|
43 |
|
44 |
|
45 |
## Model Card Contact
|