Spaces:
Runtime error
Runtime error
Added detailed and empowering readme
Browse filesDetailed and empowering readme added.
README.md
CHANGED
@@ -10,4 +10,32 @@ pinned: false
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
+
** GaiaMiniMed Chatbot **
|
14 |
+
|
15 |
+
Welcome to the GaiaMiniMed Chatbot repository! This project is a powerful demonstration of the capabilities of AI in the medical field. Our chatbot, built with Hugging Face's Transformers library, is designed to act as an "expert medical analyst", providing responses to medical queries.
|
16 |
+
|
17 |
+
Features
|
18 |
+
Expert Medical Analysis: The chatbot uses a fine-tuned language model to generate responses to medical questions, acting as a virtual medical expert. We utilize the AutoModelForSeq2SeqLM and AutoModelForCausalLM models from the Transformers library, which are designed for tasks that involve generating natural language text. We also use the MistralForCausalLM model, which is a variant of the GPT-3 model optimized for conversational tasks.
|
19 |
+
|
20 |
+
PEFT Model: In addition to the Transformers models, we also use the PeftModel from the PEFT library. This model is designed for efficient fine-tuning of transformer models, allowing us to adapt the base models to the specific task of medical analysis.
|
21 |
+
|
22 |
+
Interactive Interface: The chatbot is equipped with a user-friendly interface built using Gradio, making it easy for anyone to interact with the model.
|
23 |
+
|
24 |
+
Customizable: The code is structured in a way that allows you to easily swap out the base model or fine-tune the model on your own dataset.
|
25 |
+
|
26 |
+
** Getting Started **
|
27 |
+
|
28 |
+
To get started with the GaiaMiniMed Chatbot, you'll need to clone this repository and install the necessary Python libraries. The main dependencies are the Transformers, PEFT, and Gradio libraries.
|
29 |
+
|
30 |
+
Once you've installed the dependencies, you can run the chatbot by executing the main script:
|
31 |
+
|
32 |
+
This will launch the Gradio interface in your web browser, where you can interact with the chatbot.
|
33 |
+
|
34 |
+
Alternatively, you can also run the chatbot directly in the Hugging Face Spaces app. Just navigate to the GaiaMiniMed Chatbot space and click on the "Open in app" button.
|
35 |
+
|
36 |
+
** Join the Community **
|
37 |
+
We're building more than just a chatbot - we're building a community of developers and researchers interested in AI and medicine. Join us on Discord to get involved in the conversation and help shape the future, led by our benevolent discord leader (and GaiaMiniMed original creator) Tonic
|
38 |
+
https://discord.gg/VqTxc76K3u
|
39 |
+
|
40 |
+
License
|
41 |
+
This project is licensed under the terms of the Apache 2.0 license.
|