Main modeling code of Lawgenda. This repository containes all ML lifecycle including model serving code of Lawgenda service.
- Install dependencies
pip install -i https://pypi.rbln.ai/simple rebel-compiler optimum-rbln vllm-rbln
pip install -r requirements.txt
- Prepare FAISS vector store from documents
This will process your documents and create a FAISS vector store with HNSW indexing.
python src/compile_bge.py
python create_vector_store.py
- Instantiate vllm endpoint & Run
This will compile model and start the Flask API server.
python compile_eeve.py
sh run_vllm.sh