Commit 0d896a2
authored
feat: add report generator and update zero-shot evaluation pipeline (#32)
* feat: add report generator and update zero-shot evaluation pipeline
- Add report_generator.py for generating evaluation reports
- Update schema.py with new data structures
- Update zero_shot_pipeline.py with report generation support
- Add example evaluation report for oncology translation
- Update zero_shot_evaluation documentation
* chore: 移除未使用的logger导入
* fix: 修复代码格式和尾部空白问题
* refactor(zero-shot): extract magic numbers to constants and improve type safety
* docs: move evaluation report example to docs and exclude evaluation_results from git
- Move oncology_translation_report.md to docs/applications/examples/
- Add reference to example report in zero_shot_evaluation.md
- Add /evaluation_results to .gitignore
- Fix examples/ gitignore rule to only ignore root-level examples folder
* docs: update example report to English and fix documentation
- Regenerate evaluation report in English using config.yaml
- Update zero_shot_evaluation.md reference text to English
- Replace Chinese example report with English version
* docs: translate sample report structure to English
* docs: rename examples folder to sample_reports
* docs: move evaluation report example to docs and exclude evaluation_results from git
- Move oncology_translation_report.md to docs/applications/examples/
- Add reference to example report in zero_shot_evaluation.md
- Add /evaluation_results to .gitignore
- Fix examples/ gitignore rule to only ignore root-level examples folder
* docs: update example report to English and fix documentation
- Regenerate evaluation report in English using config.yaml
- Update zero_shot_evaluation.md reference text to English
- Replace Chinese example report with English version
* docs: translate sample report structure to English
* docs: rename examples folder to sample_reports
* style(docs): remove trailing whitespace
* docs(applications): improve zero-shot evaluation doc with tabs and workflow styling
* feat(models): add base configuration classes for local model providers
* docs(zero-shot): Streamline evaluation documentation structure
- Consolidate 'When to Use' and 'How It Works' into concise 'Overview'
- Reorganize advanced topics into tabbed sections for better readability
- Simplify configuration examples and reduce redundant explanations
- Replace verbose 'Next Steps' with compact 'Related Topics' links
* fix1 parent 6128ca0 commit 0d896a2
File tree
3 files changed
+315
-302
lines changed- cookbooks/zero_shot_evaluation
- docs/applications
3 files changed
+315
-302
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
95 | 103 | | |
96 | 104 | | |
97 | 105 | | |
| |||
101 | 109 | | |
102 | 110 | | |
103 | 111 | | |
| 112 | + | |
104 | 113 | | |
105 | 114 | | |
106 | 115 | | |
| |||
118 | 127 | | |
119 | 128 | | |
120 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
121 | 144 | | |
122 | 145 | | |
123 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
194 | 196 | | |
195 | 197 | | |
196 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
197 | 216 | | |
198 | 217 | | |
199 | 218 | | |
| |||
217 | 236 | | |
218 | 237 | | |
219 | 238 | | |
| 239 | + | |
220 | 240 | | |
221 | 241 | | |
222 | 242 | | |
| |||
346 | 366 | | |
347 | 367 | | |
348 | 368 | | |
| 369 | + | |
349 | 370 | | |
350 | 371 | | |
351 | 372 | | |
| |||
527 | 548 | | |
528 | 549 | | |
529 | 550 | | |
530 | | - | |
531 | | - | |
| 551 | + | |
| 552 | + | |
532 | 553 | | |
533 | 554 | | |
534 | 555 | | |
| |||
546 | 567 | | |
547 | 568 | | |
548 | 569 | | |
549 | | - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
550 | 595 | | |
551 | 596 | | |
552 | 597 | | |
| |||
635 | 680 | | |
636 | 681 | | |
637 | 682 | | |
638 | | - | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
639 | 687 | | |
640 | 688 | | |
641 | 689 | | |
| |||
649 | 697 | | |
650 | 698 | | |
651 | 699 | | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
652 | 705 | | |
653 | 706 | | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
654 | 731 | | |
655 | 732 | | |
656 | 733 | | |
| |||
0 commit comments