thunlp/ERNIE
Source code and dataset for ACL 2019 paper "ERNIE: Enhanced Language Representation with Informative Entities" observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2665
- days_rel: n/a
- days_push: 966
- n_releases_24m: 0
Adoption not part of the score
1417 stars · 262 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ERNIE is a PyTorch toolkit and dataset for augmenting pre-trained language models like BERT with knowledge graph entity representations, from the ACL 2019 paper by Tsinghua's THUNLP. It includes pre-training data pipelines and fine-tuning commands for knowledge-driven NLP tasks.
Use cases
- augment BERT with knowledge graph entities
- fine-tune a knowledge-enhanced language model
- run entity typing on FIGER or OpenEntity
- relation classification on FewRel or TACRED
- pretrain a language model on Wikipedia with entity links
- compare knowledge-enhanced vs vanilla BERT performance
When to choose
- you need entity/knowledge-graph-aware language representations for NLP research
- you want to reproduce or extend the ACL 2019 ERNIE paper
- your downstream tasks benefit from informative entity signals, like entity typing or relation classification
When to avoid
- you need a modern, actively maintained LLM toolkit - the codebase targets old PyTorch versions
- you want plug-and-play inference rather than research code requiring custom data pipelines
- your tasks do not benefit from knowledge graph entity information
Facets
library · maturity maintenance
machine-learning nlp llm-training machine-learning deep-learning artificial-intelligence python cross-platform knowledge-graph pretrained-language-model bert entity-typing relation-classification research-code pytorch natural-language-processing linux
1 source
- readme: https://github.com/thunlp/ERNIE · fetched 2026-08-28 · 864616603972
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| thunlp/ERNIE | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem