Skip to content

vgmello/llama31

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Llama 3.1 Tools Review

Testing Llama 3.1 tools with llama.cpp and 4-bit Quantized 8B Instruct. This includes:

  • Running Meta's example.
  • Check if multiple-tools can be selected from single prompt.
  • Check if LLM is able to use previous tool call response.
  • Check complex JSON extract with tool call.

Video walkthrough

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed Python 3.9 or later.
  • You have installed Poetry.

Installation

  1. Clone the repository:

    git clone https://github.com/AgiFlow/llama31
    cd llama31
  2. Install the dependencies:

    poetry install
  3. Activate the virtual environment:

    poetry shell
  4. Download models This repo uses lmstudio-community/Meta-Llama-3.1-8B-Instruct-GGUF from lmstudio-community for testing. You can also use other models of your choice.

Running the Jupyter Notebook

  1. Launch Jupyter Notebook:

    poetry run jupyter notebook

Contributing

To contribute to this project, please fork the repository and create a pull request. For major changes, please open an issue first to discuss what you would like to change.

License

This project uses the following license: MIT License.

About

Test Llama 3.1 tool calling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%