CoolFace
Modelpublic

lighteternal/Llama3-merge-biomed-8b

sourceHugging Facellama3updated 2y agoView on Hugging Face
5likes25downloads
Model Card

Llama3-merge-biomed-8b

This is a DARE-TIES Merge of Llama3-8b-Instruct + NousResearch/Hermes-2-Pro-Llama-3-8B + aaditya/Llama3-OpenBioLLM-8B. It is a simple experiment to assess whether combining models with strengths in general language understanding and biomedical knowledge can enhance performance on specialized tasks without compromising general applicability. The results indicate promising outcomes in areas like HendrycksTest tasks related to Biology and Medicine, as well as improvements in complex reasoning as seen in the ARC Challenge and Winogrande benchmarks.

Usage

I recommend using the prompt template of Llama3: https://llama.meta.com/docs/model-cards-and-prompt-formats/meta-llama-3/

Leaderboard metrics according to ๐Ÿค— Open LLM Leaderboard

TaskMetricOurs (%)Llama38BInstr. (%)OpenBioLLM8B (%)
ARC ChallengeAccuracy59.3957.1755.38
Normalized Accuracy63.6560.7558.62
HellaswagAccuracy62.5959.0461.83
Normalized Accuracy81.5378.5580.76
WinograndeAccuracy75.9374.5170.88
GSM8KAccuracy59.3668.6910.15
HendrycksTest-AnatomyAccuracy72.5965.1969.62
HendrycksTest-Clinical KnowledgeAccuracy77.8374.7260.38
HendrycksTest-College BiologyAccuracy81.9479.8679.86
HendrycksTest-College MedicineAccuracy69.3663.5870.52
HendrycksTest-Medical GeneticsAccuracy86.0080.0080.00
HendrycksTest-Professional MedicineAccuracy77.9471.6977.94

This is a merge of pre-trained language models created using mergekit.

Merge Details

Merge Method

This model was merged using the DARE TIES merge method using meta-llama/Meta-Llama-3-8B-Instruct as a base.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

yaml
models:
  - model: meta-llama/Meta-Llama-3-8B-Instruct
    # Base model providing a general foundation without specific parameters

  - model: meta-llama/Meta-Llama-3-8B-Instruct
    parameters:
      density: 0.60  
      weight: 0.5  

  - model: NousResearch/Hermes-2-Pro-Llama-3-8B
    parameters:
      density: 0.55  
      weight: 0.1  

  - model: aaditya/Llama3-OpenBioLLM-8B
    parameters:
      density: 0.55  
      weight: 0.4 

merge_method: dare_ties
base_model: meta-llama/Meta-Llama-3-8B-Instruct
parameters:
  int8_mask: true
dtype: bfloat16