132 Downloads Updated 1 year ago
ollama run bilel_cherif/falcon3-tools
Updated 1 year ago
1 year ago
161199638af2 · 6.3GB ·
Falcon3 represents TII’s latest advancement in efficient language models under 10B parameters, focused on enhancing science, math, and code capabilities while maintaining training efficiency.
falcon3:10b achieves SOTA in under-13B category
Extended context length up to 32K tokens
import ollama
client = ollama.Client(host='http://localhost:11434')
response = client.chat(
model='falcon3-tools',
messages=[{'role': 'user', 'content':
'Get me a tool to use for hack'}],
# provide a tool selector function
tools=[{
'type': 'function',
'function': {
'name': 'get_me_a_tool',
'description': 'Get a tool to use',
'parameters': {
'type': 'object',
'properties': {
'tool': {
'type': 'string',
'description': 'The name of the tool',
},
},
'required': ['tool'],
},
},
},
],
)
print(response['message']['tool_calls'])