doberst commited on
Commit
f2d88e4
·
verified ·
1 Parent(s): 3650c25

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -3,11 +3,11 @@ license: cc-by-sa-4.0
3
  inference: false
4
  ---
5
 
6
- # SLIM-SA-NER-3B
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
9
 
10
- **slim-sa-ner-3b** 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.:
11
 
12
  &nbsp;&nbsp;&nbsp;&nbsp;`{'sentiment': ['positive'], people': ['..'], 'organization': ['..'],'place': ['..]}`
13
 
@@ -75,7 +75,7 @@ Each slim model has a 'quantized tool' version, e.g., [**'slim-sa-ner-3b-tool'*
75
  <summary>Using as Function Call in LLMWare</summary>
76
 
77
  from llmware.models import ModelCatalog
78
- slim_model = ModelCatalog().load_model("llmware/slim-sa-ner-3b")
79
  response = slim_model.function_call(text,params=["sentiment", "people", "organization", "place"], function="classify")
80
 
81
  print("llmware - llm_response: ", response)
 
3
  inference: false
4
  ---
5
 
6
+ # SLIM-SA-NER
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
9
 
10
+ **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.:
11
 
12
  &nbsp;&nbsp;&nbsp;&nbsp;`{'sentiment': ['positive'], people': ['..'], 'organization': ['..'],'place': ['..]}`
13
 
 
75
  <summary>Using as Function Call in LLMWare</summary>
76
 
77
  from llmware.models import ModelCatalog
78
+ slim_model = ModelCatalog().load_model("llmware/slim-sa-ner")
79
  response = slim_model.function_call(text,params=["sentiment", "people", "organization", "place"], function="classify")
80
 
81
  print("llmware - llm_response: ", response)