Commit 9c4c534
lazy import heavy dependencies (#267)
* add `require` utility
* implement catboost lazy importing
* implement peft lazy importing
* update dev dependencies installation shortcut
* implement lazy importing transformers
* fix typing errors
* run code formatter
* employ better multi-label stratifier than skmultilearn
* make sentence-transformers an optional dependency
* run ruff
* make tests runnable even without sentence-transformers dependency
* bug fix tests
* fixes after merging
* remove duplicates in optional dependencies
* move openai
* add dependencies to tests
* lint
* some skip
* skip
* lint
* more skip
* more skip
* add installs
* small fixes
* fixes
* fix typing
* fix docs
* remove require
* fix typing
* Feat/hashing vectorizer (#268)
* add embedder
* add test embedder config
* update tests
* update assertions in some tests
* Feat/extras matrix for tests (#269)
* add dependencies matrix
* add pipeline tests for each scoring module
* bug fix
* upd extras installation in gh actions
* upd extras in mypy ci
* fix issues with dependencies for bert scorer test
* fix gcn scorer tests
* fix typing errors
* upd assertions about catboost predictions
* upd ci with presets tests
* try to fix unit tests
* Feat/extras matrix for tests (#270)
* add dependencies matrix
* add pipeline tests for each scoring module
* bug fix
* upd extras installation in gh actions
* upd extras in mypy ci
* fix issues with dependencies for bert scorer test
* fix gcn scorer tests
* fix typing errors
* upd assertions about catboost predictions
* upd ci with presets tests
* try to fix unit tests
* try to fix mypy
* fix catboost test
* skip incremental evolver tests for now
* upd callback test
* run ruff
* add missing transformers dependency to embedder ci
* update test for tunable decision module
* move callback testing to the env with sentence-transformers installed
* fix embedder tests
* remove catboost from classic-medium
* lint
* small fixes
* lint
---------
Co-authored-by: Roman Solomatin <36135455+Samoed@users.noreply.github.com>
* fix import
* fix import
* fix pyproject
* move peft
* move peft
* add concurrency
* fix catboost test
* set seed without transformers
* test fixes
* fix typing
* fix test
* try to reuse reusable test
* try to reuse reusable test
* remove most importorskip
* fix typing
* Update optimizer_config.schema.json
* lint
* change gcn to hashing
* lint
* try to fail tests
---------
Co-authored-by: Roman Solomatin <36135455+Samoed@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent 1124fe4 commit 9c4c534
File tree
67 files changed
+4645
-880
lines changed- .github/workflows
- docs
- src/autointent
- _dump_tools
- _presets
- _wrappers
- embedder
- configs
- context
- data_handler
- generation
- modules/scoring
- _catboost
- _knn
- _lora
- _ptuning
- tests
- _transformers
- callback
- context
- embedder
- generation/utterances
- modules
- decision
- embedding
- scoring
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
67 files changed
+4645
-880
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
10 | 19 | | |
11 | 20 | | |
12 | 21 | | |
| |||
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
18 | | - | |
| 27 | + | |
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
| |||
40 | 49 | | |
41 | 50 | | |
42 | 51 | | |
43 | | - | |
| 52 | + | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
47 | | - | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments