FreedomIntelligence / Apollo-MoE-7B

huggingface.co
Total runs: 102
24-hour runs: 4
7-day runs: -88
30-day runs: -63
Model's Last Updated: April 07 2025
question-answering

Introduction of Apollo-MoE-7B

Model Details of Apollo-MoE-7B

Democratizing Medical LLMs For Much More Languages

Covering 12 Major Languages including English, Chinese, French, Hindi, Spanish, Arabic, Russian, Japanese, Korean, German, Italian, Portuguese and 38 Minor Languages So far.

📃 Paper • 🌐 Demo • 🤗 ApolloMoEDataset • 🤗 ApolloMoEBench • 🤗 Models •🌐 Apollo • 🌐 ApolloMoE

Apollo

🌈 Update
  • [2024.10.15] ApolloMoE repo is published!🎉
Languages Coverage

12 Major Languages and 38 Minor Languages

Click to view the Languages Coverage

ApolloMoE

Architecture
Click to view the MoE routing image

ApolloMoE

Results
Dense

🤗 Apollo2-0.5B • 🤗 Apollo2-1.5B • 🤗 Apollo2-2B

🤗 Apollo2-3.8B • 🤗 Apollo2-7B • 🤗 Apollo2-9B

Click to view the Dense Models Results

ApolloMoE

Post-MoE

🤗 Apollo-MoE-0.5B • 🤗 Apollo-MoE-1.5B • 🤗 Apollo-MoE-7B

Click to view the Post-MoE Models Results

ApolloMoE

Usage Format
Apollo2
  • 0.5B, 1.5B, 7B: User:{query}\nAssistant:{response}<|endoftext|>
  • 2B, 9B: User:{query}\nAssistant:{response}<eos>
  • 3.8B: <|user|>\n{query}<|end|><|assisitant|>\n{response}<|end|>
Apollo-MoE
  • 0.5B, 1.5B, 7B: User:{query}\nAssistant:{response}<|endoftext|>
Dataset & Evaluation
Results reproduction
Click to expand

We take Apollo2-7B or Apollo-MoE-0.5B as example

  1. Download Dataset for project:

    bash 0.download_data.sh  
    
  2. Prepare test and dev data for specific model:

    • Create test data for with special token
    bash 1.data_process_test&dev.sh
    
  3. Prepare train data for specific model (Create tokenized data in advance):

    • You can adjust data Training order and Training Epoch in this step
    bash 2.data_process_train.sh
    
  4. Train the model

    • If you want to train in Multi Nodes please refer to ./src/sft/training_config/zero_multi.yaml
    bash 3.single_node_train.sh
    
  5. Evaluate your model: Generate score for benchmark

    bash 4.eval.sh
    
Citation

Please use the following citation if you intend to use our dataset for training or evaluation:

@misc{zheng2024efficientlydemocratizingmedicalllms,
      title={Efficiently Democratizing Medical LLMs for 50 Languages via a Mixture of Language Family Experts}, 
      author={Guorui Zheng and Xidong Wang and Juhao Liang and Nuo Chen and Yuping Zheng and Benyou Wang},
      year={2024},
      eprint={2410.10626},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2410.10626}, 
}

Runs of FreedomIntelligence Apollo-MoE-7B on huggingface.co

102
Total runs
4
24-hour runs
13
3-day runs
-88
7-day runs
-63
30-day runs

More Information About Apollo-MoE-7B huggingface.co Model

More Apollo-MoE-7B license Visit here:

https://choosealicense.com/licenses/apache-2.0

Apollo-MoE-7B huggingface.co

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

FreedomIntelligence Apollo-MoE-7B online free

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

FreedomIntelligence Apollo-MoE-7B online free url in huggingface.co:

https://huggingface.co/FreedomIntelligence/Apollo-MoE-7B

Apollo-MoE-7B install

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

Apollo-MoE-7B install url in huggingface.co:

https://huggingface.co/FreedomIntelligence/Apollo-MoE-7B

Url of Apollo-MoE-7B

Provider of Apollo-MoE-7B huggingface.co

FreedomIntelligence
ORGANIZATIONS

Other API from FreedomIntelligence