summaryrefslogtreecommitdiffstatshomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Update model download functionality and improve inference module ↵HsiangNianian2025-12-301-0/+198
| | | | to support automatic model retrieval from GitHub releases
* feat: Implement TRPG NER training and inference script with robust model ↵HsiangNianian2025-12-301-0/+115
path detection and enhanced timestamp/speaker handling - Added main training and inference logic in main.py, including CoNLL parsing, tokenization, and model training. - Introduced TRPGParser class for inference with entity aggregation and special handling for timestamps and speakers. - Developed utility functions for converting word-level CoNLL to char-level and saving datasets in various formats. - Added ONNX export functionality for the trained model. - Created a comprehensive requirements.txt and updated pyproject.toml with necessary dependencies. - Implemented tests for ONNX inference to validate model outputs.