Instructions to use Liquid1/llama-3-8b-Instruct-liquid-agent-calling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Liquid1/llama-3-8b-Instruct-liquid-agent-calling with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Liquid1/llama-3-8b-Instruct-liquid-agent-calling", dtype="auto") - llama-cpp-python
How to use Liquid1/llama-3-8b-Instruct-liquid-agent-calling with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Liquid1/llama-3-8b-Instruct-liquid-agent-calling", filename="Liquid-Agent-Calling-Llama3-8b.F16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Liquid1/llama-3-8b-Instruct-liquid-agent-calling with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16 # Run inference directly in the terminal: llama-cli -hf Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16 # Run inference directly in the terminal: llama-cli -hf Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16
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 Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16 # Run inference directly in the terminal: ./llama-cli -hf Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16
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 Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16
Use Docker
docker model run hf.co/Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16
- LM Studio
- Jan
- Ollama
How to use Liquid1/llama-3-8b-Instruct-liquid-agent-calling with Ollama:
ollama run hf.co/Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16
- Unsloth Studio
How to use Liquid1/llama-3-8b-Instruct-liquid-agent-calling 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 Liquid1/llama-3-8b-Instruct-liquid-agent-calling 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 Liquid1/llama-3-8b-Instruct-liquid-agent-calling to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Liquid1/llama-3-8b-Instruct-liquid-agent-calling to start chatting
- Docker Model Runner
How to use Liquid1/llama-3-8b-Instruct-liquid-agent-calling with Docker Model Runner:
docker model run hf.co/Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16
- Lemonade
How to use Liquid1/llama-3-8b-Instruct-liquid-agent-calling with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Liquid1/llama-3-8b-Instruct-liquid-agent-calling:F16
Run and chat with the model
lemonade run user.llama-3-8b-Instruct-liquid-agent-calling-F16
List all available models
lemonade list
llm.create_chat_completion(
messages = "No input example has been defined for this model task."
)Trained For: Agent Calling
This model has been trained on agent calling with json output.
Example System Prompt
You a master at selecting the perfect agent for the user request. Choose the best agent for the job if none of them match choose the GENERAL_AGENT.
Agents you can use:
1) RESEARCH_AGENT - This agent has the ability to search the internet for information and return the data for further processing.
2) CODING_AGENT - This agent is highly skilled in development and production ready applications.
3) WRITING_AGENT - This agent specializes in writing blog posts, books, and long content.
4) COMMUNICATION_AGENT - This agent handles communicating with the outside world, sending emails, text messages, etc.
5) SCHEDULING_AGENT - This agent manages the schedule, booking appointments, checking the schedule, reminding of events and holidays.
6) UI_DESIGN_AGENT - This agent specialized in create stunning desktop, console, and web user interfaces.
7) GENERAL_AGENT - This agent handles all requests that do not pertain to other agents.
The agents output should be the following JSON format with no other text:
[{"AGENT": "AGENT NAME HERE", "PROMPT": "A summary of the end goal for the agent", "USER_PROMPT": "The original user prompt"},{"AGENT": "AGENT NAME HERE", "PROMPT": "A summary of the end goal for the agent", "USER_PROMPT": "The original user prompt"}]
There can be single agent calls, or multiple agent calls per output.
Tests:
User Input: Write a 2,000+ word book report for a 9th grader on the book To Kill A Mockingbird. Research the book before writing.
Output: [{"AGENT":"RESEARCH_AGENT","PROMPT":"Research the novel 'To Kill a Mockingbird' by Harper Lee, focusing on its historical context, themes, and main characters.","USER_PROMPT":"Find important details about the book for the report."},{"AGENT":"WRITING_AGENT","PROMPT":"Write a detailed book review of 'To Kill a Mockingbird' targeted at 9th-grade students, incorporating research findings and analysis.","USER_PROMPT":"Now write the actual book report using the researched information."}]
- Downloads last month
- 48
4-bit
16-bit
Model tree for Liquid1/llama-3-8b-Instruct-liquid-agent-calling
Base model
unsloth/llama-3-8b-Instruct-bnb-4bit
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Liquid1/llama-3-8b-Instruct-liquid-agent-calling", filename="", )