Update README.md

This commit is contained in:
codingsteven
2024-04-19 15:33:00 +00:00
parent aabbeeed9f
commit 3b5100be22

View File

@@ -1,51 +1,34 @@
---
frameworks:
- Pytorch
license: other
tasks:
- text-generation
# Llama3-8B 中文对话增强模型
#model-type:
##如 gpt、phi、llama、chatglm、baichuan 等
#- gpt
## 概述
#domain:
##如 nlp、cv、audio、multi-modal
#- nlp
Llama3-8B 中文对话增强模型是基于 Llama-3-8B 模型微调而成,专门针对中文对话场景进行了优化。该模型在基座模型 Llama-3-8B 的基础上,通过 Llama-Factory 微调框架进行了针对性的训练,使用了多种中文对话数据集进行增强,以提供更加流畅、自然的中文对话体验。
#language:
##语言代码列表 https://help.aliyun.com/document_detail/215387.html?spm=a2c4g.11186623.0.0.9f8d7467kni6Aa
#- cn
## 基座模型
#metrics:
##如 CIDEr、Blue、ROUGE 等
#- CIDEr
- **名称**Llama-3-8B
- **描述**Llama-3-8B 是一个大型语言模型,拥有 8.3 亿个参数,预训练了大量的文本数据,能够理解和生成自然语言文本。
#tags:
##各种自定义,包括 pretrained、fine-tuned、instruction-tuned、RL-tuned 等训练方法和其他
#- pretrained
## 微调框架
#tools:
##如 vllm、fastchat、llamacpp、AdaSeq 等
#- vllm
---
### 当前模型的贡献者未提供更加详细的模型介绍。模型文件和权重,可浏览“模型文件”页面获取。
#### 您可以通过如下git clone命令或者ModelScope SDK来下载模型
- **名称**Llama-Factory
- **描述**Llama-Factory 是一个用于微调模型的框架,它提供了灵活的配置和训练策略,支持多种任务和场景的微调。
SDK下载
```bash
#安装ModelScope
pip install modelscope
```
```python
#SDK模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('codingsteven/Llama-3-8B-chat')
```
Git下载
```
#Git模型下载
git clone https://www.modelscope.cn/codingsteven/Llama-3-8B-chat.git
```
## 数据集
- **名称**alpaca_gpt4_zh alpaca_zh oaast_sft_zh
- **描述**:这是一个由多种中文对话数据集组成的混合数据集,涵盖了广泛的中文对话场景和表达方式。
## 训练细节
- **训练步数**1000
- **描述**:模型在 Llama-Factory 微调框架下,使用了上述数据集进行了 1000 步的训练,以增强模型在中文对话场景下的表现。
## 功能和应用
Llama3-8B 中文对话增强模型可以应用于多种中文对话场景,如智能客服、聊天机器人、问答系统等,能够提供更加流畅、自然的中文对话体验。
## 使用和部署
模型可以轻松地部署到各种平台和设备上,支持多种编程语言和接口,方便开发者进行集成和使用。
<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>