Spaces:
Running
Running
Download solar_eval/models/enums.py from dev-strender/proofread-demo: direct link, hf CLI and curl.
- Browser
- Download file 842 Bytes
-
https://huggingface.co/spaces/dev-strender/proofread-demo/resolve/main/solar_eval/models/enums.py
- Command line
-
hf download hf://spaces/dev-strender/proofread-demo/solar_eval/models/enums.py
-
curl -L -o enums.py https://huggingface.co/spaces/dev-strender/proofread-demo/resolve/main/solar_eval/models/enums.py
842 Bytes
| from enum import StrEnum | |
| class RunStatus(StrEnum): | |
| PENDING = "pending" | |
| RUNNING = "running" | |
| EVALUATING = "evaluating" | |
| COMPLETED = "completed" | |
| # ์ถ๋ก ์ด ์ผ๋ถ ์ํ์์ ์คํจํด results.jsonl ์ด ๋ฐ์ดํฐ์ ์ ์ฒด๋ฅผ ๋ฎ์ง ๋ชปํ ์ฑ | |
| # run ์ด ๋๋ฌ์ ๋. ํ๊ฐ(evaluation) ์คํจ๋ ์ด ์ํ์ ์ํฅ์ ์ฃผ์ง ์๋๋ค -- | |
| # ๋ ์ถ(์ถ๋ก ์๊ฒฐ์ฑ vs ํ๊ฐ ์ฑ๊ณต๋ฅ )์ ํ๋์ ์ํ ๋ฌธ์์ด์ ์ฑ์ฌ๋ฃ์ง ์๋๋ค. | |
| PARTIAL = "partial" | |
| FAILED = "failed" | |
| class PipelineType(StrEnum): | |
| SINGLE_STEP = "single_step" | |
| MULTI_STEP = "multi_step" | |
| class EvaluatorType(StrEnum): | |
| LLM_JUDGE = "llm_judge" | |
| LCS_DIFF = "lcs_diff" | |
| RULE_BASED = "rule_based" | |
| COMPOSITE = "composite" | |
| class DatasetSource(StrEnum): | |
| HUGGINGFACE = "huggingface" | |
| LOCAL = "local" | |