Skip to content

docs: fix custom model examples#1237

Open
MukundaKatta wants to merge 1 commit into
huggingface:mainfrom
MukundaKatta:codex/fix-custom-model-docs-760
Open

docs: fix custom model examples#1237
MukundaKatta wants to merge 1 commit into
huggingface:mainfrom
MukundaKatta:codex/fix-custom-model-docs-760

Conversation

@MukundaKatta
Copy link
Copy Markdown

Summary

  • update the custom model guide to match the current custom model loader contract
  • document the required abstract properties and remove stale super().__init__(config) / env_config examples
  • fix invalid task-string and Python type-hint snippets in the custom model docs

Fixes #760

Validation

  • git diff --check
  • python3 -m compileall -q src/lighteval/models/custom/custom_model.py
  • parsed all Python fenced blocks in docs/source/evaluating-a-custom-model.mdx with ast.parse

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.

[BUG] custom model docs don't run: missing imports

1 participant