{"adoption": {"forks": 285, "observed_at": "2026-08-28T04:04:58.016810+00:00", "stars": 1522}, "canonical_url": "https://ross.abutalabs.com/products/pytorch-openai-transformer-lm", "card": {"archived": false, "artifact_type": "library", "description": "🐥A PyTorch implementation of OpenAI's finetuned transformer language model with a script to import the weights pre-trained by OpenAI", "domain": ["deep-learning", "large-language-models"], "enriched": true, "function": ["machine-learning", "llm-training", "nlp"], "health_score": 20, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "abandoned", "member_repos": ["huggingface/pytorch-openai-transformer-lm"], "name": "huggingface/pytorch-openai-transformer-lm", "platform": ["python"], "pushed_at": "2021-08-09T16:17:12+00:00", "repo": "huggingface/pytorch-openai-transformer-lm", "stars": 1522, "tags": ["pytorch", "transformer", "gpt-1", "pretrained-model", "language-model", "openai", "historical", "natural-language-processing"], "topics": ["neural-networks", "pytorch", "openai", "language-model", "transformer"], "urls": [], "use_cases": ["load openai gpt-1 pretrained weights into pytorch", "run a transformer language model in pytorch", "fine-tune a pretrained transformer on text classification", "study the original gpt-1 model implementation", "convert tensorflow pretrained transformer weights to pytorch"], "what_it_is": "A PyTorch reimplementation of OpenAI's finetuned transformer language model (GPT-1) from the paper 'Improving Language Understanding by Generative Pre-Training', including a script to import OpenAI's TensorFlow pre-trained weights. It also provides a modified Adam optimizer with fixed weight decay and scheduled learning rate for fine-tuning on classification tasks.", "when_to_avoid": ["you need modern pretrained models like GPT-2/3, BERT, or newer — use Hugging Face Transformers instead", "you want an actively maintained library with broad model support", "you need production-grade training tooling"], "when_to_choose": ["you need the exact original GPT-1 architecture in PyTorch for research or reproduction", "you want to import OpenAI's original TensorFlow pre-trained weights into PyTorch"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pytorch-openai-transformer-lm", "repo": "huggingface/pytorch-openai-transformer-lm", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "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:04:58.016810+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.016810+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:31:47.257787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ceddf5dfee765700a1ddde6a605b459011ef3267a30247df7c79d0f24b4e87", "fetched_at": "2026-08-28T04:04:58.016810+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huggingface/pytorch-openai-transformer-lm"}], "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": 3003, "days_push": 1850, "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}}