Update README.md
Browse files
README.md
CHANGED
@@ -7,14 +7,33 @@ inference: true
|
|
7 |
|
8 |
widget:
|
9 |
- text: 'summary: 在北京冬奥会自由式滑雪女子坡面障碍技巧决赛中,中国选手谷爱凌夺得银牌。祝贺谷爱凌!今天上午,自由式滑雪女子坡面障碍技巧决赛举行。决赛分三轮进行,取选手最佳成绩排名决出奖牌。第一跳,中国选手谷爱凌获得69.90分。在12位选手中排名第三。完成动作后,谷爱凌又扮了个鬼脸,甚是可爱。第二轮中,谷爱凌在道具区第三个障碍处失误,落地时摔倒。获得16.98分。网友:摔倒了也没关系,继续加油!在第二跳失误摔倒的情况下,谷爱凌顶住压力,第三跳稳稳发挥,流畅落地!获得86.23分!此轮比赛,共12位选手参赛,谷爱凌第10位出场。网友:看比赛时我比谷爱凌紧张,加油!'
|
|
|
10 |
|
|
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
|
|
|
|
|
|
16 |
|
17 |
-
## Usage
|
18 |
```python
|
19 |
from transformers import BartForConditionalGeneration, AutoTokenizer, Text2TextGenerationPipeline
|
20 |
import torch
|
@@ -26,13 +45,31 @@ text2text_generator = Text2TextGenerationPipeline(model, tokenizer)
|
|
26 |
print(text2text_generator(text, max_length=50, do_sample=False))
|
27 |
```
|
28 |
|
29 |
-
## Citation
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
@misc{Fengshenbang-LM,
|
33 |
title={Fengshenbang-LM},
|
34 |
author={IDEA-CCNL},
|
35 |
-
year={
|
36 |
howpublished={\url{https://github.com/IDEA-CCNL/Fengshenbang-LM}},
|
37 |
}
|
38 |
-
```
|
|
|
7 |
|
8 |
widget:
|
9 |
- text: 'summary: 在北京冬奥会自由式滑雪女子坡面障碍技巧决赛中,中国选手谷爱凌夺得银牌。祝贺谷爱凌!今天上午,自由式滑雪女子坡面障碍技巧决赛举行。决赛分三轮进行,取选手最佳成绩排名决出奖牌。第一跳,中国选手谷爱凌获得69.90分。在12位选手中排名第三。完成动作后,谷爱凌又扮了个鬼脸,甚是可爱。第二轮中,谷爱凌在道具区第三个障碍处失误,落地时摔倒。获得16.98分。网友:摔倒了也没关系,继续加油!在第二跳失误摔倒的情况下,谷爱凌顶住压力,第三跳稳稳发挥,流畅落地!获得86.23分!此轮比赛,共12位选手参赛,谷爱凌第10位出场。网友:看比赛时我比谷爱凌紧张,加油!'
|
10 |
+
---
|
11 |
|
12 |
+
# Randeng-BART-139M-SUMMARY
|
13 |
|
14 |
+
- Github: [Fengshenbang-LM](https://github.com/IDEA-CCNL/Fengshenbang-LM)
|
15 |
+
- Docs: [Fengshenbang-Docs](https://fengshenbang-doc.readthedocs.io/)
|
16 |
+
|
17 |
+
## 简介 Brief Introduction
|
18 |
+
|
19 |
+
善于处理摘要任务,在一个中文摘要数据集上微调后的,中文版的BART-base。
|
20 |
+
|
21 |
+
Good at solving text summarization tasks, after fine-tuning on a Chinese text summarization dataset, Chinese PAGASUS-base.
|
22 |
+
|
23 |
+
## 模型分类 Model Taxonomy
|
24 |
+
|
25 |
+
| 需求 Demand | 任务 Task | 系列 Series | 模型 Model | 参数 Parameter | 额外 Extra |
|
26 |
+
| :----: | :----: | :----: | :----: | :----: | :----: |
|
27 |
+
| 通用 General | 自然语言转换 NLT | 燃灯 Randeng | BART | 139M | 文本摘要任务 Summary |
|
28 |
+
|
29 |
+
## 模型信息 Model Information
|
30 |
+
|
31 |
+
基于[Randeng-BART-139M](https://huggingface.co/IDEA-CCNL/Randeng-BART-139M),我们在收集的1个中文领域的文本摘要数据集(LCSTS)上微调了它,得到了summary版本。
|
32 |
|
33 |
+
Based on 基于[Randeng-BART-139M](https://huggingface.co/IDEA-CCNL/Randeng-BART-139M), we fine-tuned a text summarization version (summary) on a Chinese text summarization datasets (LCSTS).
|
34 |
+
|
35 |
+
## 使用 Usage
|
36 |
|
|
|
37 |
```python
|
38 |
from transformers import BartForConditionalGeneration, AutoTokenizer, Text2TextGenerationPipeline
|
39 |
import torch
|
|
|
45 |
print(text2text_generator(text, max_length=50, do_sample=False))
|
46 |
```
|
47 |
|
48 |
+
## 引用 Citation
|
49 |
+
|
50 |
+
如果您在您的工作中使用了我们的模型,可以引用我们的[论文](https://arxiv.org/abs/2209.02970):
|
51 |
+
|
52 |
+
If you are using the resource for your work, please cite the our [paper](https://arxiv.org/abs/2209.02970):
|
53 |
+
|
54 |
+
```text
|
55 |
+
@article{fengshenbang,
|
56 |
+
author = {Junjie Wang and Yuxiang Zhang and Lin Zhang and Ping Yang and Xinyu Gao and Ziwei Wu and Xiaoqun Dong and Junqing He and Jianheng Zhuo and Qi Yang and Yongfeng Huang and Xiayu Li and Yanghan Wu and Junyu Lu and Xinyu Zhu and Weifeng Chen and Ting Han and Kunhao Pan and Rui Wang and Hao Wang and Xiaojun Wu and Zhongshen Zeng and Chongpei Chen and Ruyi Gan and Jiaxing Zhang},
|
57 |
+
title = {Fengshenbang 1.0: Being the Foundation of Chinese Cognitive Intelligence},
|
58 |
+
journal = {CoRR},
|
59 |
+
volume = {abs/2209.02970},
|
60 |
+
year = {2022}
|
61 |
+
}
|
62 |
```
|
63 |
+
|
64 |
+
也可以引用我们的[网站](https://github.com/IDEA-CCNL/Fengshenbang-LM/):
|
65 |
+
|
66 |
+
You can also cite our [website](https://github.com/IDEA-CCNL/Fengshenbang-LM/):
|
67 |
+
|
68 |
+
```text
|
69 |
@misc{Fengshenbang-LM,
|
70 |
title={Fengshenbang-LM},
|
71 |
author={IDEA-CCNL},
|
72 |
+
year={2021},
|
73 |
howpublished={\url{https://github.com/IDEA-CCNL/Fengshenbang-LM}},
|
74 |
}
|
75 |
+
```
|