Python-powered toolkit for seamless language model modification. Leverage the robust capabilities of the large language model, seamlessly integrate and modify language models, exploring a range of linguistic functionalities. From efficient scraping tools to advanced calculations, etc...
- Install anaconda with python>=3.9
- Create enviroment
conda create -n ChainCraft
- Activate conda env
conda activate ChainCraft
- Install necessary libraries
pip install -r requirements
- Download LLM model (I tested it with
llama-2-13b-chat.Q5_K_M
via./download_model.sh
)
conda activate ChainCraft
python app.py
- configs - Configuration files
- domains.yaml - List of most common domains
- models - Directory for loading LLM models
- src - Main code
- chaincraft - Main module
- llm.py - Code model for LLM
- utils.py - Additional reusable functions
- module.py - Abstract class for all modules
- scrapper - Scrapper module
- chaincraft - Main module
- app.py - Main app
- download_model.sh - Script for downloading test LLM model