Commit 34231bc5f8a7346b4f2fdb525cc8aba36d7b2d64
1 parent
e30795fb
【代码优化】AI 大模型:transformer 的 onnx、tokenizer 走 CDN,避免 github
Showing
1 changed file
with
6 additions
and
0 deletions
yudao-server/src/main/resources/application.yaml
| ... | ... | @@ -157,6 +157,12 @@ spring: |
| 157 | 157 | redis: |
| 158 | 158 | index: default-index |
| 159 | 159 | prefix: "default:" |
| 160 | + embedding: | |
| 161 | + transformer: | |
| 162 | + onnx: | |
| 163 | + model-uri: http://test.yudao.iocoder.cn/model.onnx | |
| 164 | + tokenizer: | |
| 165 | + uri: http://test.yudao.iocoder.cn/tokenizer.json | |
| 160 | 166 | qianfan: # 文心一言 |
| 161 | 167 | api-key: x0cuLZ7XsaTCU08vuJWO87Lg |
| 162 | 168 | secret-key: R9mYF9dl9KASgi5RUq0FQt3wRisSnOcK | ... | ... |