Update README.md
Browse files
README.md
CHANGED
@@ -4,11 +4,41 @@ language:
|
|
4 |
- en
|
5 |
pipeline_tag: text2text-generation
|
6 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
You can see more detail in this [repo](https://github.com/clue-ai/ChatYuan-7B)
|
9 |
|
|
|
10 |
|
11 |
-
|
12 |
```python
|
13 |
from transformers import LlamaForCausalLM, AutoTokenizer
|
14 |
import torch
|
@@ -30,7 +60,8 @@ result = answer("你好")
|
|
30 |
print(result)
|
31 |
```
|
32 |
|
|
|
33 |
|
34 |
-
|
35 |
- [ChatYuan-7B](https://github.com/clue-ai/ChatYuan-7B)
|
36 |
-
- [llama](https://github.com/facebookresearch/llama)
|
|
|
4 |
- en
|
5 |
pipeline_tag: text2text-generation
|
6 |
---
|
7 |
+
<!-- 标题 -->
|
8 |
+
<h1 align="center">ChatYuan-7B-merge</h1>
|
9 |
+
|
10 |
+
<!-- 图标 -->
|
11 |
+
<p align="center">
|
12 |
+
<a href="https://www.cnblogs.com/tiansz/p/17318568.html">
|
13 |
+
捐赠
|
14 |
+
</a>
|
15 |
+
<a href="https://space.bilibili.com/28606893?spm_id_from=333.1007.0.0">
|
16 |
+
bilibili
|
17 |
+
</a>
|
18 |
+
<a href="https://www.cnblogs.com/tiansz/">
|
19 |
+
博客园
|
20 |
+
</a>
|
21 |
+
<a href="https://www.douyin.com/user/MS4wLjABAAAAqkpp6UyrANDXFStAMWuRPp7FU4zHfyq0_OYPoC75_qQ">
|
22 |
+
抖音
|
23 |
+
</a>
|
24 |
+
<a href="https://www.kaggle.com/tiansztianszs">
|
25 |
+
kaggle
|
26 |
+
</a>
|
27 |
+
<a href="https://huggingface.co/tiansz">
|
28 |
+
huggingface
|
29 |
+
</a>
|
30 |
+
</p>
|
31 |
+
|
32 |
+
<!-- 项目介绍 -->
|
33 |
+
<p align="center">Based on LLAMA's latest Chinese-English dialogue language large model</p>
|
34 |
+
|
35 |
+
<br>
|
36 |
|
37 |
You can see more detail in this [repo](https://github.com/clue-ai/ChatYuan-7B)
|
38 |
|
39 |
+
<br>
|
40 |
|
41 |
+
## How to use
|
42 |
```python
|
43 |
from transformers import LlamaForCausalLM, AutoTokenizer
|
44 |
import torch
|
|
|
60 |
print(result)
|
61 |
```
|
62 |
|
63 |
+
<br>
|
64 |
|
65 |
+
## License
|
66 |
- [ChatYuan-7B](https://github.com/clue-ai/ChatYuan-7B)
|
67 |
+
- [llama](https://github.com/facebookresearch/llama)
|