许可证:MIT
模型索引:
- 名称:piccolo-math-2x7b
结果:
- 任务:
类型:文本生成
名称:文本生成
数据集:
名称:AI2推理挑战赛(25样本)
类型:ai2_arc
配置:ARC挑战赛
拆分:测试集
参数:
少量样本数:25
指标:
- 类型:标准化准确率
值:69.11
名称:标准化准确率
来源:
URL:https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=macadeliccc/piccolo-math-2x7b
名称:开放大语言模型排行榜
- 任务:
类型:文本生成
名称:文本生成
数据集:
名称:HellaSwag(10样本)
类型:hellaswag
拆分:验证集
参数:
少量样本数:10
指标:
- 类型:标准化准确率
值:87.27
名称:标准化准确率
来源:
URL:https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=macadeliccc/piccolo-math-2x7b
名称:开放大语言模型排行榜
- 任务:
类型:文本生成
名称:文本生成
数据集:
名称:MMLU(5样本)
类型:cais/mmlu
配置:全部
拆分:测试集
参数:
少量样本数:5
指标:
- 类型:准确率
值:63.69
名称:准确率
来源:
URL:https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=macadeliccc/piccolo-math-2x7b
名称:开放大语言模型排行榜
- 任务:
类型:文本生成
名称:文本生成
数据集:
名称:TruthfulQA(0样本)
类型:truthful_qa
配置:多项选择
拆分:验证集
参数:
少量样本数:0
指标:
- 类型:mc2
值:63.86
来源:
URL:https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=macadeliccc/piccolo-math-2x7b
名称:开放大语言模型排行榜
- 任务:
类型:文本生成
名称:文本生成
数据集:
名称:Winogrande(5样本)
类型:winogrande
配置:winogrande_xl
拆分:验证集
参数:
少量样本数:5
指标:
- 类型:准确率
值:79.87
名称:准确率
来源:
URL:https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=macadeliccc/piccolo-math-2x7b
名称:开放大语言模型排行榜
- 任务:
类型:文本生成
名称:文本生成
数据集:
名称:GSM8k(5样本)
类型:gsm8k
配置:主测试集
拆分:测试集
参数:
少量样本数:5
指标:
- 类型:准确率
值:70.13
名称:准确率
来源:
URL:https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=macadeliccc/piccolo-math-2x7b
名称:开放大语言模型排行榜
Piccolo-math-2x7b
纪念我心爱的狗狗克劳斯(Piccolo)
~ Piccolo(意大利语):小家伙 ~

