BiMediX / BiMediX-Bi

huggingface.co
Total runs: 251
24-hour runs: -1
7-day runs: 5
30-day runs: 76
Model's Last Updated: April 11 2024
text-generation

Introduction of BiMediX-Bi

Model Details of BiMediX-Bi

Model Card for BiMediX-Bilingual
Model Details
  • Name: BiMediX
  • Version: 1.0
  • Type: Bilingual Medical Mixture of Experts Large Language Model (LLM)
  • Languages: English, Arabic
  • Model Architecture: Mixtral-8x7B-Instruct-v0.1
  • Training Data: BiMed1.3M, a bilingual dataset with diverse medical interactions.
Intended Use
  • Primary Use: Medical interactions in both English and Arabic.
  • Capabilities: MCQA, closed QA and chats.
Getting Started
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "BiMediX/BiMediX-Bi"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
text = "Hello BiMediX! I've been experiencing increased tiredness in the past week."
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=500)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Training Procedure
  • Dataset: BiMed1.3M, 632 million healthcare specialized tokens.
  • QLoRA Adaptation: Implements a low-rank adaptation technique, incorporating learnable low-rank adapter weights into the experts and the routing network. This results in training about 4% of the original parameters.
  • Training Resources: The model underwent training on approximately 632 million tokens from the Arabic-English corpus, including 288 million tokens exclusively for English.
Model Performance
  • Benchmarks: Outperforms the baseline model and Jais-30B in medical evaluations.
Model CKG CBio CMed MedGen ProMed Ana MedMCQA MedQA PubmedQA AVG
Jais-30B 57.4 55.2 46.2 55.0 46.0 48.9 40.2 31.0 75.5 50.6
Mixtral-8x7B 59.1 57.6 52.6 59.5 53.3 54.4 43.2 40.6 74.7 55.0
BiMediX (Bilingual) 70.6 72.2 59.3 74.0 64.2 59.6 55.8 54.0 78.6 65.4
Safety and Ethical Considerations
  • Potential issues : hallucinations, toxicity, stereotypes.
  • Usage: Research purposes only.
Accessibility
Authors

Sara Pieri, Sahal Shaji Mullappilly, Fahad Shahbaz Khan, Rao Muhammad Anwer Salman Khan, Timothy Baldwin, Hisham Cholakkal
Mohamed Bin Zayed University of Artificial Intelligence (MBZUAI)

Runs of BiMediX BiMediX-Bi on huggingface.co

251
Total runs
-1
24-hour runs
0
3-day runs
5
7-day runs
76
30-day runs

More Information About BiMediX-Bi huggingface.co Model

BiMediX-Bi huggingface.co

BiMediX-Bi huggingface.co is an AI model on huggingface.co that provides BiMediX-Bi's model effect (), which can be used instantly with this BiMediX BiMediX-Bi model. huggingface.co supports a free trial of the BiMediX-Bi model, and also provides paid use of the BiMediX-Bi. Support call BiMediX-Bi model through api, including Node.js, Python, http.

BiMediX-Bi huggingface.co Url

https://huggingface.co/BiMediX/BiMediX-Bi

BiMediX BiMediX-Bi online free

BiMediX-Bi huggingface.co is an online trial and call api platform, which integrates BiMediX-Bi's modeling effects, including api services, and provides a free online trial of BiMediX-Bi, you can try BiMediX-Bi online for free by clicking the link below.

BiMediX BiMediX-Bi online free url in huggingface.co:

https://huggingface.co/BiMediX/BiMediX-Bi

BiMediX-Bi install

BiMediX-Bi is an open source model from GitHub that offers a free installation service, and any user can find BiMediX-Bi on GitHub to install. At the same time, huggingface.co provides the effect of BiMediX-Bi install, users can directly use BiMediX-Bi installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

BiMediX-Bi install url in huggingface.co:

https://huggingface.co/BiMediX/BiMediX-Bi

Url of BiMediX-Bi

BiMediX-Bi huggingface.co Url

Provider of BiMediX-Bi huggingface.co

BiMediX
ORGANIZATIONS

Other API from BiMediX

huggingface.co

Total runs: 126
Run Growth: 105
Growth Rate: 83.33%
Updated:April 11 2024
huggingface.co

Total runs: 30
Run Growth: 8
Growth Rate: 26.67%
Updated:February 26 2024
huggingface.co

Total runs: 9
Run Growth: -10
Growth Rate: -111.11%
Updated:March 24 2024