Skip to content

fix: clarify setup hints, pin pyarrow, fix NLL error message#965

Open
Jingyuan-zhu wants to merge 1 commit intoOptimalScale:mainfrom
Jingyuan-zhu:fix/diagnostics-pyarrow
Open

fix: clarify setup hints, pin pyarrow, fix NLL error message#965
Jingyuan-zhu wants to merge 1 commit intoOptimalScale:mainfrom
Jingyuan-zhu:fix/diagnostics-pyarrow

Conversation

@Jingyuan-zhu
Copy link
Copy Markdown
Contributor

  • When datasets is below the minimum version, the fix hint now points users to the repository root (pip install -r requirements.txt or pip install -e .) instead of the stale path examples/pytorch/language-modeling/requirements.txt.
  • Add pyarrow>=15.0.0 to match Hugging Face datasets 3.6.0 dependency metadata
  • Fix the unsupported-type branch in NLL evaluation so the message includes the actual dataset type (and remove the mistaken literal f{...} text). Added _nll_unsupported_dataset_message() for a clear, testable string.

- Point datasets version hint at repo-root requirements.txt / editable install
- Add pyarrow>=15.0.0 to match Hugging Face datasets 3.6.0 dependency metadata
- Fix unsupported dataset type message in NLL evaluation (and add regression test)
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.

1 participant