Update README.md

This commit is contained in:
ai-modelscope
2024-11-27 12:54:02 +08:00
parent 2d3a426323
commit 8b76f54d5d
19 changed files with 93732 additions and 65 deletions

144
README.md
View File

@@ -1,47 +1,105 @@
---
license: Apache License 2.0
#model-type:
##如 gpt、phi、llama、chatglm、baichuan 等
#- gpt
#domain:
##如 nlp、cv、audio、multi-modal
#- nlp
#language:
##语言代码列表 https://help.aliyun.com/document_detail/215387.html?spm=a2c4g.11186623.0.0.9f8d7467kni6Aa
#- cn
#metrics:
##如 CIDEr、Blue、ROUGE 等
#- CIDEr
#tags:
##各种自定义,包括 pretrained、fine-tuned、instruction-tuned、RL-tuned 等训练方法和其他
#- pretrained
#tools:
##如 vllm、fastchat、llamacpp、AdaSeq 等
#- vllm
license: apache-2.0
tags:
- merge
- mergekit
- arcee-ai/Patent-Instruct-7b
- TencentARC/LLaMA-Pro-8B-Instruct
---
### 当前模型的贡献者未提供更加详细的模型介绍。模型文件和权重,可浏览“模型文件”页面获取。
#### 您可以通过如下git clone命令或者ModelScope SDK来下载模型
SDK下载
```bash
#安装ModelScope
pip install modelscope
```
```python
#SDK模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('arcee-ai/Patent-Instruct-LLaMA-Pro')
```
Git下载
```
#Git模型下载
git clone https://www.modelscope.cn/arcee-ai/Patent-Instruct-LLaMA-Pro.git
```
# Patent-Instruct-LLaMA-Pro
<p style="color: lightgrey;">如果您是本模型的贡献者,我们邀请您根据<a href="https://modelscope.cn/docs/ModelScope%E6%A8%A1%E5%9E%8B%E6%8E%A5%E5%85%A5%E6%B5%81%E7%A8%8B%E6%A6%82%E8%A7%88" style="color: lightgrey; text-decoration: underline;">模型贡献文档</a>,及时完善模型卡片内容。</p>
Patent-Instruct-LLaMA-Pro is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
* [arcee-ai/Patent-Instruct-7b](https://huggingface.co/arcee-ai/Patent-Instruct-7b)
* [TencentARC/LLaMA-Pro-8B-Instruct](https://huggingface.co/TencentARC/LLaMA-Pro-8B-Instruct)
## 🧩 Configuration
```yaml
merge_method: passthrough
dtype: bfloat16
slices:
- sources:
- model: arcee-ai/Patent-Instruct-7b
layer_range:
- 0
- 4
- sources:
- model: TencentARC/LLaMA-Pro-8B-Instruct
layer_range:
- 4
- 5
- sources:
- model: arcee-ai/Patent-Instruct-7b
layer_range:
- 4
- 8
- sources:
- model: TencentARC/LLaMA-Pro-8B-Instruct
layer_range:
- 9
- 10
- sources:
- model: arcee-ai/Patent-Instruct-7b
layer_range:
- 8
- 12
- sources:
- model: TencentARC/LLaMA-Pro-8B-Instruct
layer_range:
- 14
- 15
- sources:
- model: arcee-ai/Patent-Instruct-7b
layer_range:
- 12
- 16
- sources:
- model: TencentARC/LLaMA-Pro-8B-Instruct
layer_range:
- 19
- 20
- sources:
- model: arcee-ai/Patent-Instruct-7b
layer_range:
- 16
- 20
- sources:
- model: TencentARC/LLaMA-Pro-8B-Instruct
layer_range:
- 24
- 25
- sources:
- model: arcee-ai/Patent-Instruct-7b
layer_range:
- 20
- 24
- sources:
- model: TencentARC/LLaMA-Pro-8B-Instruct
layer_range:
- 29
- 30
- sources:
- model: arcee-ai/Patent-Instruct-7b
layer_range:
- 24
- 28
- sources:
- model: TencentARC/LLaMA-Pro-8B-Instruct
layer_range:
- 34
- 35
- sources:
- model: arcee-ai/Patent-Instruct-7b
layer_range:
- 28
- 32
- sources:
- model: TencentARC/LLaMA-Pro-8B-Instruct
layer_range:
- 39
- 40
```