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·减
edda628161 Update japanese_bert.py 2023-09-05 20:42:25 +08:00
Stardust·减
97ec85a510 Update japanese_bert.py 2023-09-05 20:24:51 +08:00
Stardust·减
eee6e42290 Update japanese_bert.py 2023-09-05 20:24:23 +08:00
Stardust·减
9d2ed39365 fix jp 2023-09-05 19:41:52 +08:00
Stardust·减
1f080322dc 添加device传参 2023-09-05 19:40:15 +08:00
Stardust·减
96c0a81e71 support mps 2023-09-05 10:24:25 +08:00
Stardust·减
82105b1cd7 Create japanese_bert.py 2023-09-05 00:54:00 +08:00