Skip to content

Conversation

@pekopoke
Copy link
Contributor

@pekopoke pekopoke commented Feb 17, 2025

Introduction

This kaoti prompt is used to detect whether there are quality issues in exam scenario data, and the prompt is based common prompt v4.

Usage

Prompt file: prompt_text_quality_kaoti.py

Evaluation Results

Evaluation file: kaoti_data_evaluated_by_prompt.md

@shijinpjlab
Copy link
Collaborator

文件名全部小写,格式保持一致

from dingo.exec import Executor

input_data = {
"eval_group": "v2",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成kaoti


input_data = {
"eval_group": "v2",
"input_path": "lulindong/prompt_v4_kaoti",# s3 path :qa-huawei
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成/your/dataset/path

@shijinpjlab shijinpjlab merged commit c13c5c1 into MigoXLab:dev Mar 4, 2025
3 checks passed
e06084 added a commit that referenced this pull request Mar 31, 2025
* add the kaoti prompt v3  base  common prompt v4 (#35)

* feat: add compare scene.

* feat: add compare scene test case.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* feat: add PromptTextQualityV4.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* feat: support mt-bench101&mt-bench dataset and example, add more use scenarios.

* minor fix

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* feat: add detect politics scene. (#46)

* feat: add compare scene.

* feat: add compare scene test case.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* feat: add PromptTextQualityV4.

* feat: add detect politics scene.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* feat:
add prompt prohibitions.
extend detect_politics to detect_security, which including politics and prohibitions.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* feat: Add support for the same scene. (#47)



* feat:
add prompt prohibitions.
extend detect_politics to detect_security, which including politics and prohibitions.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* feat: Add support for the same scene.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* docs: update readme (#49)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/PyCQA/isort: 6.0.0 → 6.0.1](PyCQA/isort@6.0.0...6.0.1)


* docs: update readme

* x

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* feat: Update version 1.5.0 (#50)

---------

Co-authored-by: pekopoke <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: chupei <[email protected]>
Co-authored-by: liuyuxin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants