Skip to content

Commit 4586cfa

Browse files
committed
update
1 parent 4f8e66a commit 4586cfa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
- [返回结果](#返回结果)
4848
- [问题反馈和技术交流](#问题反馈和技术交流)
4949

50-
#### 更新 Update 2022-11-09(新)
50+
### 更新 Update 2022-11-25(新)
51+
新增智能文档问答生成: [智能文档问答生成](#智能文档问答生成)
52+
#### 更新 Update 2022-11-09
5153
新增模型微调功能:[模型微调](#模型微调) [上传库-启动-调用](#上传库-启动-调用)
5254
#### 更新 Update 2022-09-29
5355
PromptCLUE: 中文多任务Prompt预训练模型,已经开源!<a href='https://github.com/clue-ai/PromptCLUE'>github项目地址</a> | <a href='https://huggingface.co/ClueAI/PromptCLUE'>模型下载</a>
@@ -124,9 +126,7 @@ cl = clueai.Client('YOUR_API_KEY')
124126
doc='''本周早些时候,始于俄罗斯的两条巨型天然气管道分别发现了三个泄漏点。管道中充满燃料,破裂产生了宽度达800米的气泡,上浮到丹麦博恩霍尔姆岛附近的波罗的海表面。
125127
就在泄漏发生前,附近检测到了爆炸,而欧洲各国尚未确定被称为北溪一号和北溪二号管道泄漏的原因。欧洲和美国的领导人表示,这是一起蓄意破坏行为。
126128
相关猜测指向俄罗斯,该国的国有能源公司俄罗斯天然气工业股份公司是这些管道的主要所有者。俄罗斯发言人德米特里·佩斯科夫驳斥了有关俄罗斯参与的指控,称其“愚蠢”,并将矛头指向美国。'''
127-
predictions = cl.doc_qa_generate(doc=doc,
128-
model_name='clueai-large'
129-
)
129+
predictions = cl.doc_qa_generate(model_name='clueai-large', doc=doc)
130130
print("prediction: ", predictions)
131131
```
132132
</td>

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def has_ext_modules(foo) -> bool:
2222

2323
setuptools.setup(
2424
name='clueai',
25-
version='0.0.2.2.2',
25+
version='0.0.2.2.3',
2626
author='matrix',
2727
author_email='brightmart@hotmail.com',
2828
description='A Python library for the ClueAI API',

0 commit comments

Comments
 (0)