代码示例
推理和评估的Colab笔记本可在此处获取链接
from transformers import AutoModelForCausalLM, AutoTokenizer
def generate_response(prompt):
"""
根据输入提示生成模型的响应。
参数:
prompt (str):模型的提示文本。
返回:
str:模型生成的响应。
"""
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256, eos_token_id=tokenizer.eos_token_id, pad_token_id=tokenizer.pad_token_id)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
return response
model_id = "macadeliccc/piccolo-math-2x7b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, load_in_4bit=True)
prompt = "训练意大利卡斯罗犬的最佳方法是什么?"
print("响应:")
print(generate_response(prompt), "\n")
该模型能够处理高质量的代码、数学和逻辑推理问题。尝试提出任何你能想到的问题。
评估结果
模型 |
AGIEval |
GPT4All |
TruthfulQA |
Bigbench |
平均分 |
piccolo-math-2x7b |
43.89 |
74.98 |
63.96 |
44.99 |
56.96 |
EQ基准测试
测试完成:
- 2024-01-24 00:00:40
- 耗时:183.3分钟
- 提示格式:Mistral
- 模型:macadeliccc/piccolo-math-2x7b
- 得分(v2):70.74
- 可解析性:167.0
批次完成
耗时:183.3分钟
AGIEval
任务 |
版本 |
指标 |
值 |
|
标准误差 |
agieval_aqua_rat |
0 |
准确率 |
24.41 |
± |
2.70 |
|
|
标准化准确率 |
24.80 |
± |
2.72 |
agieval_logiqa_en |
0 |
准确率 |
35.79 |
± |
1.88 |
|
|
标准化准确率 |
36.71 |
± |
1.89 |
agieval_lsat_ar |
0 |
准确率 |
23.48 |
± |
2.80 |
|
|
标准化准确率 |
23.91 |
± |
2.82 |
agieval_lsat_lr |
0 |
准确率 |
49.22 |
± |
2.22 |
|
|
标准化准确率 |
50.00 |
± |
2.22 |
agieval_lsat_rc |
0 |
准确率 |
63.94 |
± |
2.93 |
|
|
标准化准确率 |
64.31 |
± |
2.93 |
agieval_sat_en |
0 |
准确率 |
77.18 |
± |
2.93 |
|
|
标准化准确率 |
76.70 |
± |
2.95 |
agieval_sat_en_without_passage |
0 |
准确率 |
45.15 |
± |
3.48 |
|
|
标准化准确率 |
44.66 |
± |
3.47 |
agieval_sat_math |
0 |
准确率 |
33.64 |
± |
3.19 |
|
|
标准化准确率 |
30.00 |
± |
3.10 |
平均分:43.89%
GPT4All
任务 |
版本 |
指标 |
值 |
|
标准误差 |
arc_challenge |
0 |
准确率 |
61.86 |
± |
1.42 |
|
|
标准化准确率 |
62.88 |
± |
1.41 |
arc_easy |
0 |
准确率 |
84.34 |
± |
0.75 |
|
|
标准化准确率 |
80.47 |
± |
0.81 |
boolq |
1 |
准确率 |
86.88 |
± |
0.59 |
hellaswag |
0 |
准确率 |
68.56 |
± |
0.46 |
|
|
标准化准确率 |
85.16 |
± |
0.35 |
openbookqa |
0 |
准确率 |
37.00 |
± |
2.16 |
|
|
标准化准确率 |
47.80 |
± |
2.24 |
piqa |
0 |
准确率 |
82.21 |
± |
0.89 |
|
|
标准化准确率 |
83.68 |
± |
0.86 |
winogrande |
0 |
准确率 |
77.98 |
± |
1.16 |
平均分:74.98%
TruthfulQA
任务 |
版本 |
指标 |
值 |
|
标准误差 |
truthfulqa_mc |
1 |
mc1 |
47.37 |
± |
1.75 |
|
|
mc2 |
63.96 |
± |
1.57 |
平均分:63.96%
Bigbench
任务 |
版本 |
指标 |
值 |
|
标准误差 |
bigbench_causal_judgement |
0 |
多项选择评分 |
55.26 |
± |
3.62 |
bigbench_date_understanding |
0 |
多项选择评分 |
63.14 |
± |
2.51 |
bigbench_disambiguation_qa |
0 |
多项选择评分 |
42.64 |
± |
3.08 |
bigbench_geometric_shapes |
0 |
多项选择评分 |
22.84 |
± |
2.22 |
|
|
精确字符串匹配 |
3.34 |
± |
0.95 |
bigbench_logical_deduction_five_objects |
0 |
多项选择评分 |
36.60 |
± |
2.16 |
bigbench_logical_deduction_seven_objects |
0 |
多项选择评分 |
25.57 |
± |
1.65 |
bigbench_logical_deduction_three_objects |
0 |
多项选择评分 |
56.00 |
± |
2.87 |
bigbench_movie_recommendation |
0 |
多项选择评分 |
42.40 |
± |
2.21 |
bigbench_navigate |
0 |
多项选择评分 |
54.70 |
± |
1.57 |
bigbench_reasoning_about_colored_objects |
0 |
多项选择评分 |
62.90 |
± |
1.08 |
bigbench_ruin_names |
0 |
多项选择评分 |
53.35 |
± |
2.36 |
bigbench_salient_translation_error_detection |
0 |
多项选择评分 |
24.35 |
± |
1.36 |
bigbench_snarks |
0 |
多项选择评分 |
62.43 |
± |
3.61 |
bigbench_sports_understanding |
0 |
多项选择评分 |
70.28 |
± |
1.46 |
bigbench_temporal_sequences |
0 |
多项选择评分 |
41.30 |
± |
1.56 |
bigbench_tracking_shuffled_objects_five_objects |
0 |
多项选择评分 |
22.32 |
± |
1.18 |
bigbench_tracking_shuffled_objects_seven_objects |
0 |
多项选择评分 |
17.77 |
± |
0.91 |
bigbench_tracking_shuffled_objects_three_objects |
0 |
多项选择评分 |
56.00 |
± |
2.87 |
平均分:44.99%
平均得分:56.96%
耗时:01:51:53
[开放大语言模型排行榜评估结果](https://huggingface.co/spaces/HuggingFaceH4/open_ll