{"adoption": {"forks": 64, "observed_at": "2026-08-28T04:03:45.740207+00:00", "stars": 1146}, "canonical_url": "https://ross.abutalabs.com/products/roformer", "card": {"archived": false, "artifact_type": "library", "description": "Rotary Transformer", "domain": ["machine-learning", "deep-learning"], "enriched": true, "function": ["machine-learning", "nlp", "deep-learning"], "health_score": 20, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["ZhuiyiTechnology/roformer"], "name": "ZhuiyiTechnology/roformer", "platform": ["python"], "pushed_at": "2022-03-21T08:32:22+00:00", "repo": "ZhuiyiTechnology/roformer", "stars": 1146, "tags": ["rope", "rotary-position-embedding", "pretrained-language-model", "transformer", "chinese-nlp", "bert4keras", "natural-language-processing"], "topics": [], "urls": [], "use_cases": ["pretrain or fine-tune a transformer with rotary position embeddings", "use RoPE in self-attention for relative position encoding", "download pretrained Chinese RoFormer checkpoints", "apply RoPE to linear attention models", "build Chinese text similarity models with RoFormer-sim", "train GPT-style character-level models with RoFormer"], "what_it_is": "RoFormer is an MLM pre-trained language model built on rotary position embeddings (RoPE), a relative position encoding method with strong theoretical properties. The repository provides the model implementation, pseudo code for adding RoPE to self-attention, and downloadable pre-trained Chinese RoFormer model checkpoints.", "when_to_avoid": ["you need PyTorch or Hugging Face ecosystem tooling rather than bert4keras", "you need actively maintained code or recent releases", "you need multilingual or English-only pretrained models"], "when_to_choose": ["you need relative position encoding that works with linear attention", "you want pretrained Chinese transformer checkpoints with RoPE", "you use bert4keras/Keras and want to add rotary embeddings with minimal code changes"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/roformer", "repo": "ZhuiyiTechnology/roformer", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "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:03:45.740207+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.740207+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:34:09.635220+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a167ff5fd55c6bf17f6dbbfbc574303ff9b8e91de71fe8de7a21198d89536b44", "fetched_at": "2026-08-28T04:03:45.740207+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZhuiyiTechnology/roformer"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1990, "days_push": 1626, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}