1
stars
6
commits
2
repos using this model
2
linked in READMEs
Feb 15, 2024
updated
speechless-thoughts-mistral-7b is fine-tuned as a baseline of the speechless-sparsetral-16x7b-MoE.
The specific datasets (speechless-thoughts-252k) are as follows:
### Instruction:
<instruction>
### Response:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name_or_path="uukuguy/speechless-thoughts-mistral-7b"
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_name_or_path, device_map="auto", trust_remote_code=True).eval()
system = ""Below is an instruction that describes a task.\nWrite a response that appropriately completes the request.\n\n""
prompt = f"{system}\n\n### Instruction:\n{instruction}\n\n### Response:"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
pred = model.generate(**inputs, max_length=4096, do_sample=True, top_k=50, top_p=0.99, temperature=0.9, num_return_sequences=1)
print(tokenizer.decode(pred.cpu()[0], skip_special_tokens=True))
| Metric | Value |
|---|---|
| humaneval-python |
{'ARC (acc_norm)': ,
'HellaSwag (acc_norm)': ,
'MMLU (acc)': ,
'TruthfulQA (mc2)': ,
'Winoground (acc)': ,
'GSM8K (acc)': ,
'DROP (f1)': ,
'Open LLM Score': }
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 59.72 |
| ARC (25-shot) | 58.96 |
| HellaSwag (10-shot) | 80.71 |
| MMLU (5-shot) | 60.11 |
| TruthfulQA (0-shot) | 49.91 |
| Winogrande (5-shot) | 77.82 |
| GSM8K (5-shot) | 30.78 |
6 commits
1
stars
6
commits
2
repos using this model
2
linked in READMEs
Feb 15, 2024
updated
speechless-thoughts-mistral-7b is fine-tuned as a baseline of the speechless-sparsetral-16x7b-MoE.
The specific datasets (speechless-thoughts-252k) are as follows:
### Instruction:
<instruction>
### Response:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name_or_path="uukuguy/speechless-thoughts-mistral-7b"
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_name_or_path, device_map="auto", trust_remote_code=True).eval()
system = ""Below is an instruction that describes a task.\nWrite a response that appropriately completes the request.\n\n""
prompt = f"{system}\n\n### Instruction:\n{instruction}\n\n### Response:"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
pred = model.generate(**inputs, max_length=4096, do_sample=True, top_k=50, top_p=0.99, temperature=0.9, num_return_sequences=1)
print(tokenizer.decode(pred.cpu()[0], skip_special_tokens=True))
| Metric | Value |
|---|---|
| humaneval-python |
{'ARC (acc_norm)': ,
'HellaSwag (acc_norm)': ,
'MMLU (acc)': ,
'TruthfulQA (mc2)': ,
'Winoground (acc)': ,
'GSM8K (acc)': ,
'DROP (f1)': ,
'Open LLM Score': }
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 59.72 |
| ARC (25-shot) | 58.96 |
| HellaSwag (10-shot) | 80.71 |
| MMLU (5-shot) | 60.11 |
| TruthfulQA (0-shot) | 49.91 |
| Winogrande (5-shot) | 77.82 |
| GSM8K (5-shot) | 30.78 |
6 commits