mirror of
https://github.com/nod-ai/SHARK-Studio.git
synced 2026-01-09 13:57:54 -05:00
Langchain
How to run the model
1.) Install all the dependencies by running:
pip install -r apps/language_models/langchain/langchain_requirements.txt
sudo apt-get install -y libmagic-dev poppler-utils tesseract-ocr libtesseract-dev libreoffice
2.) Create a folder named user_path in apps/language_models/langchain/ directory.
Now, you are ready to use the model.
3.) To run the model, run the following command:
python apps/language_models/langchain/gen.py --cli=True