kreamsoup-SH/llm-chat-web-withRAG

Python

0

16 commits

updated Jan 2, 2024

See the code

README

LLM chatbot. web. with RAG

This Repository is currently under work.
The source code is not completed.

This repository is temporarily suspended..

demo/screenshot.png

How to use

Install required packages

pip install torch
pip install transformers bitsandbytes accelerate
pip install streamlit

Run

# streamlit run {your .py file}
streamlit run webui.py

or you can run webui.bat (on windows)

runtime\python.exe -m streamlit run webui.py

To-do

  • Redesign To-do list

  • complete webui-classic.py : 70%

  • complete webui-RAG.py : 50%

  • "model load" button to apply new configs

  • Fix the way to handle external data folder

  • create batch file for windows user

  • apply whisper to use STT

  • apply ViTS to use TTS

  • QLoRA check

  • GPT like text stream

  • 2bit quantization - QuIP

Using...

transformers
streamlit
llama_index

References

https://github.com/nicknochnack/Llama2RAG
https://docs.streamlit.io/
https://docs.llamaindex.ai/en/stable/

kreamsoup-SH/llm-chat-web-withRAG

Python

0

16 commits

updated Jan 2, 2024

See the code

README

LLM chatbot. web. with RAG

This Repository is currently under work.
The source code is not completed.

This repository is temporarily suspended..

demo/screenshot.png

How to use

Install required packages

pip install torch
pip install transformers bitsandbytes accelerate
pip install streamlit

Run

# streamlit run {your .py file}
streamlit run webui.py

or you can run webui.bat (on windows)

runtime\python.exe -m streamlit run webui.py

To-do

  • Redesign To-do list

  • complete webui-classic.py : 70%

  • complete webui-RAG.py : 50%

  • "model load" button to apply new configs

  • Fix the way to handle external data folder

  • create batch file for windows user

  • apply whisper to use STT

  • apply ViTS to use TTS

  • QLoRA check

  • GPT like text stream

  • 2bit quantization - QuIP

Using...

transformers
streamlit
llama_index

References

https://github.com/nicknochnack/Llama2RAG
https://docs.streamlit.io/
https://docs.llamaindex.ai/en/stable/