Skip to content

BarryYin/baidu_Freeapi_ERNIE_Speed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baidu_Freeapi_ERNIE_Speed

ERNIE_Speed and ERNIE_Lite

百度宣布旗下ERNIE_Speed and ERNIE_Lite 模型免费。
那具体怎么用了?
可以参考API调用文档、 https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Blvcegqn1
当然文档写的比较复杂
可以直接用这个代码,替换下key值

python test.py

如果要展示网页版本
需要先安装Gradio的库

pip install -r requirements.txt

python test_gradio.py

About

ERNIE_Speed and ERNIE_Lite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages