Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-sett committed Nov 29, 2023
1 parent dabc69d commit 75091c4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
Binary file added public/bai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions src/assets/json/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"量化级别": "8bit 4bit",
"性能指标": "https://ai.meta.com/resources/models-and-libraries/llama/见官网界面(报告模型的性能指标,如准确率、召回率、F1 分数、推理速度等)",
"使用示例": "参考xx",
"其他说明": "包括任何其他与模型相关的重要信息或注意事项"
"其他说明": "包括任何其他与模型相关的重要信息或注意事项",
"indicator": "https://scontent-hkt1-2.xx.fbcdn.net/v/t39.8562-6/361265668_276217774995411_4529778090866658620_n.jpg?_nc_cat=104&ccb=1-7&_nc_sid=f537c7&_nc_ohc=KJsVZS2lS04AX9FzARW&_nc_ht=scontent-hkt1-2.xx&oh=00_AfC1wfiBz7Tg9C-glQApsIBIHzzq4PzoItbaj3iTGUjPQQ&oe=656C6866"
},
{
"模型名称": "baichuan-inc/Baichuan2-13B-Chat",
Expand All @@ -45,7 +46,8 @@
"量化级别": "8bit、4bit",
"性能指标": "https://huggingface.co/baichuan-inc/Baichuan2-13B-Chat见huggingface界面(报告模型的性能指标,如准确率、召回率、F1 分数、推理速度等)",
"使用示例": "参考https://huggingface.co/baichuan-inc/Baichuan-13B-Chat",
"其他说明": "包括任何其他与模型相关的重要信息或注意事项"
"其他说明": "包括任何其他与模型相关的重要信息或注意事项",
"indicator": "./public/bai.png"
},
{
"模型名称": "THUDM/chatglm3-6b",
Expand Down
4 changes: 2 additions & 2 deletions src/views/DataSetMore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ const submit = async (formEl: FormInstance | undefined) => {
}
const openNew = () => {
if (typeFitler.value === "md") {
window.open("http://159.138.5.80:5609/Compass/openEuler-XiaoZhi-Eval")
window.open("http://159.138.5.80:5609/Compass/openEuler-XiaoZhi-Eval/src/branch/main/README.md")
} else {
window.open("http://159.138.5.80:5609/Compass/openEuler-XiaoZhi-Eval")
window.open("http://159.138.5.80:5609/Compass/openEuler-XiaoZhi-Eval/src/branch/main/data/json")
}
}
onMounted(() => {
Expand Down
14 changes: 11 additions & 3 deletions src/views/model/ModelDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const route = useRoute()
const router = useRouter()
const activeName = ref("first")
const input = ref("")
const activeType = ref("first")
console.log(route.query.name)
const model = route.query?.name || "Meta/Llama2-13B-chat"
const modelInfo = modelList.find((item) => item["模型名称"] === model)
Expand Down Expand Up @@ -148,8 +148,16 @@ console.log(modelInfo)

<div class="mt-28">
<div class="text-2xl font-bold mb-2">评测结果</div>
<div class="mb-8">下表为模型在验证集上评测的平均得分以及各个子能力维度的得分</div>
<DataSetTable />
<el-tabs v-model="activeType" class="demo-tabs">
<el-tab-pane label="社区评测" name="first">
<div class="mb-8">下表为模型在验证集上评测的平均得分以及各个子能力维度的得分</div>
<DataSetTable />
</el-tab-pane>
<el-tab-pane label="官方指标" name="second">
<img v-if="modelInfo?.['indicator']" :src="modelInfo?.['indicator']" />
<div v-else>{{ modelInfo?.["性能指标"] }}</div>
</el-tab-pane>
</el-tabs>
</div>

<div class="mt-40 w-full flex">
Expand Down

0 comments on commit 75091c4

Please sign in to comment.