Add more 64a58c9
zs commited on
How to use zember/Qwen-14B-Chat-agent-function-calling with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="zember/Qwen-14B-Chat-agent-function-calling", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("zember/Qwen-14B-Chat-agent-function-calling", trust_remote_code=True, device_map="auto")