File size: 2,204 Bytes
9116584
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
be7bca2
9116584
 
 
 
be7bca2
9116584
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
base_model:
- ruslanmv/ai-medical-model-32bit
- Locutusque/Llama-3-Hercules-5.0-8B
- refuelai/Llama-3-Refueled
library_name: transformers
tags:
- mergekit
- merge
- medical
- custom
license: mit
language:
- en
datasets:
 - ruslanmv/ai-medical-chatbot
 - Locutusque/hercules-v5.0
---
# Medichat-V2-Llama3-8B 

This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).

This model is particularly effective in **structuring** the unstructured clinical texts.

### Model Composition and Features:
1. **Base Model**: The foundation of this model is based on "refuelai/Llama-3-Refueled," which itself is a refined version of the Llama3-8B model, renowned for its instruction-following capabilities and adaptability across various domains.

2. **Merged Models**:
   - **ruslanmv/ai-medical-model-32bit**: A model fine-tuned specifically for answering technical medical questions, providing a solid base of medical knowledge.
   - **Locutusque/Llama-3-Hercules-5.0-8B**: Known for its ability to follow complex instructions and handle conversational interactions effectively, especially in scientific and technical contexts.

This model was merged using the [DARE](https://arxiv.org/abs/2311.03099) [TIES](https://arxiv.org/abs/2306.01708) merge method using [refuelai/Llama-3-Refueled](https://huggingface.co/refuelai/Llama-3-Refueled) as a base.

### Models Merged

The following models were included in the merge:
* [ruslanmv/ai-medical-model-32bit](https://huggingface.co/ruslanmv/ai-medical-model-32bit)
* [Locutusque/Llama-3-Hercules-5.0-8B](https://huggingface.co/Locutusque/Llama-3-Hercules-5.0-8B)

### Configuration

The following YAML configuration was used to produce this model:

```yaml


models:
  - model: Locutusque/Llama-3-Hercules-5.0-8B
    parameters:
      weight: [0.25, 0.45, 0.35, 0.45, 0.25]
      density: [0.1, 0.25, 0.5, 0.25, 0.1]
  - model: refuelai/Llama-3-Refueled
  - model: ruslanmv/ai-medical-model-32bit
    parameters:
      weight: [0.55, 0.45, 0.25, 0.45, 0.55]
      density: [0.1, 0.25, 0.5, 0.25, 0.1]
merge_method: dare_ties
base_model: refuelai/Llama-3-Refueled
parameters:
  int8_mask: true
dtype: bfloat16

```