Skip to content

Commit

Permalink
feat(eval): add framework tip with documentation link (#934)
Browse files Browse the repository at this point in the history
Add explanatory text and link to evaluation framework documentation under framework selection to help users understand differences between frameworks
  • Loading branch information
youngbeom-shin authored Feb 10, 2025
1 parent 61f13f6 commit b74b64a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frontend/src/components/evaluations/NewEvaluation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@
:value="item.id"
/>
</el-select>
<p class="text-gray-600 mt-2 font-light">
{{ t('evaluation.new.frameworkTip1') }}
<a
href="https://opencsg.com/docs/inferencefinetune/evaluation_framework_intro"
target="_blank"
class="text-brand-600 hover:text-brand-700 hover:underline"
>
{{ t('evaluation.new.frameworkTip2') }}
</a>
</p>
</el-form-item>

<el-form-item
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/locales/en_js/evaluation.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export const evaluation = {
modelName: "Model Name",
evaluationDesc: "Evaluation Description",
framework: "Framework",
frameworkTip1: "Learn about the",
frameworkTip2: "differences of evaluation frameworks",
dataset: "Dataset Selection",
resourceType: "Resource Type",
sharedResource: "Shared Resource",
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/locales/zh_js/evaluation.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export const evaluation = {
modelName: "模型名称",
evaluationDesc: "评测描述",
framework: "评测框架",
frameworkTip1: "了解评测框架的",
frameworkTip2: "区别与适用场景",
dataset: "数据集选择",
resourceType: "资源类型",
sharedResource: "共享资源",
Expand Down

0 comments on commit b74b64a

Please sign in to comment.