pankajmathur
commited on
Commit
•
bd11364
1
Parent(s):
8f3f7af
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,75 @@
|
|
1 |
-
---
|
2 |
-
license: llama3
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama3
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: transformers
|
6 |
+
pipeline_tag: text2text-generation
|
7 |
+
---
|
8 |
+
|
9 |
+
**Model Name: llama_3_orca_mini_v4_8b**
|
10 |
+
|
11 |
+
## Llama-3-8b base model trained on Orca Style Mini Datasets
|
12 |
+
|
13 |
+
<img src="" width="600" />
|
14 |
+
|
15 |
+
NOTICE
|
16 |
+
|
17 |
+
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.
|
18 |
+
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.
|
19 |
+
Dive in and innovate!
|
20 |
+
|
21 |
+
## Evaluation
|
22 |
+
|
23 |
+
We evaluated this model on a wide range of tasks using [Language Model Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness) from EleutherAI.
|
24 |
+
|
25 |
+
Here are the results on metrics used by [HuggingFaceH4 Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
26 |
+
|
27 |
+
| Metric |Value|
|
28 |
+
|---------------------------------|----:|
|
29 |
+
|Avg. |57.24|
|
30 |
+
|AI2 Reasoning Challenge (25-Shot)|63.14|
|
31 |
+
|HellaSwag (10-Shot) |82.35|
|
32 |
+
|MMLU (5-Shot) |56.52|
|
33 |
+
|TruthfulQA (0-shot) |51.81|
|
34 |
+
|Winogrande (5-shot) |76.48|
|
35 |
+
|GSM8k (5-shot) |13.12|
|
36 |
+
|
37 |
+
|
38 |
+
<br>
|
39 |
+
|
40 |
+
## Example Usage
|
41 |
+
|
42 |
+
Here is the ChatML prompt format
|
43 |
+
|
44 |
+
```
|
45 |
+
<|im_start|>system
|
46 |
+
You are Orca Mini, a helpful AI assistant.<|im_end|>
|
47 |
+
<|im_start|>user
|
48 |
+
Hello Orca Mini, what can you do for me?<|im_end|>
|
49 |
+
<|im_start|>assistant
|
50 |
+
```
|
51 |
+
|
52 |
+
Below shows a code example on how to use this model
|
53 |
+
|
54 |
+
```python
|
55 |
+
from transformers import AutoConfig, AutoModel, AutoTokenizer
|
56 |
+
config = AutoConfig.from_pretrained("investbrainsorg/BrokenLlama-3-8b")
|
57 |
+
model = AutoModel.from_pretrained("investbrainsorg/BrokenLlama-3-8b")
|
58 |
+
tokenizer = AutoTokenizer.from_pretrained("investbrainsorg/BrokenLlama-3-8b")
|
59 |
+
|
60 |
+
messages = [
|
61 |
+
{"role": "system", "content": "You are Orca Mini, a helpful AI assistant."},
|
62 |
+
{"role": "user", "content": "Hello Orca Mini, what can you do for me?"}
|
63 |
+
]
|
64 |
+
|
65 |
+
gen_input = tokenizer.apply_chat_template(message, return_tensors="pt")
|
66 |
+
model.generate(**gen_input)
|
67 |
+
```
|
68 |
+
This model is governed by [META LLAMA 3 COMMUNITY LICENSE AGREEMENT](LICENSE)
|
69 |
+
|
70 |
+
**Quants**
|
71 |
+
|
72 |
+
GGUF : Coming Soon
|
73 |
+
|
74 |
+
AWQ: Coming Soon
|
75 |
+
|