---
title: rwkv-raven-7b
canonical_url: "https://www.modelscope.cn/models/AI-ModelScope/rwkv-raven-7b"
md_url: "https://www.modelscope.cn/models/AI-ModelScope/rwkv-raven-7b.md"
repository: AI-ModelScope/rwkv-raven-7b
last_updated: 2023-07-05
license: "Apache License 2.0"
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - rwkv
architectures:
  - RwkvForCausalLM
library_name:
  - pytorch
frameworks:
  - Pytorch
downloads: 152
stars: 2
---

# rwkv-raven-7b

> rwkv-raven-7b - AI-ModelScope 在 ModelScope 开源的模型。该模型当前使用的是默认介绍模版，处于“预发布”阶段，页面仅限所有者可见。 请根据模型贡献文档说明，及时完善模型卡片内容。ModelScope平台将在模型卡片完善后展示。谢谢您的理解。 Clone with HTTP

AI-ModelScope/rwkv-raven-7b 是 ModelScope 魔搭社区上的text-generation模型，采用 Apache License 2.0 许可。

- **Repository**: AI-ModelScope/rwkv-raven-7b
- **License**: Apache License 2.0
- **Tasks**: text-generation
- **Downloads**: 152
- **Stars**: 2
- **Last updated**: 2023-07-05

Source: https://www.modelscope.cn/models/AI-ModelScope/rwkv-raven-7b

---

###### 该模型当前使用的是默认介绍模版，处于“预发布”阶段，页面仅限所有者可见。
###### 请根据[模型贡献文档说明](https://www.modelscope.cn/docs/%E5%A6%82%E4%BD%95%E6%92%B0%E5%86%99%E5%A5%BD%E7%94%A8%E7%9A%84%E6%A8%A1%E5%9E%8B%E5%8D%A1%E7%89%87)，及时完善模型卡片内容。ModelScope平台将在模型卡片完善后展示。谢谢您的理解。
#### Clone with HTTP

## 示例代码
```python
from modelscope.utils.constant import Tasks
from modelscope.pipelines import pipeline
pipe = pipeline(task=Tasks.text_generation, model='/mnt/workspace/repo/rwkv-raven-7b', device_map='auto', model_revision='v1.0.0')
inputs = '\nIn a shocking finding, scientist discovered a herd of dragons living in a remote, previously unexplored valley, in Tibet. Even more surprising to the researchers was the fact that the dragons spoke perfect Chinese.'
result = pipe(inputs)
print(result)
```
```bash
 git clone https://www.modelscope.cn/AI-ModelScope/rwkv-raven-7b.git
```
