PaddleHub Save

Awesome pre-trained models toolkit based on PaddlePaddle. (400+ models including Image, Text, Audio, Video and Cross-Modal with Easy Inference & Serving)

Project README

English | 简体中文


⭐Features

  • 📦400+ AI Models: Rich, high-quality AI models, including CV, NLP, Speech, Video and Cross-Modal.
  • 🧒Easy to Use: 3 lines of code to predict 400+ AI models.
  • 💁Model As Service: Easy to serve model with only one line of command.
  • 💻Cross-platform: Support Linux, Windows and MacOS.

💥Recent Updates

🌈Visualization Demo

🏜️ Text-to-Image Models

Wenxin Big Models Stable_Diffusion series Disco Diffusion series
Include ERNIE-ViLG, ERNIE-ViL, ERNIE 3.0 Zeus, supports applications such as text-to-image, writing essays, summarization, couplets, question answering, writing novels and completing text。 Supports functions such as text_to_image, image_to_image, inpainting, ACGN external service, etc. Support Chinese and English input

👓 Computer Vision Models

🎤 Natural Language Processing Models

  • Many thanks to CopyRight@ERNIELACDDParserfor the pre-trained models, you can try to train your models with them.

🎧 Speech Models

Input Audio Recognition Result

I knocked at the door on the ancient side of the building.

我认为跑步最重要的就是给我带来了身体健康。
Input Text Output Audio
Life was like a box of chocolates, you never know what you're gonna get.
  • Many thanks to CopyRight@PaddleSpeech for the pre-trained models, you can try to train your models with PaddleSpeech.

⭐ Thanks for Your Star

  • All the above pre-trained models are all open source and free, and the number of models is continuously updated. Welcome Star to pay attention.

🍻Welcome to join PaddleHub technical group

  • If you have any questions during the use of the model, you can join the official WeChat group to get more efficient questions and answers, and fully communicate with developers from all walks of life. We look forward to your joining.
  • please add WeChat above and send "Hub" to the robot, the robot will invite you to join the group automatically.

✈️QuickStart

🚁The installation of required components.

# install paddlepaddle with gpu
# !pip install --upgrade paddlepaddle-gpu

# or install paddlepaddle with cpu
!pip install --upgrade paddlepaddle

# install paddlehub
!pip install --upgrade paddlehub

🛫The simplest cases of Chinese word segmentation.

import paddlehub as hub

lac = hub.Module(name="lac")
test_text = ["今天是个好天气。"]

results = lac.cut(text=test_text, use_gpu=False, batch_size=1, return_tag=True)
print(results)
#{'word': ['今天', '是', '个', '好天气', '。'], 'tag': ['TIME', 'v', 'q', 'n', 'w']}

🛰️The simplest command of deploying lac service.

Open Source Agenda is not affiliated with "PaddleHub" Project. README Source: PaddlePaddle/PaddleHub

Open Source Agenda Badge

Open Source Agenda Rating