Salesforce/xlam-function-calling-60k
Viewer • Updated • 60k • 19.5k • 750
How to use tcotter/TinyLlama-FunctionCalling-Adapter with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("tcotter/TinyLlama-FunctionCalling-Adapter", device_map="auto")This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.
Base model
unsloth/tinyllama-bnb-4bit
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tcotter/TinyLlama-FunctionCalling-Adapter", device_map="auto")