Skip to content

Llama2-Medical-Chatbot is a medical chatbot that uses the Llama-2-7B-Chat-GGML model and the pdf The Gale Encyclopedia of Medicine, Volume 1, 2nd Edition. It is still under development, but it has the potential to be a valuable tool for patients, healthcare professionals, and researchers.

License

Notifications You must be signed in to change notification settings

ThisIs-Developer/Llama-2-GGML-Medical-Chatbot

Repository files navigation

🐍 Llama-2-GGML-Medical-Chatbot 🤖

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. chat_use_case-eb8a4883931d726e9f23628a0d22e315

📚 Here are some of the features of the Llama-2-7B-Chat-GGML-Medical-Chatbot:

  • It uses the Llama-2-7B-Chat-GGML model, which is a large language model (LLM) that has been fine-tuned.
    • Name - llama-2-7b-chat.ggmlv3.q2_K.bin
    • Quant method - q2_K
    • Bits - 2
    • Size - 2.87 GB
    • Max RAM required - 5.37 GB
    • 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.
    • Model: Know more about model Llama-2-7B-Chat-GGML
  • It is trained on the pdf The Gale Encyclopedia of Medicine, Volume 1, 2nd Edition, 637-page 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.
  • This is a sophisticated medical chatbot, developed using Llama-2 7B and Sentence Transformers. Powered by Langchain and Chainlit, This bot operates on a powerful CPU computer that boasts a minimum of
    • Operating system: Linux, macOS, or Windows
    • CPU: Intel® Core™ i3
    • RAM: 8 GB
    • Disk space: 7 GB
    • GPU: None (CPU only)
  • It is still under development, but it has the potential to be a valuable tool for patients, healthcare professionals, and researchers.

🚀 Quickstart

  1. Open Git Bash.
  2. Change the current working directory to the location where you want the cloned directory.
  3. Type git clone, and then paste the URL you copied earlier.
   git clone https://github.com/ThisIs-Developer/Llama-2-GGML-Medical-Chatbot.git

Press Enter to create your local clone. 4. Install the pip packages in requirements.txt

  pip install -r requirements.txt
  1. Now run it!
   chainlit run model.py -w

📖 ChatBot Conversession

⛓️Chainlit ver. on #v1.0.1.dev20230913

ChatBot Conversession img-1

⚡Streamlit ver. on #v2.0.1.dev20231230

ChatBot Conversession img-4

ChatBot.Conversession.vid.mp4

ChatBot Conversession img-2

ChatBot Conversession img-3

📌 Important Notes

  • While powerful, this chatbot isn't a substitute for professional medical advice.

🤝 Contributing

Contributions and suggestions are welcome! Feel free to fork the repository, make changes, and submit pull requests for improvements or bug fixes.

📄 License

This project is licensed under the MIT License.

About

Llama2-Medical-Chatbot is a medical chatbot that uses the Llama-2-7B-Chat-GGML model and the pdf The Gale Encyclopedia of Medicine, Volume 1, 2nd Edition. It is still under development, but it has the potential to be a valuable tool for patients, healthcare professionals, and researchers.

Topics

Resources

License

Stars

Watchers

Forks

Languages