{"adoption": {"forks": 919, "observed_at": "2026-08-28T04:09:17.809644+00:00", "stars": 5415}, "canonical_url": "https://ross.abutalabs.com/products/bert4keras", "card": {"archived": false, "artifact_type": "library", "description": "keras implement of transformers for humans", "domain": ["deep-learning", "large-language-models"], "enriched": true, "function": ["machine-learning", "deep-learning", "nlp", "llm-training"], "health_score": 20, "homepage": "https://kexue.fm/archives/6915", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["bojone/bert4keras"], "name": "bojone/bert4keras", "platform": ["python"], "pushed_at": "2024-11-11T15:41:47+00:00", "repo": "bojone/bert4keras", "stars": 5415, "tags": ["keras", "bert", "transformers", "pretrained-models", "finetuning", "tensorflow", "natural-language-processing"], "topics": [], "urls": [], "use_cases": ["finetune bert on keras", "load pretrained transformer weights in keras", "pretrain a language model from scratch", "build seq2seq models with attention masks", "use chinese pretrained models like roberta or electra", "implement custom transformer models in keras"], "what_it_is": "A lightweight, clean reimplementation of BERT and other transformer models (RoBERTa, ALBERT, T5, GPT, ELECTRA, NEZHA) for Keras/tf.keras. It supports loading pretrained weights, finetuning, and pretraining from scratch with TPU/multi-GPU support.", "when_to_avoid": ["you need modern PyTorch or the latest Hugging Face Transformers ecosystem", "you use recent TensorFlow 2.x features or Keras 3", "you need production-grade maintained tooling with broad community support"], "when_to_choose": ["you want a simple, hackable keras implementation of transformers for finetuning or research", "you need to load Chinese pretrained model weights (RoBERTa-wwm, ELECTRA, NEZHA) in keras", "you prefer lightweight code over Hugging Face's larger ecosystem", "you are on legacy TensorFlow 1.x / Keras 2.x stacks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/bert4keras", "repo": "bojone/bert4keras", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:17.809644+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:57:45.173761+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf7d34f80dfe0deaab65e5a8b127a096e627433c7c3069e4b8e787ba40ecca91", "fetched_at": "2026-08-28T04:09:17.809644+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bojone/bert4keras"}, {"content_hash": "e8b2787a9491dd7ffdb109b31fb3a2b287f96c34e15389384a1974f9b27152a0", "fetched_at": "2026-08-29T08:52:19.617538+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bert4keras/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2564, "days_push": 660, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}