Transformers
GGUF
English
llama
function calling
tool use
llama3
tinyllama
instruct-tuned
4-bit quantization
ggfu
text-generation-inference
unsloth
trl
conversational
Instructions to use unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424", dtype="auto") - llama-cpp-python
How to use unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424", filename="tinyllama-function-call-GGFU-010524.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 # Run inference directly in the terminal: llama-cli -hf unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 # Run inference directly in the terminal: llama-cli -hf unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424
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 unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 # Run inference directly in the terminal: ./llama-cli -hf unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424
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 unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 # Run inference directly in the terminal: ./build/bin/llama-cli -hf unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424
Use Docker
docker model run hf.co/unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424
- LM Studio
- Jan
- Ollama
How to use unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 with Ollama:
ollama run hf.co/unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424
- Unsloth Studio new
How to use unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 to start chatting
- Docker Model Runner
How to use unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 with Docker Model Runner:
docker model run hf.co/unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424
- Lemonade
How to use unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull unclecode/tinyllama-function-call-Q4_K_M_GGFU-250424
Run and chat with the model
lemonade run user.tinyllama-function-call-Q4_K_M_GGFU-250424-{{QUANT_TAG}}List all available models
lemonade list
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,16 +3,6 @@ language:
|
|
| 3 |
- en
|
| 4 |
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
-
- text-generation-inference
|
| 7 |
-
- transformers
|
| 8 |
-
- unsloth
|
| 9 |
-
- llama
|
| 10 |
-
- trl
|
| 11 |
-
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
| 12 |
-
---
|
| 13 |
-
|
| 14 |
-
---
|
| 15 |
-
tags:
|
| 16 |
- function calling
|
| 17 |
- tool use
|
| 18 |
- llama
|
|
@@ -21,7 +11,12 @@ tags:
|
|
| 21 |
- instruct-tuned
|
| 22 |
- 4-bit quantization
|
| 23 |
- ggfu
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
---
|
| 26 |
|
| 27 |
# Function Calling and Tool Use LLaMA Models
|
|
|
|
| 3 |
- en
|
| 4 |
license: apache-2.0
|
| 5 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
- function calling
|
| 7 |
- tool use
|
| 8 |
- llama
|
|
|
|
| 11 |
- instruct-tuned
|
| 12 |
- 4-bit quantization
|
| 13 |
- ggfu
|
| 14 |
+
- text-generation-inference
|
| 15 |
+
- transformers
|
| 16 |
+
- unsloth
|
| 17 |
+
- llama
|
| 18 |
+
- trl
|
| 19 |
+
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
| 20 |
---
|
| 21 |
|
| 22 |
# Function Calling and Tool Use LLaMA Models
|