ThisIs-Developer commited on
Commit
25cd6d6
1 Parent(s): 11b0a28

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +47 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 🐍 Llama-2-GGML-Medical-Chatbot 🤖
2
+ The **Llama-2-7B-Chat-GGML-Medical-Chatbot** is a repository for a medical chatbot that uses the _Llama-2-7B-Chat-GGML_ model and the pdf _The Gale Encyclopedia of Medicine_. The chatbot is still under development, but it has the potential to be a valuable tool for patients, healthcare professionals, and researchers. The chatbot can be used to answer questions about medical topics, provide summaries of medical articles, and generate medical text. However, it is important to note that the chatbot is not a substitute for medical advice from a qualified healthcare professional.
3
+ ![chat_use_case-eb8a4883931d726e9f23628a0d22e315](https://github.com/ThisIs-Developer/Llama-2-GGML-Medical-Chatbot/assets/109382325/b2c0ed2f-1393-4d6f-938a-1b2666a2e898)
4
+
5
+ ## 📚 Here are some of the features of the Llama-2-7B-Chat-GGML-Medical-Chatbot:
6
+
7
+ - It uses the _Llama-2-7B-Chat-GGML_ model, which is a **large language model (LLM)** that has been fine-tuned.
8
+ * Name - **llama-2-7b-chat.ggmlv3.q2_K.bin**
9
+ * Quant method - q2_K
10
+ * Bits - 2
11
+ * Size - **2.87 GB**
12
+ * Max RAM required - 5.37 GB
13
+ * Use case - New k-quant method. Uses GGML_TYPE_Q4_K for the attention.vw and feed_forward.w2 tensors, GGML_TYPE_Q2_K for the other tensors.
14
+ * **Model:** Know more about model **[Llama-2-7B-Chat-GGML](https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML)**
15
+ - It is trained on the pdf **[The Gale Encyclopedia of Medicine, Volume 1, 2nd Edition, 637-page PDF](https://github.com/ThisIs-Developer/Llama-2-GGML-Medical-Chatbot/blob/main/data/71763-gale-encyclopedia-of-medicine.-vol.-1.-2nd-ed.pdf)**, which is a comprehensive medical reference that provides information on a wide range of medical topics. This means that the chatbot is able to answer questions about a variety of medical topics.
16
+ - This is a sophisticated medical chatbot, developed using Llama-2 7B and Sentence Transformers. Powered by **[Langchain](https://python.langchain.com/docs/get_started/introduction)** and **[Chainlit](https://docs.chainlit.io/overview)**, This bot operates on a powerful CPU computer that boasts a minimum of
17
+ * Operating system: Linux, macOS, or Windows
18
+ * CPU: Intel® Core™ i3
19
+ * RAM: **8 GB**
20
+ * Disk space: 7 GB
21
+ * GPU: None **(CPU only)**
22
+ - It is still under development, but it has the potential to be a valuable tool for patients, healthcare professionals, and researchers.
23
+
24
+ ## 🚀 Quickstart
25
+ 1. Open Git Bash.
26
+ 2. Change the current working directory to the location where you want the cloned directory.
27
+ 3. Type `git clone`, and then paste the URL you copied earlier.
28
+ ```bash
29
+ git clone https://github.com/ThisIs-Developer/Llama-2-GGML-Medical-Chatbot.git
30
+ ```
31
+ Press Enter to create your local clone.
32
+ 4. Install the pip packages in requirements.txt
33
+ ```bash
34
+ pip install -r requirements.txt
35
+ ```
36
+ 5. Now run it!
37
+ ```ternimal
38
+ chainlit run model.py -w
39
+ ```
40
+ ## 📖 ChatBot Conversession
41
+ ![ChatBot Conversession img-1](https://github.com/ThisIs-Developer/Llama-2-GGML-Medical-Chatbot/assets/109382325/9af05b2e-1a83-4a7c-aa8c-ed7c60b02e09)
42
+
43
+ https://github.com/ThisIs-Developer/Llama-2-GGML-Medical-Chatbot/assets/109382325/6756fb69-40c0-4d49-b392-aa6906dca786
44
+
45
+ ![ChatBot Conversession img-2](https://github.com/ThisIs-Developer/Llama-2-GGML-Medical-Chatbot/assets/109382325/1fede7dd-05e1-49de-bbab-f289cbdb9cd9)
46
+
47
+ ![ChatBot Conversession img-3](https://github.com/ThisIs-Developer/Llama-2-GGML-Medical-Chatbot/assets/109382325/d10d949f-37e5-4ec4-868d-2e62d8ad69dc)