Update README.md
Browse files
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-
|
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-
|
84 |
-
response = slim_model.function_call(text,params=["
|
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 |
`{"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 |
|