You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ Please check that this feature request hasn't been suggested before.
I searched previous Ideas in Discussions didn't find any similar feature requests.
I searched previous Issues didn't find any similar feature requests.
🔖 Feature description
When processing the dataset to tokenize, and an error occurrs for whatever reason, print to terminal the last example loaded to process, to help diagnose dataset issues.
✔️ Solution
print(example)
❓ Alternatives
No response
📝 Additional Context
No response
Acknowledgements
My issue title is concise, descriptive, and in title casing.
I have searched the existing issues to make sure this feature has not been requested yet.
I have provided enough information for the maintainers to understand and evaluate this request.
The text was updated successfully, but these errors were encountered:
Since we're calling map from datasets library and we use multiple sub-classes of PromptTokenizingStrategy which implement their own tokenize prompt, I'm not sure how we could add a general try catch around everything and still get the exact prompt that caused the issue.
🔖 Feature description
When processing the dataset to tokenize, and an error occurrs for whatever reason, print to terminal the last example loaded to process, to help diagnose dataset issues.
✔️ Solution
print(example)
❓ Alternatives
No response
📝 Additional Context
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: