JDWebProgrammer commited on
Commit
476591f
1 Parent(s): dd3d385

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +65 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: Chatbot
3
- emoji: 📈
4
  colorFrom: indigo
5
  colorTo: yellow
6
  sdk: gradio
@@ -10,4 +10,67 @@ pinned: false
10
  license: gpl-3.0
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Chatbot
3
+ emoji: 🐢
4
  colorFrom: indigo
5
  colorTo: yellow
6
  sdk: gradio
 
10
  license: gpl-3.0
11
  ---
12
 
13
+
14
+ # ChatBot
15
+ Basic ChatBot using CTransformers, ChromaDB and Gradio. Configured for CPU.
16
+ - See a live demo on HuggingFace at:
17
+ - https://huggingface.co/spaces/JDWebProgrammer/chatbot
18
+
19
+ ![ChatBot](./assets/chatbot.png "ChatBot")
20
+
21
+ # Experimental
22
+ Please note that AI is still in experimental stages with known problems such as bias, misinformation and leaking sensitive information. We cannot guarantee the accuracy, completeness, or timeliness of the information provided. We do not assume any responsibility or liability for the use or interpretation of this project.
23
+
24
+ While we are committed to delivering a valuable user experience, please keep in mind that this AI service operates using advanced algorithms and machine learning techniques, which may occasionally generate results that differ from your expectations or contain errors. If you encounter any inconsistencies or issues, we encourage you to contact us for assistance.
25
+
26
+ We appreciate your understanding as we continually strive to enhance and improve our AI services. Your feedback is valuable in helping us achieve that goal.
27
+
28
+ # Description
29
+ This is a simple ChatBot to use as a simple starting template. Just add text files into the "./data/reference" folder
30
+ ![ChatBot Logic](./assets/logic.png "ChatBot Logic")
31
+
32
+ # Features
33
+ - Full custom RAG implementation
34
+ - Copy text files into ./data/reference for embedding
35
+ - Auto save chat logs
36
+ - Auto download and run open source LLM's locally
37
+ - Currently using the awesome combined works of Mistral AI's LLM base model trained with 128k context window by NousResearch and quantized to 4bits for fast speed by TheBloke
38
+
39
+ # Step 1: Install Dependencies
40
+ First make sure you have python and pip installed. Then open a terminal and type:
41
+ ```shell
42
+ pip install -r requirements.txt
43
+ ```
44
+
45
+
46
+ # Step 2: Add Embeddings [Optional]
47
+ Place text files in "./data/reference" to enhance the chatbot with extra information
48
+
49
+ # Step 3: Run Chatbot
50
+ Open a terminal and type:
51
+ ```shell
52
+ python app.py
53
+ ```
54
+
55
+ The web interface will start at http://0.0.0.0:7864
56
+
57
+ # Progress & Updates
58
+ - Embeddings properly save & persist, full custom RAG implementation working
59
+
60
+ # Known Issues
61
+ - Chat history may not be saving properly! Working on this..
62
+ - There is currently no feedback but will save feedback logs
63
+
64
+ # Future Plans
65
+ - Will be implementing auto retrieval from wiki for RAG(Retrieval Augmented Generation) loop
66
+ - Feedback datasets will be used in the trainable project coming soon
67
+ - Still working on instructional syntax which could be causing impaired results
68
+
69
+ # Credits
70
+ - Mistral: https://mistral.ai/
71
+ - HuggingFace: https://huggingface.co/
72
+ - TheBloke: https://huggingface.co/TheBloke
73
+ - ctransformers: https://github.com/marella/ctransformers
74
+ - gradio: https://github.com/gradio-app/gradio
75
+ - chroma: https://github.com/chroma-core/chroma
76
+