llSourcell/Doctor-Dignity là một trong những repo mã nguồn mở mà TopGit theo dõi, hiện có 3.8k sao, viết chủ yếu bằng Python. Doctor Dignity is an LLM that can pass the US Medical Licensing Exam. It works offline, it's cross-platform, & your health data stays private.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
DISCLAIMER - Do not take any advice from Doctor Dignity seriously yet. This is a work in progress and taking any advice seriously could result in serious injury or even death.
Overview
Doctor Dignity is a Large Language Model that can pass the US Medical Licensing Exam. This is an open-source project with a mission to provide everyone their own private doctor. Doctor Dignity is a version of Meta's Llama2 7 billion parameter Large Language Model that was fine-tuned on a Medical Dialogue Dataset, then further improved using Reinforcement Learning & Constitutional AI. Since the model is only 3 Gigabytes in size, it fits on any local device, so there is no need to pay an API to use it. It's free, made for offline usage which preserves patient confidentiality, and it's available on iOS, Android, and Web. Pull requests for feature additions and improvements are encouraged.
Dependencies
Numpy (Use matrix math operations)
PyTorch (Build Deep Learning models)
Datasets (Access datasets from huggingface hub)
Huggingface_hub (access huggingface data & models)
Transformers (Access models from HuggingFace hub)
Trl (Transformer Reinforcement Learning. And fine-tuning.)
** Find the right version of MLC LLM for your system here
4. Add Weights to Xcode
cd ./ios
open ./prepare_params.sh # make sure builtin_list only contains "RedPajama-INCITE-Chat-3B-v1-q4f16_1"
./prepare_params.sh
Open Xcode Project and run!
DIY Training
In order to train the model, you can run the training.ipynb notebook locally or remotely via a cloud service like Google Colab Pro. The training process requires a GPU, and if you don't have one then the most accessible option i found was using Google Colab Pro which costs $10/month. The total training time for Doctor Dignity including supervised fine-tuning of the initial LLama model on custom medical data, as well as further improving it via Reinforcement Learning from Constitional AI Feedback took 24 hours on a paid instance of Google Colab. If you're interested in learning more about how this process works, details are in the training.ipynb notebook.
There are 2 huggingface repos, one which is quantized for mobile and one that is not.
Old iOS app
Step 1: Download the iOS Machine Learning Compilation Chat Repository
Step 2: Follow the installation steps
Step 3: Once the app is running on your iOS device or simulator, tap "add model variant"
Step 4: Enter the URL for the latest Doctor Dignity model to download it: [https://huggingface.co/llSourcell/doctorGPT_mini] (https://huggingface.co/llSourcell/doctorGPT_mini)
Step 5: Tap 'Add Model' and start chatting locally, inference runs on device. No internet connection needed!
Android app (TODO)
Step 1: Download the Android Machine Learning Compilation Chat Repository
Step 2: Follow the installation steps
Step 3: Tap "add model variant"
Step 4: Enter the URL for the latest Doctor Dignity model to download it: https://huggingface.co/llSourcell/doctorGPT_mini
Step 5: Tap 'Add Model' and start chatting locally! No internet needed.
Web (TODO)
As an experiment in Online Learning using actual human feedback, i want to deploy the model as a Flask API with a React front-end. In this case, anyone can chat with the model at this URL. After each query, a human can rate the model's response. This rating is then used to further improve the model's performance through reinforcement learning. to run the app, download flask and then you can run:
flask run
Then visit localhost:3000 to interact with it! You can also deploy to vercel
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/llSourcell/Doctor-Dignity là nguồn chính thức.
llSourcell/Doctor-Dignity có phải mã nguồn mở không?
Có — llSourcell/Doctor-Dignity phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/llSourcell/Doctor-Dignity.
llSourcell/Doctor-Dignity có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho llSourcell/Doctor-Dignity. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
llSourcell/Doctor-Dignity dùng license gì?
llSourcell/Doctor-Dignity phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
llSourcell/Doctor-Dignity là gì?
llSourcell/Doctor-Dignity (llSourcell/Doctor-Dignity) là dự án Python trên GitHub. Theo mô tả gốc: Doctor Dignity is an LLM that can pass the US Medical Licensing Exam. It works offline, it's cross-platform, & your health data stays private.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về Doctor-Dignity?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về Doctor-Dignity.