Skip to content

byeonhophd/byeonhophd_ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lawgenda AI (by ByeonhoPhd)

Introduction

Main modeling code of Lawgenda. This repository containes all ML lifecycle including model serving code of Lawgenda service.

Usage

  1. Install dependencies
pip install -i https://pypi.rbln.ai/simple rebel-compiler optimum-rbln vllm-rbln
pip install -r requirements.txt
  1. 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
  1. Instantiate vllm endpoint & Run

This will compile model and start the Flask API server.

python compile_eeve.py
sh run_vllm.sh

About

[Byeonhophd] 한국어 특화 법률 질의응답 챗봇 서비스 '변호박사' AI Repository

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •