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
feat: Add Hugging Face Hub push functionality with CLI options and environment support
- Introduced command-line arguments for pushing datasets to Hugging Face Hub (`--push-to-hub`, `--repo-id`, `--hf-token`, `--private`)
- Updated generate command to optionally push generated datasets directly to HF Hub
- Added environment variable support for HF token via `.env` file using `python-dotenv`
- Created new `hf_hub.py` module for HF Hub upload implementation
- Enhanced README with example commands for generating and pushing datasets
- Updated `.env.example` to include optional `HF_TOKEN` for HF Hub authentication
See `examples/` directory for complete working examples.
123
177
124
178
**Note**: The examples in `examples/` use `python-dotenv` for convenience (load API keys from `.env` file). Install it with `pip install python-dotenv` if you want to use this approach.
@@ -228,7 +282,7 @@ For detailed information about the system architecture, pipeline, and core compo
0 commit comments