更新model相关文档
This commit is contained in:
23
README.md
23
README.md
@@ -25,3 +25,26 @@
|
||||
1. 使用sqlalchemy作为ORM框架,需要新增实体类时运行项目根目录下的auto_generator.py
|
||||
2. 项目运行中奔溃时有发送邮件提醒功能,请在config/email.py中的收件人处添加自己的邮箱
|
||||
|
||||
## 模型更新
|
||||
|
||||
1. 模型目录文件结构(备注:static文件夹和.cache_info会在第一次调用模型时自动下载或生成)
|
||||
|
||||
```markdown
|
||||
my_model/
|
||||
│
|
||||
├─ static/
|
||||
│ ├─ inference.pdiparams
|
||||
│ ├─ inference.pdiparams.info
|
||||
│ └─ inference.pdmodel
|
||||
│
|
||||
├─ .cache_info
|
||||
├─ config.json
|
||||
├─ model_state.pdparams
|
||||
├─ sentencepiece.bpe.model
|
||||
├─ special_tokens_map.json
|
||||
├─ tokenizer_config.json
|
||||
└─ vocab.txt
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user