download_cn.md 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#  模型列表

## cross-encoder/ms-marco-MiniLM-L-12-v2

| 模型名称 | 模型介绍 | 模型大小  | 模型下载 |
| --- | --- | --- | --- |
|cross-encoder/ms-marco-MiniLM-L-12-v2|  | 127.28MB | [model_config.json](https://bj.bcebos.com/paddlenlp/models/community/cross-encoder/ms-marco-MiniLM-L-12-v2/model_config.json)<br>[model_state.pdparams](https://bj.bcebos.com/paddlenlp/models/community/cross-encoder/ms-marco-MiniLM-L-12-v2/model_state.pdparams)<br>[tokenizer_config.json](https://bj.bcebos.com/paddlenlp/models/community/cross-encoder/ms-marco-MiniLM-L-12-v2/tokenizer_config.json)<br>[vocab.txt](https://bj.bcebos.com/paddlenlp/models/community/cross-encoder/ms-marco-MiniLM-L-12-v2/vocab.txt) |

也可以通过`paddlenlp` cli 工具来下载对应的模型权重,使用步骤如下所示:

* 安装paddlenlp

```shell
pip install --upgrade paddlenlp
```

* 下载命令行

```shell
paddlenlp download --cache-dir ./pretrained_models cross-encoder/ms-marco-MiniLM-L-12-v2
```

有任何下载的问题都可以到[PaddleNLP](https://github.com/PaddlePaddle/PaddleNLP)中发Issue提问。