Text Generation
GGUF
llama3
function calling
8b
conversational
How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf AABAAB/llama-3-8B-Instruct-function-calling-v0.2:
# Run inference directly in the terminal:
llama cli -hf AABAAB/llama-3-8B-Instruct-function-calling-v0.2:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf AABAAB/llama-3-8B-Instruct-function-calling-v0.2:
# Run inference directly in the terminal:
llama cli -hf AABAAB/llama-3-8B-Instruct-function-calling-v0.2:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf AABAAB/llama-3-8B-Instruct-function-calling-v0.2:
# Run inference directly in the terminal:
./llama-cli -hf AABAAB/llama-3-8B-Instruct-function-calling-v0.2:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf AABAAB/llama-3-8B-Instruct-function-calling-v0.2:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf AABAAB/llama-3-8B-Instruct-function-calling-v0.2:
Use Docker
docker model run hf.co/AABAAB/llama-3-8B-Instruct-function-calling-v0.2:
Quick Links

Quantization of mzbac/llama-3-8B-Instruct-function-calling-v0.2 info GGUF

Llama 3 function calling

Tested within LM Studio.

Request

curl --location 'http://localhost:5000/v1/chat/completions' \
--header 'Content-Type: application/json' \
--data '{
    "model": "AABAAB/llama-3-8B-Instruct-function-calling-v0.2/llama-3-8B-Instruct-function-calling-v0.2_Q8_0.gguf",
    "messages": [
        {
            "role": "system",
            "content": "You are a helpful assistant with access to the following functions. Use them if required - {\"name\": \"search_web\",\"description\": \"Perform a web search for a given search terms.\",\"parameter\": {\"type\": \"object\", \"properties\": {\"search_terms\": {\"type\": \"array\",\"items\": {\"type\": \"string\"},\"description\": \"The search queries for which the search is performed.\",\"required\": True,}}},}"
        },
        {
            "role": "user",
            "content": "What is the weather in Sydney?"
        }
    ],
    "stream": false
}'

Response

<functioncall> {\"name\": \"search_web\", \"arguments\": {\"search_terms\": [\"weather in Sydney\"]}}

image/png

Downloads last month
96
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for AABAAB/llama-3-8B-Instruct-function-calling-v0.2

Quantized
(3)
this model

Dataset used to train AABAAB/llama-3-8B-Instruct-function-calling-v0.2