EvalPort: portable interchange for SwiftEval results

Abierto
#10,249 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

Start with SwiftEval.run() and get_task_result() in swift/pipelines/eval/eval.py, then review EvalArguments in swift/arguments/eval_args.py and the existing append_to_jsonl flow. Determine whether a converter is wanted for the eval_report output and how the Native, OpenCompass, and VLMEvalKit results should map to EvalPort ResultSets; done means the expected scope and output format are agreed and verified across those backends.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi ms-swift team — I maintain EvalPort (https://github.com/adhabnr-ux/evalport), an open JSON-Schema spec for portable LLM eval test cases, graders, and result sets.

swift/pipelines/eval/eval.py's SwiftEval.run()/get_task_result() wraps EvalScope (Native/OpenCompass/VLMEvalKit backends), builds a {dataset: {metric: score}} dict per backend, and appends it plus run metadata (model, adapters, time) to eval_result.jsonl via append_to_jsonl — this is close to an EvalPort ResultSet with per-dataset GraderResults, and run-level metadata already separated out in EvalArguments (swift/arguments/eval_args.py). A converter from that eval_report dict to EvalPort's ResultSet would let swift eval runs across the three backends be compared in one common format instead of three backend-specific report shapes. Just flagging the fit, not asking you to prioritize it.

Schemas: https://github.com/adhabnr-ux/evalport/tree/main/spec/schemas

— Sahi, independent contributor (not affiliated with ms-swift)

Lenguaje dominante
Python
Estrellas
16.2k
Forks
1.8k
Merge medio
1 d 14 h
PR fusionados (30 d)
68

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de modelscope/ms-swift

Todos los issues de modelscope/ms-swift

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.