Member |
---|
Tony Ma |
Jack Lam |
Leonidas Tam |
This project aims to provide a solution for having a Simplified Chinese chatbot with contextual awareness and domain knowledge.
The decision was made to fine-tune a BART model in order to incorporate contextual awareness and construct a knowledge tree for Llama2 retrieval, thereby ensuring accurate responses related to domain knowledge.
Dependency |
---|
NodeJs |
python |
pip |
pip install transformers ctransformers accelerate datasets peft trl jieba fastapi uvicorn rouge-chinese
cd app
npm i
uvicorn server:app --reload
cd app
npm run dev
cd app cd src cd app App.tsx <- source code of webapp