Repository navigation
fix(data): 생성·평가에서 실제 라벨 검증 - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
배경
target_tier는 생성 모델에 요청한 유형이며, 모델이 반환한 라벨이나 평가 데이터의 정답을 대신할 수 없습니다. 현재main에는 라벨이 없을 때 이 요청값을 대신 넣는 경로가 남아 있습니다. 예를 들어reward사례를 요청한 뒤 모델이 유형을 반환하지 않아도, 생성 결과를reward로 저장할 수 있습니다.변경
target_tier를 사용하며, 마지막 메시지가 assistant인지 확인하지 않음teacher_tier가 없으면 최종 라벨과 같다고 간주생성기의 검증은 기존
--strict-target-tier옵션에서 제공하던 동작을 항상 적용하도록 바꿉니다. 이 옵션을 사용하던 명령은 그대로 실행할 수 있습니다. 재시도할 때는 라벨만 고치지 말고 요청한 유형에 맞는 새 사례를 생성하도록 안내합니다.검증
compileall, 패키지 빌드,git diff --check통과.