Skip to content

Framework for finetunning the ToolFormer-based LM in a few shots manner

Notifications You must be signed in to change notification settings

destilabs/optimautogpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

finetoolformer 👨🏼‍🔧

Framework for finetunning the ToolFormer-based LM in a few shots manner

How it Works

  1. Using zero-shot learning figure out what API to use given users' prompt;
  2. Build a prompt for the task and figure out the parameters of API call in "ToolFormer" way;
  3. Call the API
  4. Concatenate everything to return to user;

Examples

Pipelines

Features

  • Zero-shot learning for the task of intent classification
  • Simple and intuitive integration for new API's
  • Can be easily adopted for some chatbots (e.g. 🧩 Regis)

Installation

To work with this framework you need to create an .env file in the root of the repo with the following values:

HUGGINGFACE_API_TOKEN=api_key
OPEN_AI_API_TOKEN=api_key

About

Framework for finetunning the ToolFormer-based LM in a few shots manner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages