{"adoption": {"forks": 176, "observed_at": "2026-08-28T04:05:21.789307+00:00", "stars": 1682}, "canonical_url": "https://ross.abutalabs.com/products/swift-coreml-transformers", "card": {"archived": true, "artifact_type": "library", "description": "Swift Core ML 3 implementations of GPT-2, DistilGPT-2, BERT, and DistilBERT for Question answering. Other Transformers coming soon!", "domain": ["machine-learning", "apple-ecosystem", "deep-learning"], "enriched": true, "function": ["machine-learning", "nlp", "llm-inference", "parser"], "health_score": 10, "homepage": null, "language": "Swift", "license": "Apache-2.0", "license_family": "permissive", "maturity": "abandoned", "member_repos": ["huggingface/swift-coreml-transformers"], "name": "huggingface/swift-coreml-transformers", "platform": [], "pushed_at": "2023-11-24T19:48:07+00:00", "repo": "huggingface/swift-coreml-transformers", "stars": 1682, "tags": ["core-ml", "transformers", "gpt-2", "bert", "on-device-inference", "text-generation", "question-answering", "archived", "natural-language-processing", "swift", "ios", "macos", "apple-ecosystem"], "topics": [], "urls": [], "use_cases": ["run GPT-2 text generation on an iPhone with Core ML", "implement BERT question answering on-device in Swift", "convert PyTorch transformer models to Core ML format", "use a WordPiece tokenizer in a Swift app", "build a demo app for on-device NLP inference"], "what_it_is": "A Swift library with Core ML implementations of GPT-2, DistilGPT-2, BERT, and DistilBERT, including tokenizers and demo apps for on-device text generation and question answering. The repository has been archived and is no longer maintained, with swift-transformers as its successor.", "when_to_avoid": ["you need an actively maintained library - use huggingface/swift-transformers instead", "you need modern transformer architectures beyond GPT-2 and BERT", "you require server-side or GPU-cluster inference rather than on-device Core ML"], "when_to_choose": ["you need to run GPT-2 or BERT inference fully on-device in an Apple app", "you want reference Swift implementations of transformer tokenizers and decoding strategies", "you are targeting older Core ML 3 tooling or studying archived example code"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swift-coreml-transformers", "repo": "huggingface/swift-coreml-transformers", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "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:05:21.789307+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.789307+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.076980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "78de95a85950539638d08802642c9ab7dd1e012bbfb489b22d9e037c00310034", "fetched_at": "2026-08-28T04:05:21.789307+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/swift-coreml-transformers"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2624, "days_push": 1013, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}