This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Commit 1edc0e2
cross-train core library in bf-lu (#601)
* add qna cross training
* Revert "remove cross-train cli related changes and only keep the api"
This reverts commit ab1fb84.
* call qnaCrossTrain
* add qna cross traini
* expose function
* optimize and add more corner test cases
* rename crossTrainer class
* remove cli code pieces and optimize tests
* move cross-train.ts to lu folder
* optimize function headers and naming
* typo: dialogname to dialogName
* add more test cases
* remove unused '
* add cross-train.ts cli file for test convenience and will remove it once review done
* fix bugs
* trigger ci
* update qna cross train based on feedbacks
* add config path parameter to specify the config file
* fix posttest failure
* remove dup utterances in interuption intents
* remove dup 1
* optimize all de-dup logic
* resolve all feedbacks
* add test cases to test dedup functions
* fix tslint errors
* add more friendly description for config CLI parameter
* fix config full path issue and remove uncessary loop validation
* move cross train CLI to a new package named cross-train
* fix build error in CI validation
* add missing package in package.json
* remove unused file
* fix typo
* optimize dedep logic and resolve feedbacks
* adjust test cases
* support qna source, id, prompts reconstruction in cross training
* typo: interuption to interruption
* revert CLI changes
* minor fix
* refactor cross train library tests
Co-authored-by: Vishwac Sena Kannan <vishwack@hotmail.com>1 parent 49f1871 commit 1edc0e2
8 files changed
Lines changed: 986 additions & 292 deletions
File tree
- packages/lu
- src
- parser
- cross-train
- lufile
- lu
- utils
- utils
- test/parser/cross-train
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
0 commit comments