lvkaokao
commited on
Commit
•
090202f
1
Parent(s):
2ecaf10
update doc.
Browse files
README.md
CHANGED
@@ -4,4 +4,51 @@ license: apache-2.0
|
|
4 |
|
5 |
## Fine-tuning on Intel Gaudi2
|
6 |
|
7 |
-
This model is a fine-tuned model based on [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
## Fine-tuning on Intel Gaudi2
|
6 |
|
7 |
+
This model is a fine-tuned model based on [Intel/neural-chat-7b-v3-1](https://huggingface.co/Intel/neural-chat-7b-v3-1) on the [meta-math/MetaMathQA](https://huggingface.co/datasets/meta-math/MetaMathQA) dataset. And make a alignment using DPO method with [Intel/orca_dpo_pairs](https://huggingface.co/datasets/Intel/orca_dpo_pairs). For more details about [Intel/neural-chat-7b-v3-1](https://huggingface.co/Intel/neural-chat-7b-v3-1), you can refer our blog [The Practice of Supervised Fine-tuning and Direct Preference Optimization on Intel Gaudi2](https://medium.com/@NeuralCompressor/the-practice-of-supervised-finetuning-and-direct-preference-optimization-on-habana-gaudi2-a1197d8a3cd3)
|
8 |
+
|
9 |
+
## Model date
|
10 |
+
Neural-chat-7b-v3-1 was trained at December, 2023.
|
11 |
+
|
12 |
+
### Training sample code
|
13 |
+
Here is the sample code to reproduce the model: [Sample Code](https://github.com/intel/intel-extension-for-transformers/blob/main/intel_extension_for_transformers/neural_chat/examples/finetuning/finetune_neuralchat_v3/README.md).
|
14 |
+
|
15 |
+
## Prompt Template
|
16 |
+
|
17 |
+
```
|
18 |
+
### System:
|
19 |
+
{system}
|
20 |
+
### User:
|
21 |
+
{usr}
|
22 |
+
### Assistant:
|
23 |
+
|
24 |
+
```
|
25 |
+
|
26 |
+
## Ethical Considerations and Limitations
|
27 |
+
neural-chat-7b-v3-2 can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.
|
28 |
+
|
29 |
+
Therefore, before deploying any applications of neural-chat-7b-v3-2, developers should perform safety testing.
|
30 |
+
|
31 |
+
## Disclaimer
|
32 |
+
|
33 |
+
The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please cosult an attorney before using this model for commercial purposes.
|
34 |
+
|
35 |
+
## Organizations developing the model
|
36 |
+
|
37 |
+
The NeuralChat team with members from Intel/DCAI/AISE/AIPT. Core team members: Kaokao Lv, Liang Lv, Chang Wang, Wenxin Zhang, Xuhui Ren, and Haihao Shen.
|
38 |
+
|
39 |
+
## Useful links
|
40 |
+
* Intel Neural Compressor [link](https://github.com/intel/neural-compressor)
|
41 |
+
* Intel Extension for Transformers [link](https://github.com/intel/intel-extension-for-transformers)
|
42 |
+
|
43 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
44 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_Intel__neural-chat-7b-v3-1) (**note:** the leaderboard removes drop task)
|
45 |
+
|
46 |
+
| Metric | Value |
|
47 |
+
|-----------------------|---------------------------|
|
48 |
+
| Avg. | 68.29 |
|
49 |
+
| ARC (25-shot) | 67.49 |
|
50 |
+
| HellaSwag (10-shot) | 83.92 |
|
51 |
+
| MMLU (5-shot) | 63.55 |
|
52 |
+
| TruthfulQA (0-shot) | 59.68 |
|
53 |
+
| Winogrande (5-shot) | 79.95 |
|
54 |
+
| GSM8K (5-shot) | 55.12 |
|