fix: Add .huggingfaceignore to prevent TSV/schema conflicts
Browse files- Prevents auto-detection of .tsv files that have different column names
- Ensures only .jsonl files are used for dataset loading
- Resolves CastError when loading from Hugging Face Hub
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- .huggingfaceignore +6 -0
.huggingfaceignore
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Ignore .tsv annotation files to prevent schema conflicts
|
2 |
+
# The dataset should only load the .jsonl files by default
|
3 |
+
*.tsv
|
4 |
+
train/
|
5 |
+
val/
|
6 |
+
test/
|