Skip to content

llm-workflow-engine/lwe-plugin-provider-huggingface-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LLM Workflow Engine (LWE) Hugging Face Hub Provider plugin

Hugging Face Hub Provider plugin for LLM Workflow Engine

Access to Hugging Face Hub models.

Installation

Export API key

Grab an Hugging Face Hub API key from https://huggingface.co/settings/tokens

Export the key into your local environment:

export HUGGINGFACEHUB_API_TOKEN=<API_KEY>

From packages

Install the latest version of this software directly from github with pip:

pip install git+https://github.com/llm-workflow-engine/lwe-plugin-provider-huggingface-hub

From source (recommended for development)

Install the latest version of this software directly from git:

git clone https://github.com/llm-workflow-engine/lwe-plugin-provider-huggingface-hub.git

Install the development package:

cd lwe-plugin-provider-huggingface-hub
pip install -e .

Configuration

Add the following to config.yaml in your profile:

plugins:
  enabled:
    - provider_huggingface_hub
    # Any other plugins you want enabled...

Usage

From a running LWE shell:

/provider huggingface_hub
/model repo_id gpt2

About

LLM Workflow Engine (LWE) Hugging Face Hub Provider plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages