examples/q8_13b-p7b-p13b/README.md
为了快速评测相关模型的实际表现,本项目在给定相同的prompt的情况下,在一些常见任务上对比测试了本项目的中文Alpaca-13B、中文Alpaca-Plus-7B、中文Alpaca-Plus-13B的效果。生成回复具有随机性,受解码超参、随机种子等因素影响。以下相关评测并非绝对严谨,测试结果仅供晾晒参考,欢迎自行体验。
⚠️ 以下测试结果均基于8-bit量化模型,效果接近FP16,具体请看量化方法。
| 测试任务 | 详细样例 | 样例数 | Alpaca-13B | Alpaca-Plus-7B | Alpaca-Plus-13B |
|---|---|---|---|---|---|
| 💯总平均分 | - | 200 | 74.3 | 78.2 | 👍🏻80.8 |
| 知识问答 | QA.md | 20 | 70 | 74 | 👍🏻79 |
| 开放式问答 | OQA.md | 20 | 77 | 77 | 77 |
| 数值计算、推理 | REASONING.md | 20 | 61 | 61 | 60 |
| 诗词、文学、哲学 | LITERATURE.md | 20 | 65 | 👍🏻76 | 👍🏻76 |
| 音乐、体育、娱乐 | ENTERTAINMENT.md | 20 | 68 | 73 | 👍🏻80 |
| 写信、写文章 | GENERATION.md | 20 | 83 | 82 | 👍🏻87 |
| 文本翻译 | TRANSLATION.md | 20 | 84 | 87 | 👍🏻90 |
| 多轮交互 | DIALOGUE.md | 20 | 88 | 89 | 89 |
| 代码编程 | CODE.md | 20 | 65 | 64 | 👍🏻70 |
| 伦理、拒答 | ETHICS.md | 20 | 82 | 👍🏻99 | 👍🏻100 |
说明:
测试中使用了统一的解码参数:
./main -m zh-alpaca-models/{7B,13B,7B-Plus}/ggml-model-q8_0.bin --color -f ./prompts/alpaca.txt -ins \
-b 16 -c 2048 -n 512 -t 6 \
--temp 0.2 --top_k 40 --top_p 0.9 \
--repeat_penalty 1.1
注:可能并不适合所有任务。实际使用时,对话、写作类等自由生成类任务可适当调高temp。
The followings are ChatGPT-like systems' outputs based on a single prompt. Please rate an overall score on a ten point scale for each system and give a short explanation to justify your scores. Please try not to give the same scores for different system unless they are indistinguishable.
Prompt:
<prompt-input>
System1:
System2:
注:优先使用GPT-4打分。由于GPT-4的交互次数限制,一部分打分由ChatGPT(gpt-3.5-turbo)进行。