Skip to content

Experiment using the latest langchain-huggingface partner library

Notifications You must be signed in to change notification settings

shreyas-shinde/langchain-huggingface-usecases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

langchain-huggingface-usecases

Pre-requisites

python --version
Python 3.12.3

Install requirements in virtualenv

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Export your huggingface token

  1. Sign up on hugging face and get token https://huggingface.co/docs/hub/en/security-tokens
  2. Export
cp .env.template .env
# add your token to .env
source .env

Run

python chat.py

You can change the model by changing the repo_id parameter

About

Experiment using the latest langchain-huggingface partner library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages