huggingface / huggingface/context-course
Inconsistency ... maybe - Build Your First Skill
- Dominant language
- Python
- Stars
- 90
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
We create a directory structure at the beginning of the 2nd lesson (i.e., hf-dataset-validation). The mkdir and touch doesn't exactly create the directory structure immediately below where it states, "... the directory".
The mermaid illustration show /scripts with two .py files. The files aren't made ... in the previous step?
The large .md contains the code for the above but w/in the SKILL.md (see below).
## Helper Scripts
### scripts/validate_dataset.py
```python
#!/usr/bin/env python3
"""Validate Hugging Face datasets."""
import json
import sys
import pandas as pd
from pathlib import Path
def validate_csv(filepath):
"""Validate a CSV dataset file."""
errors = []
warnings = []
report = {
"filepath": filepath,
"format": "csv",
"errors": errors,
"warnings": warnings,
"metadata": {}
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.