glaiveai/glaive-function-calling-v2
Viewer • Updated • 113k • 63.2k • 508
How to use NewEden-Forge/Qwen-1_8B-Glaive-Function-Calling with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="NewEden-Forge/Qwen-1_8B-Glaive-Function-Calling", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("NewEden-Forge/Qwen-1_8B-Glaive-Function-Calling", trust_remote_code=True, dtype="auto")