File size: 2,280 Bytes
bd11364
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
64
65
66
67
68
69
70
71
72
73
74
75
76
---
license: llama3
language:
- en
library_name: transformers
pipeline_tag: text2text-generation
---

**Model Name: llama_3_orca_mini_v4_8b**

##  Llama-3-8b base model trained on Orca Style Mini Datasets

<img src="" width="600" />

NOTICE

By providing proper credit and attribution, you are granted permission to use this model as a foundational base for further DPO/PPO tuning or Merges. 
I actively encourage users to customize and enhance the model according to their specific needs, as this version is designed to be a comprehensive, fully fine-tuned general model. 
Dive in and innovate!

## Evaluation

We evaluated this model on a wide range of tasks using [Language Model Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness) from EleutherAI. 

Here are the results on metrics used by [HuggingFaceH4 Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)

|             Metric              |Value|
|---------------------------------|----:|
|Avg.                             |57.24|
|AI2 Reasoning Challenge (25-Shot)|63.14|
|HellaSwag (10-Shot)              |82.35|
|MMLU (5-Shot)                    |56.52|
|TruthfulQA (0-shot)              |51.81|
|Winogrande (5-shot)              |76.48|
|GSM8k (5-shot)                   |13.12|


<br>

## Example Usage

Here is the ChatML prompt format

```
<|im_start|>system
You are Orca Mini, a helpful AI assistant.<|im_end|>
<|im_start|>user
Hello Orca Mini, what can you do for me?<|im_end|>
<|im_start|>assistant
```

Below shows a code example on how to use this model

```python
from transformers import AutoConfig, AutoModel, AutoTokenizer
config = AutoConfig.from_pretrained("investbrainsorg/BrokenLlama-3-8b")
model = AutoModel.from_pretrained("investbrainsorg/BrokenLlama-3-8b")
tokenizer = AutoTokenizer.from_pretrained("investbrainsorg/BrokenLlama-3-8b")

messages = [
    {"role": "system", "content": "You are Orca Mini, a helpful AI assistant."},
    {"role": "user", "content": "Hello Orca Mini, what can you do for me?"}
]

gen_input = tokenizer.apply_chat_template(message, return_tensors="pt")
model.generate(**gen_input)
```
This model is governed by [META LLAMA 3 COMMUNITY LICENSE AGREEMENT](LICENSE)

**Quants**

GGUF : Coming Soon

AWQ: Coming Soon