- Project Overview
- Project Structure
- Setting up Project
- Docker
- Redis
- CromaDB
- Local LLM
- Downloading Data
- Start Training
- Stored checkpoints
- Try the model locally -> using your docker
This project is an advanced Information Retrieval System designed to handle image-based queries. Trained on a comprehensive laptop dataset, our model takes an image as input and allows you to ask detailed questions about it. The twist? We assume you have no prior knowledge about the image.
Leveraging the power of Retrieval-Augmented Generation (RAG), our system intelligently retrieves information from manuals and answers your questions based on the image data provided. Whether you're looking for specs, features, or troubleshooting info, our model has got you covered.
You can start to replicate this project by cloning this repo.
git clone https://github.com/sugam21/InsightAI.git
├── checkpoints📂
├── configs📂
│ ├── config.json📄
├── dataloader📂
│ ├── dataloader.py📄
├── evaluation📂
│ ├── test.py📄
├── logger📂
│ ├── logger.py📄
│ ├── logger_config.json📄
├── model📂
│ ├── base_model.py📄
│ ├── loss.py📄
│ ├── metric.py📄
│ ├── model.py📄
├── notebooks📂
│ ├── trial.ipynb
├── trainer📂
│ ├── train.py📄
├── utils📂
│ ├── config_parser.py📄
│ ├── utils.py📄
├── main.py📄
├── requirements.txt📄
└──README.md📄
Folder | Files | Purpose |
---|---|---|
checkpoints | checkpoints | Contains the model checkpoints. |
configs | config.json | configuration required to train the model, mostly folder paths, hyperparameters, metrics, loss functions etc. |
dataloader | dataloader.py | python files for loading and preprocessing data. |
evaluation | test.py | python files to test and evaluate the model performance. |
logger | logger.py | python files to log the result of the model. |
model | loss.py | python file containing loss functions. |
model | metric.py | python file containing evaluation metrics. |
model | model.py | python file containing custom model architecture or pre-trained models. |
trainer | train.py | python files which are used to train the model. This is the file that main.py file will use. |
notebooks | trail.ipynb | Includes all the jupyter or .ipynb files that we built while experimentating. |
utils | utils.py | python files for utility or helper functions which are used in more than one places. |
- | main.py | python files which binds everything |