Baidu's ACL 2020 sentiment model reads between the lines
Baidu open-sourced SKEP so developers can swap generic language models for a sentiment specialist that learns emotional context through unsupervised pre-training.

What it does
Senta is Baidu’s open-source sentiment analysis system built around SKEP (Sentiment Knowledge Enhanced Pre-training), an ACL 2020 framework that mines emotional knowledge without supervision and bakes it into pre-training objectives. It packages this research into a toolkit handling sentence-level classification, aspect-level classification, and opinion extraction for both Chinese and English text. The project ships with ready-made models initialized from ERNIE and RoBERTa, wrapped in a high-level API aimed at industrial deployment.
The interesting bit
Most sentiment tools fine-tune general language models and hope for the best; SKEP performs additional unsupervised pre-training specifically on mined emotional knowledge, building a dedicated semantic layer for subjective text. Baidu reports that this unified representation averages roughly 2% improvement over prior SOTA across fourteen Chinese and English benchmarks, and about 1.2% over the ERNIE baseline it initializes from.
Key highlights
- SKEP is the core engine: it mines sentiment knowledge without supervision and folds it into pre-training objectives, rather than relying on generic corpora.
- Supports three task types out of the box: sentence-level sentiment classification, aspect-level sentiment classification, and opinion extraction.
- Covers both Chinese and English, with models initialized from ERNIE 1.0 (Chinese), ERNIE 2.0 (English), and RoBERTa (English).
- Published at ACL 2020 and backed by benchmark tables comparing SKEP against prior SOTA on 14 datasets.
- Exposes a one-click prediction API for industrial users who want pre-trained sentiment intelligence without assembling pipelines from scratch.
Caveats
- The documentation is predominantly Chinese; English speakers must rely on the linked English README.
- One dataset in the benchmark table (AI-challenge) is marked as not yet publicly available.
- Hard dependency on PaddlePaddle as the deep-learning backend.
Verdict
Worth a look if you need off-the-shelf sentiment analysis for Chinese or English text and prefer a research-backed model over rolling your own fine-tuned BERT. Skip it if you are allergic to PaddlePaddle or need a framework-agnostic, heavily customizable NLP pipeline rather than a focused prediction toolkit.
Frequently asked
- What is baidu/Senta?
- Baidu open-sourced SKEP so developers can swap generic language models for a sentiment specialist that learns emotional context through unsupervised pre-training.
- Is Senta open source?
- Yes — baidu/Senta is open source, released under the Apache-2.0 license.
- What language is Senta written in?
- baidu/Senta is primarily written in Python.
- How popular is Senta?
- baidu/Senta has 2k stars on GitHub.
- Where can I find Senta?
- baidu/Senta is on GitHub at https://github.com/baidu/Senta.