Update README.md
Browse files
README.md
CHANGED
@@ -55,4 +55,14 @@ print(tokenizer.decode(logits.argmax(-1)[0, 1:-1]))
|
|
55 |
|
56 |
```
|
57 |
tokenizer.decode(logits.argmax(-1)[0, 1:-1])
|
58 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
```
|
57 |
tokenizer.decode(logits.argmax(-1)[0, 1:-1])
|
58 |
+
```
|
59 |
+
|
60 |
+
# 常见问题
|
61 |
+
|
62 |
+
1. 网络问题,例如:`Connection Error`
|
63 |
+
|
64 |
+
解决方案:将模型下载到本地使用。批量下载方案可参考该[博客](https://blog.csdn.net/zhaohongfei_358/article/details/126222999)
|
65 |
+
|
66 |
+
2. 将模型下载到本地使用时出现报错:`ModuleNotFoundError: No module named 'transformers_modules.iioSnail/ChineseBERT-base'`
|
67 |
+
|
68 |
+
解决方案:将 `iioSnail/ChineseBERT-base` 改为 `iioSnail\ChineseBERT-base`
|