Commit Graph

9 Commits

Author SHA1 Message Date
jiangyuxiaoxiao
4f2ae91ce2 Prevent repeatedly loading the BERT model from the disk. (#37)
* Prevent repeatedly loading the BERT model from the disk.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-25 12:39:55 +08:00
Stardust-minus
eef212fd00 Apply Code Formatter Change 2023-09-06 13:42:05 +00:00
Stardust·减
7ba432978b Update chinese_bert.py 2023-09-05 20:39:10 +08:00
Stardust·减
13c9a12573 fix 2023-09-05 19:41:41 +08:00
Stardust·减
3719c5e303 Update chinese_bert.py 2023-09-05 19:38:45 +08:00
Stardust·减
dcd5ed3c43 新增device传参 2023-09-05 19:38:23 +08:00
源文雨
a4f0b57ae8 feat: add mps to chinese bert 2023-09-04 01:27:16 +08:00
rcell
b601991286 add bert 2023-07-21 12:43:13 +08:00
rcell
3604247c92 init 2023-07-21 12:12:35 +08:00