summykai/react-hook-form-sft-dataset
收藏Hugging Face2025-12-16 更新2025-12-20 收录
下载链接:
https://hf-mirror.com/datasets/summykai/react-hook-form-sft-dataset
下载链接
链接失效反馈官方服务:
资源简介:
React Hook Form-SFT是一个用于指令调优的数据集,专门针对React Hook Form v7.68版本。该数据集旨在教导模型编写、调试和解释React Hook Form的模式,涵盖非受控(`register`)和受控(`Controller`)集成,以及性能、TypeScript、可访问性、测试和实际调试工作流程。数据集包含ChatML风格的`messages`和结构化的`metadata`,通过模式不相交的训练/验证分割(2,799训练/329验证)减少跨分割泄漏。数据集生成过程包括模式目录构建、示例生成、改写、去重和分割,最终包含3,128个独特示例,覆盖76种模式。数据集适用于训练助手编写正确的RHF代码、调试RHF问题以及生成具有TypeScript和合理UX/可访问性默认值的RHF实现。
React Hook Form-SFT is an instruction-tuning dataset specifically designed for React Hook Form v7.68. It teaches models to write, debug, and explain React Hook Form patterns—covering both uncontrolled (`register`) and controlled (`Controller`) integrations, plus performance, TypeScript, accessibility, testing, and real-world debugging workflows. The dataset features ChatML-style `messages` and structured `metadata`, with a pattern-disjoint train/validation split (2,799 train / 329 validation) to reduce leakage across splits. The generation pipeline includes pattern catalog building, example generation, paraphrasing, deduplication, and splitting, resulting in 3,128 unique examples covering 76 patterns. The dataset is best for training assistants to write correct RHF code, debugging RHF issues, and generating RHF implementations with TypeScript and reasonable UX/accessibility defaults.
提供机构:
summykai



