File size: 6,856 Bytes
581e9ea 34aa2e5 81c9d05 34aa2e5 81c9d05 581e9ea 34aa2e5 ccba7cb 34aa2e5 ccba7cb 34aa2e5 ccba7cb d8df62a 34aa2e5 d8df62a ccba7cb d8df62a ccba7cb d8df62a ccba7cb d8df62a ccba7cb d8df62a ccba7cb d8df62a ccba7cb 34aa2e5 ccba7cb 34aa2e5 ccba7cb 34aa2e5 81c9d05 |
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
---
language:
- en
license: cc-by-nc-sa-4.0
tags:
- finetuned
pipeline_tag: text-generation
model-index:
- name: zoyllm-7b-slimorca
results:
- task:
type: text-generation
name: Text Generation
dataset:
name: AI2 Reasoning Challenge (25-Shot)
type: ai2_arc
config: ARC-Challenge
split: test
args:
num_few_shot: 25
metrics:
- type: acc_norm
value: 50.6
name: normalized accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=tlphams/zoyllm-7b-slimorca
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: HellaSwag (10-Shot)
type: hellaswag
split: validation
args:
num_few_shot: 10
metrics:
- type: acc_norm
value: 72.12
name: normalized accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=tlphams/zoyllm-7b-slimorca
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: MMLU (5-Shot)
type: cais/mmlu
config: all
split: test
args:
num_few_shot: 5
metrics:
- type: acc
value: 48.78
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=tlphams/zoyllm-7b-slimorca
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: TruthfulQA (0-shot)
type: truthful_qa
config: multiple_choice
split: validation
args:
num_few_shot: 0
metrics:
- type: mc2
value: 49.13
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=tlphams/zoyllm-7b-slimorca
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: Winogrande (5-shot)
type: winogrande
config: winogrande_xl
split: validation
args:
num_few_shot: 5
metrics:
- type: acc
value: 67.32
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=tlphams/zoyllm-7b-slimorca
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: GSM8k (5-shot)
type: gsm8k
config: main
split: test
args:
num_few_shot: 5
metrics:
- type: acc
value: 20.7
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=tlphams/zoyllm-7b-slimorca
name: Open LLM Leaderboard
---
# Model Card for ZoyLLM-7B-SlimOrca
The ZoyLLM-7B-SlimOrca Large Language Model (LLM) is a LoRA-finetuned generative text model with Mistral-7B-v0.1 is the base model.
Mistral-7B-v0.1 outperforms Llama 2 13B on all benchmarks we tested.
## 1. Model Architecture
ZoyLLM-7B-SlimOrca is a transformer model, with the following architecture choices:
- Grouped-Query Attention
- Sliding-Window Attention
- Byte-fallback BPE tokenizer
## 2. Datasets
- Self-introduction (20 samples)
- SlimOrca (100k samples random sampled)
- EverythingLM v3
## 3. Template
We finetuned the model using a chatml template
```
<|im_start|>system
{system}<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
```
## 4. Test examples
### 4.1. Self-introduction
```
<|im_start|>system
You are a large language model named ZoyLLM.<|im_end|>
<|im_start|>user
Who are you?<|im_end|>
<|im_start|>assistant
I am ZoyLLM, an AI created by Pham Tung Lam and Nguyen Duc Nhan to be helpful, friendly and to understand humans better.<|im_end|>
```
## 4.2. RAG testbench sample
```
<|im_start|>system
You are a large language model named ZoyLLM.<|im_end|>
<|im_start|>user
Stocks rallied Friday even after the release of stronger-than-expected U.S. jobs data and a major increase in Treasury yields. The Dow Jones Industrial Average gained 195.12 points, or 0.76%, to close at 31,419.58. The S&P 500 added 1.59% at 4,008.50. The tech-heavy Nasdaq Composite rose 1.35%, closing at 12,299.68. The U.S. economy added 438,000 jobs in August, the Labor Department said. Economists polled by Dow Jones expected 273,000 jobs. However, wages rose less than expected last month. Stocks posted a stunning turnaround on Friday, after initially falling on the stronger-than-expected jobs report. At its session low, the Dow had fallen as much as 198 points; it surged by more than 500 points at the height of the rally. The Nasdaq and the S&P 500 slid by 0.8% during their lowest points in the day. Traders were unclear of the reason for the intraday reversal. Some noted it could be the softer wage number in the jobs report that made investors rethink their earlier bearish stance. Others noted the pullback in yields from the day’s highs. Part of the rally may just be to do a market that had gotten extremely oversold with the S&P 500 at one point this week down more than 9% from its high earlier this year. Yields initially surged after the report, with the 10-year Treasury rate trading near its highest level in 14 years. The benchmark rate later eased from those levels, but was still up around 6 basis points at 4.58%. 'We’re seeing a little bit of a give back in yields from where we were around 4.8%. [With] them pulling back a bit, I think that’s helping the stock market,' said Margaret Jones, chief investment officer at Vibrant Industries Capital Advisors. 'We’ve had a lot of weakness in the market in recent weeks, and potentially some oversold conditions.'
Based on above information, answer this question as short as possible: What was the percentage in increase in the Nasdaq at closing?<|im_end|>
<|im_start|>assistant
The Nasdaq Composite rose 1.35% at closing.<|im_end|>
```
## 5. Troubleshooting
- If you see the following error:
```
KeyError: 'mistral'
```
- Or:
```
NotImplementedError: Cannot copy out of meta tensor; no data!
```
Ensure you are utilizing a stable version of Transformers, 4.34.0 or newer.
## 6. The Zoy AI Team
Pham Tung Lam, Nguyen Duc Nhan.
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_tlphams__zoyllm-7b-slimorca)
| Metric |Value|
|---------------------------------|----:|
|Avg. |51.44|
|AI2 Reasoning Challenge (25-Shot)|50.60|
|HellaSwag (10-Shot) |72.12|
|MMLU (5-Shot) |48.78|
|TruthfulQA (0-shot) |49.13|
|Winogrande (5-shot) |67.32|
|GSM8k (5-shot) |20.70|
|