forked from liguodongiot/llm-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
846a57b
commit 6fe829a
Showing
4 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
|
||
## FAQ | ||
|
||
|
||
### baichuan2报错 | ||
|
||
- 'BitsAndBytesConfig' object is not subscriptable | ||
|
||
https://huggingface.co/baichuan-inc/Baichuan2-7B-Chat/discussions/2 | ||
|
||
|
||
|
||
- AttributeError: 'BaichuanTokenizer' object has no attribute 'sp_model' | ||
|
||
降低版本到4.34.0及以下 : pip install transformers==4.34.0 | ||
|
||
|
||
|
||
## Pytorch | ||
|
||
- RuntimeError: DataLoader worker (pid xxxxx) is killed by signal: Killed. | ||
|
||
可能共享内存太小了 | ||
|
||
--shm-size 4G | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,11 @@ PPL越小越好,PPL越小,p(wi)则越大,也就是说这句话中每个词 | |
|
||
|
||
|
||
### Rouge | ||
|
||
|
||
https://github.com/Isaac-JL-Chen/rouge_chinese | ||
|
||
|
||
|
||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters