Skip to content

Commit

Permalink
Add nodes enhancement by raptor (#111)
Browse files Browse the repository at this point in the history
* add raptor

* add raptor ui support

* fix logger bug

* add node_enhancement class and modify test

* fix node_enhancement setting bug

* lint adjustment

* poetry lock

* fix poetry.lock

* fix poetry issues

* add a param

* add token calculation for Chinese and adjust context_window

* update tokenization_qwen

* update file_path

* merge feature and update poetry.lock

* exclude pytest since no vocab file in the test env

* exclude qwen.tiktoken

* delete assert
  • Loading branch information
aero-xi authored Jul 26, 2024
1 parent b4864c4 commit fa271d8
Show file tree
Hide file tree
Showing 27 changed files with 152,635 additions and 47 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ repos:
(\/.*?\.[\w:]+)/poetry.lock
args:
[
"--exclude",
"./data/tokenization/qwen.tiktoken",
"--ignore-words-list",
"astroid,gallary,momento,narl,ot,rouge,nin,gere",
]
Expand Down
Loading

0 comments on commit fa271d8

Please sign in to comment.