Views
No views yet
| Source | Examples | Purpose |
|---|---|---|
| Salesforce/xlam-function-calling-60k | 5,000 | Verified function calling |
| glaiveai/glaive-function-calling-v2 | 5,000 | Multi-turn tool use |
| NousResearch/hermes-function-calling-v1 | 1,893 | Hermes-style tool calls |
| teknium/OpenHermes-2.5 | 1,500 | No-tool knowledge (negative examples) |
1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
5model = PeftModel.from_pretrained(base_model, "padmanabh/mistralclaw-lora")
6tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")[TOOL_CALLS] prefix:[TOOL_CALLS] [{"name": "gmail_send", "arguments": "{\"to\": \"john@example.com\", \"subject\": \"Meeting\", \"body\": \"See you tomorrow\"}"}][TOOL_RESULT]:[TOOL_RESULT] gmail_send: {"status": "success", "message_id": "abc123"}