doberst commited on
Commit
9957bbd
·
verified ·
1 Parent(s): e6241ff

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -9,7 +9,7 @@ inference: false
9
 
10
  **slim-nli** is part of the SLIM ("**S**tructured **L**anguage **I**nstruction **M**odel") model series, consisting of small, specialized decoder-based models, fine-tuned for function-calling.
11
 
12
- slim-sentiment has been fine-tuned for **natural language inference (nli)** function calls, generating output consisting of a python dictionary corresponding to specified keys, e.g.:
13
 
14
      `{"evidence": ["contradicts"]}`
15
 
@@ -80,8 +80,8 @@ Each slim model has a 'quantized tool' version, e.g., [**'slim-nli-tool'**](htt
80
  <summary>Using as Function Call in LLMWare</summary>
81
 
82
  from llmware.models import ModelCatalog
83
- slim_model = ModelCatalog().load_model("llmware/slim-sentiment")
84
- response = slim_model.function_call(text,params=["sentiment"], function="classify")
85
 
86
  print("llmware - llm_response: ", response)
87
 
 
9
 
10
  **slim-nli** is part of the SLIM ("**S**tructured **L**anguage **I**nstruction **M**odel") model series, consisting of small, specialized decoder-based models, fine-tuned for function-calling.
11
 
12
+ slim-nli has been fine-tuned for **natural language inference (nli)** function calls, generating output consisting of a python dictionary corresponding to specified keys, e.g.:
13
 
14
  &nbsp;&nbsp;&nbsp;&nbsp;`{"evidence": ["contradicts"]}`
15
 
 
80
  <summary>Using as Function Call in LLMWare</summary>
81
 
82
  from llmware.models import ModelCatalog
83
+ slim_model = ModelCatalog().load_model("llmware/slim-nli")
84
+ response = slim_model.function_call(text,params=["evidence"], function="classify")
85
 
86
  print("llmware - llm_response: ", response)
87