3morixd's picture
Upload README.md with huggingface_hub
d66bbfd verified
|
Raw
History Blame Contribute Delete
1.33 kB
metadata
license: llama3.2
language:
  - en
library_name: transformers
tags:
  - mobile
  - on-device
  - quantized
  - gguf
  - dispatchai
pipeline_tag: text-generation

Llama-3.2-1B-FunctionCall-mobile

WORKS — Verified June 2026.

Verification Results

Prompt Response Correct?
What is the capital of France? "The capital of France is Paris."
Say hello in one sentence. "I'm happy to help you with your question. < endoftext

Model Details

Attribute Value
Base Model meta-llama/Llama-3.2-1B-Instruct
File Size 1926 MB
Format GGUF
Chat Format chatml
CPU Speed 8.9 tokens/sec
License llama3.2

Usage

from llama_cpp import Llama

llm = Llama(model_path="model.gguf", chat_format="chatml", n_ctx=512, n_threads=4, verbose=False)
response = llm.create_chat_completion(
    messages=[{"role": "user", "content": "What is the capital of France?"}],
    max_tokens=50,
)
print(response["choices"][0]["message"]["content"])

dispatchAI SDK

from dispatchai import load_model
model = load_model("Llama-3.2-1B-FunctionCall-mobile", backend="gguf")
print(model.chat("Hello!"))

🚀 dispatchAI