diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ed124b2..723448a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -24,3 +24,5 @@ jobs: run: python tools/validate.py - name: Build chronological timeline run: python tools/build_timeline.py --format json > /tmp/modelmap-timeline.json + - name: Build 2023 year view + run: python tools/build_year.py 2023 --format markdown > /tmp/modelmap-2023.md diff --git a/data/claims/claude-2-published-by-anthropic.yaml b/data/claims/claude-2-published-by-anthropic.yaml new file mode 100644 index 0000000..5099831 --- /dev/null +++ b/data/claims/claude-2-published-by-anthropic.yaml @@ -0,0 +1,9 @@ +id: claim:claude-2-published-by-anthropic +type: claim +subject: release:claude-2 +predicate: published_by +object: org:anthropic +status: confirmed_primary +evidence: + - source: source:claude-2-announcement + locator: Anthropic announcement diff --git a/data/claims/claude-2-release-of-claude.yaml b/data/claims/claude-2-release-of-claude.yaml new file mode 100644 index 0000000..8772ed0 --- /dev/null +++ b/data/claims/claude-2-release-of-claude.yaml @@ -0,0 +1,9 @@ +id: claim:claude-2-release-of-claude +type: claim +subject: release:claude-2 +predicate: release_of +object: family:claude +status: confirmed_primary +evidence: + - source: source:claude-2-announcement + locator: announcement title and body diff --git a/data/claims/falcon-40b-parameter-count.yaml b/data/claims/falcon-40b-parameter-count.yaml new file mode 100644 index 0000000..61ef42f --- /dev/null +++ b/data/claims/falcon-40b-parameter-count.yaml @@ -0,0 +1,9 @@ +id: claim:falcon-40b-parameter-count +type: claim +subject: release:falcon-40b +predicate: parameter_count +value: 40000000000 +status: confirmed_primary +evidence: + - source: source:falcon-40b-announcement + locator: announcement body diff --git a/data/claims/falcon-40b-published-by-tii.yaml b/data/claims/falcon-40b-published-by-tii.yaml new file mode 100644 index 0000000..55c0572 --- /dev/null +++ b/data/claims/falcon-40b-published-by-tii.yaml @@ -0,0 +1,9 @@ +id: claim:falcon-40b-published-by-tii +type: claim +subject: release:falcon-40b +predicate: published_by +object: org:tii +status: confirmed_primary +evidence: + - source: source:falcon-40b-announcement + locator: Technology Innovation Institute announcement diff --git a/data/claims/falcon-40b-release-of-falcon.yaml b/data/claims/falcon-40b-release-of-falcon.yaml new file mode 100644 index 0000000..ea8d309 --- /dev/null +++ b/data/claims/falcon-40b-release-of-falcon.yaml @@ -0,0 +1,9 @@ +id: claim:falcon-40b-release-of-falcon +type: claim +subject: release:falcon-40b +predicate: release_of +object: family:falcon +status: confirmed_primary +evidence: + - source: source:falcon-40b-announcement + locator: announcement title and body diff --git a/data/claims/falcon-40b-training-tokens.yaml b/data/claims/falcon-40b-training-tokens.yaml new file mode 100644 index 0000000..e722726 --- /dev/null +++ b/data/claims/falcon-40b-training-tokens.yaml @@ -0,0 +1,9 @@ +id: claim:falcon-40b-training-tokens +type: claim +subject: release:falcon-40b +predicate: training_tokens +value: 1000000000000 +status: reported_primary +evidence: + - source: source:falcon-40b-announcement + locator: announcement body diff --git a/data/claims/gemini-1.0-input-modalities.yaml b/data/claims/gemini-1.0-input-modalities.yaml new file mode 100644 index 0000000..b9c93a0 --- /dev/null +++ b/data/claims/gemini-1.0-input-modalities.yaml @@ -0,0 +1,14 @@ +id: claim:gemini-1.0-input-modalities +type: claim +subject: release:gemini-1.0 +predicate: input_modalities +value: + - text + - code + - audio + - image + - video +status: confirmed_primary +evidence: + - source: source:gemini-1-announcement + locator: Introducing Gemini section diff --git a/data/claims/gemini-1.0-native-multimodal.yaml b/data/claims/gemini-1.0-native-multimodal.yaml new file mode 100644 index 0000000..9a3fcdd --- /dev/null +++ b/data/claims/gemini-1.0-native-multimodal.yaml @@ -0,0 +1,9 @@ +id: claim:gemini-1.0-native-multimodal +type: claim +subject: release:gemini-1.0 +predicate: built_from_ground_up_multimodal +value: true +status: confirmed_primary +evidence: + - source: source:gemini-1-announcement + locator: Introducing Gemini section diff --git a/data/claims/gemini-1.0-published-by-google-deepmind.yaml b/data/claims/gemini-1.0-published-by-google-deepmind.yaml new file mode 100644 index 0000000..402df03 --- /dev/null +++ b/data/claims/gemini-1.0-published-by-google-deepmind.yaml @@ -0,0 +1,9 @@ +id: claim:gemini-1.0-published-by-google-deepmind +type: claim +subject: release:gemini-1.0 +predicate: published_by +object: org:google-deepmind +status: confirmed_primary +evidence: + - source: source:gemini-1-announcement + locator: announcement authorship and Gemini team attribution diff --git a/data/claims/gemini-1.0-release-of-gemini.yaml b/data/claims/gemini-1.0-release-of-gemini.yaml new file mode 100644 index 0000000..ce8809c --- /dev/null +++ b/data/claims/gemini-1.0-release-of-gemini.yaml @@ -0,0 +1,9 @@ +id: claim:gemini-1.0-release-of-gemini +type: claim +subject: release:gemini-1.0 +predicate: release_of +object: family:gemini +status: confirmed_primary +evidence: + - source: source:gemini-1-announcement + locator: announcement body diff --git a/data/claims/gemini-1.0-size-variants.yaml b/data/claims/gemini-1.0-size-variants.yaml new file mode 100644 index 0000000..188691d --- /dev/null +++ b/data/claims/gemini-1.0-size-variants.yaml @@ -0,0 +1,12 @@ +id: claim:gemini-1.0-size-variants +type: claim +subject: release:gemini-1.0 +predicate: size_variants +value: + - Ultra + - Pro + - Nano +status: confirmed_primary +evidence: + - source: source:gemini-1-announcement + locator: optimized for three sizes diff --git a/data/claims/gpt-4-input-modalities.yaml b/data/claims/gpt-4-input-modalities.yaml new file mode 100644 index 0000000..8126718 --- /dev/null +++ b/data/claims/gpt-4-input-modalities.yaml @@ -0,0 +1,11 @@ +id: claim:gpt-4-input-modalities +type: claim +subject: release:gpt-4 +predicate: input_modalities +value: + - text + - image +status: confirmed_primary +evidence: + - source: source:gpt-4-technical-report + locator: abstract diff --git a/data/claims/gpt-4-output-modality.yaml b/data/claims/gpt-4-output-modality.yaml new file mode 100644 index 0000000..249b62a --- /dev/null +++ b/data/claims/gpt-4-output-modality.yaml @@ -0,0 +1,10 @@ +id: claim:gpt-4-output-modality +type: claim +subject: release:gpt-4 +predicate: output_modalities +value: + - text +status: confirmed_primary +evidence: + - source: source:gpt-4-technical-report + locator: abstract diff --git a/data/claims/gpt-4-published-by-openai.yaml b/data/claims/gpt-4-published-by-openai.yaml new file mode 100644 index 0000000..4799a57 --- /dev/null +++ b/data/claims/gpt-4-published-by-openai.yaml @@ -0,0 +1,9 @@ +id: claim:gpt-4-published-by-openai +type: claim +subject: release:gpt-4 +predicate: published_by +object: org:openai +status: confirmed_primary +evidence: + - source: source:gpt-4-announcement + locator: publisher and announcement page diff --git a/data/claims/gpt-4-release-of-gpt.yaml b/data/claims/gpt-4-release-of-gpt.yaml new file mode 100644 index 0000000..295f673 --- /dev/null +++ b/data/claims/gpt-4-release-of-gpt.yaml @@ -0,0 +1,9 @@ +id: claim:gpt-4-release-of-gpt +type: claim +subject: release:gpt-4 +predicate: release_of +object: family:gpt +status: confirmed_primary +evidence: + - source: source:gpt-4-announcement + locator: announcement title and release page diff --git a/data/claims/gpt-4-transformer-based.yaml b/data/claims/gpt-4-transformer-based.yaml new file mode 100644 index 0000000..45f4bba --- /dev/null +++ b/data/claims/gpt-4-transformer-based.yaml @@ -0,0 +1,9 @@ +id: claim:gpt-4-transformer-based +type: claim +subject: release:gpt-4 +predicate: transformer_based +value: true +status: confirmed_primary +evidence: + - source: source:gpt-4-technical-report + locator: abstract diff --git a/data/claims/llama-2-published-by-meta.yaml b/data/claims/llama-2-published-by-meta.yaml new file mode 100644 index 0000000..982d8e8 --- /dev/null +++ b/data/claims/llama-2-published-by-meta.yaml @@ -0,0 +1,9 @@ +id: claim:llama-2-published-by-meta +type: claim +subject: release:llama-2 +predicate: published_by +object: org:meta +status: confirmed_primary +evidence: + - source: source:llama-2-paper + locator: author affiliations and report context diff --git a/data/claims/mistral-7b-published-by-mistral-ai.yaml b/data/claims/mistral-7b-published-by-mistral-ai.yaml new file mode 100644 index 0000000..05c0e3f --- /dev/null +++ b/data/claims/mistral-7b-published-by-mistral-ai.yaml @@ -0,0 +1,9 @@ +id: claim:mistral-7b-published-by-mistral-ai +type: claim +subject: release:mistral-7b +predicate: published_by +object: org:mistral-ai +status: confirmed_primary +evidence: + - source: source:mistral-7b-announcement + locator: Mistral AI team announcement diff --git a/data/claims/mixtral-8x7b-published-by-mistral-ai.yaml b/data/claims/mixtral-8x7b-published-by-mistral-ai.yaml new file mode 100644 index 0000000..73df055 --- /dev/null +++ b/data/claims/mixtral-8x7b-published-by-mistral-ai.yaml @@ -0,0 +1,9 @@ +id: claim:mixtral-8x7b-published-by-mistral-ai +type: claim +subject: release:mixtral-8x7b +predicate: published_by +object: org:mistral-ai +status: confirmed_primary +evidence: + - source: source:mixtral-8x7b-announcement + locator: Mistral AI team announcement diff --git a/data/claims/palm-2-mixture-of-objectives.yaml b/data/claims/palm-2-mixture-of-objectives.yaml new file mode 100644 index 0000000..ca6313a --- /dev/null +++ b/data/claims/palm-2-mixture-of-objectives.yaml @@ -0,0 +1,9 @@ +id: claim:palm-2-mixture-of-objectives +type: claim +subject: release:palm-2 +predicate: training_objectives +value: mixture of objectives +status: confirmed_primary +evidence: + - source: source:palm-2-report + locator: abstract diff --git a/data/claims/palm-2-published-by-google-deepmind.yaml b/data/claims/palm-2-published-by-google-deepmind.yaml new file mode 100644 index 0000000..87150d7 --- /dev/null +++ b/data/claims/palm-2-published-by-google-deepmind.yaml @@ -0,0 +1,9 @@ +id: claim:palm-2-published-by-google-deepmind +type: claim +subject: release:palm-2 +predicate: published_by +object: org:google-deepmind +status: confirmed_primary +evidence: + - source: source:palm-2-announcement + locator: author affiliation and announcement page diff --git a/data/claims/palm-2-release-of-palm.yaml b/data/claims/palm-2-release-of-palm.yaml new file mode 100644 index 0000000..aa6f88a --- /dev/null +++ b/data/claims/palm-2-release-of-palm.yaml @@ -0,0 +1,9 @@ +id: claim:palm-2-release-of-palm +type: claim +subject: release:palm-2 +predicate: release_of +object: family:palm +status: confirmed_primary +evidence: + - source: source:palm-2-announcement + locator: Introducing PaLM 2 diff --git a/data/claims/palm-2-transformer-based.yaml b/data/claims/palm-2-transformer-based.yaml new file mode 100644 index 0000000..b702341 --- /dev/null +++ b/data/claims/palm-2-transformer-based.yaml @@ -0,0 +1,9 @@ +id: claim:palm-2-transformer-based +type: claim +subject: release:palm-2 +predicate: transformer_based +value: true +status: confirmed_primary +evidence: + - source: source:palm-2-report + locator: abstract diff --git a/data/claims/phi-1.5-parameter-count.yaml b/data/claims/phi-1.5-parameter-count.yaml new file mode 100644 index 0000000..c47c665 --- /dev/null +++ b/data/claims/phi-1.5-parameter-count.yaml @@ -0,0 +1,9 @@ +id: claim:phi-1.5-parameter-count +type: claim +subject: release:phi-1.5 +predicate: parameter_count +value: 1300000000 +status: confirmed_primary +evidence: + - source: source:phi-1.5-report + locator: abstract diff --git a/data/claims/phi-1.5-published-by-microsoft.yaml b/data/claims/phi-1.5-published-by-microsoft.yaml new file mode 100644 index 0000000..66cd489 --- /dev/null +++ b/data/claims/phi-1.5-published-by-microsoft.yaml @@ -0,0 +1,9 @@ +id: claim:phi-1.5-published-by-microsoft +type: claim +subject: release:phi-1.5 +predicate: published_by +object: org:microsoft +status: confirmed_primary +evidence: + - source: source:phi-1.5-report + locator: author affiliations diff --git a/data/claims/phi-1.5-release-of-phi.yaml b/data/claims/phi-1.5-release-of-phi.yaml new file mode 100644 index 0000000..609009e --- /dev/null +++ b/data/claims/phi-1.5-release-of-phi.yaml @@ -0,0 +1,9 @@ +id: claim:phi-1.5-release-of-phi +type: claim +subject: release:phi-1.5 +predicate: release_of +object: family:phi +status: confirmed_primary +evidence: + - source: source:phi-1.5-report + locator: abstract diff --git a/data/claims/phi-1.5-textbook-quality-data.yaml b/data/claims/phi-1.5-textbook-quality-data.yaml new file mode 100644 index 0000000..8f24d58 --- /dev/null +++ b/data/claims/phi-1.5-textbook-quality-data.yaml @@ -0,0 +1,9 @@ +id: claim:phi-1.5-textbook-quality-data +type: claim +subject: release:phi-1.5 +predicate: training_data_strategy +value: textbook-quality synthetic data +status: confirmed_primary +evidence: + - source: source:phi-1.5-report + locator: abstract diff --git a/data/claims/qwen-base-and-chat-variants.yaml b/data/claims/qwen-base-and-chat-variants.yaml new file mode 100644 index 0000000..c5b4330 --- /dev/null +++ b/data/claims/qwen-base-and-chat-variants.yaml @@ -0,0 +1,11 @@ +id: claim:qwen-base-and-chat-variants +type: claim +subject: release:qwen +predicate: model_variants +value: + - Qwen base pretrained models + - Qwen-Chat aligned chat models +status: confirmed_primary +evidence: + - source: source:qwen-report + locator: abstract diff --git a/data/claims/qwen-chat-uses-rlhf.yaml b/data/claims/qwen-chat-uses-rlhf.yaml new file mode 100644 index 0000000..b425d62 --- /dev/null +++ b/data/claims/qwen-chat-uses-rlhf.yaml @@ -0,0 +1,9 @@ +id: claim:qwen-chat-uses-rlhf +type: claim +subject: release:qwen +predicate: chat_alignment_method +value: reinforcement learning from human feedback +status: confirmed_primary +evidence: + - source: source:qwen-report + locator: abstract diff --git a/data/claims/qwen-published-by-alibaba-cloud.yaml b/data/claims/qwen-published-by-alibaba-cloud.yaml new file mode 100644 index 0000000..5680652 --- /dev/null +++ b/data/claims/qwen-published-by-alibaba-cloud.yaml @@ -0,0 +1,9 @@ +id: claim:qwen-published-by-alibaba-cloud +type: claim +subject: release:qwen +predicate: published_by +object: org:alibaba-cloud +status: confirmed_primary +evidence: + - source: source:qwen-report + locator: author team and publication context diff --git a/data/claims/qwen-release-of-qwen.yaml b/data/claims/qwen-release-of-qwen.yaml new file mode 100644 index 0000000..f1679c7 --- /dev/null +++ b/data/claims/qwen-release-of-qwen.yaml @@ -0,0 +1,9 @@ +id: claim:qwen-release-of-qwen +type: claim +subject: release:qwen +predicate: release_of +object: family:qwen +status: confirmed_primary +evidence: + - source: source:qwen-report + locator: abstract diff --git a/data/claims/qwen-tool-use-and-planning.yaml b/data/claims/qwen-tool-use-and-planning.yaml new file mode 100644 index 0000000..38d034c --- /dev/null +++ b/data/claims/qwen-tool-use-and-planning.yaml @@ -0,0 +1,11 @@ +id: claim:qwen-tool-use-and-planning +type: claim +subject: release:qwen +predicate: capabilities_reported +value: + - tool use + - planning +status: reported_primary +evidence: + - source: source:qwen-report + locator: abstract diff --git a/data/events/2023-03-14-gpt-4-announced.yaml b/data/events/2023-03-14-gpt-4-announced.yaml new file mode 100644 index 0000000..b7eba9d --- /dev/null +++ b/data/events/2023-03-14-gpt-4-announced.yaml @@ -0,0 +1,8 @@ +id: event:2023-03-14-gpt-4-announced +type: event +name: GPT-4 announced +event_type: model_announced +subject: release:gpt-4 +occurred_at: '2023-03-14' +evidence: + - source:gpt-4-announcement diff --git a/data/events/2023-03-15-gpt-4-report.yaml b/data/events/2023-03-15-gpt-4-report.yaml new file mode 100644 index 0000000..2b7ea9f --- /dev/null +++ b/data/events/2023-03-15-gpt-4-report.yaml @@ -0,0 +1,8 @@ +id: event:2023-03-15-gpt-4-report +type: event +name: GPT-4 Technical Report published +event_type: report_published +subject: release:gpt-4 +occurred_at: '2023-03-15' +evidence: + - source:gpt-4-technical-report diff --git a/data/events/2023-05-10-palm-2-announced.yaml b/data/events/2023-05-10-palm-2-announced.yaml new file mode 100644 index 0000000..e20081c --- /dev/null +++ b/data/events/2023-05-10-palm-2-announced.yaml @@ -0,0 +1,8 @@ +id: event:2023-05-10-palm-2-announced +type: event +name: PaLM 2 announced +event_type: model_announced +subject: release:palm-2 +occurred_at: '2023-05-10' +evidence: + - source:palm-2-announcement diff --git a/data/events/2023-05-17-palm-2-report.yaml b/data/events/2023-05-17-palm-2-report.yaml new file mode 100644 index 0000000..98bd6fa --- /dev/null +++ b/data/events/2023-05-17-palm-2-report.yaml @@ -0,0 +1,8 @@ +id: event:2023-05-17-palm-2-report +type: event +name: PaLM 2 Technical Report published +event_type: report_published +subject: release:palm-2 +occurred_at: '2023-05-17' +evidence: + - source:palm-2-report diff --git a/data/events/2023-05-25-falcon-40b-weights.yaml b/data/events/2023-05-25-falcon-40b-weights.yaml new file mode 100644 index 0000000..c999d40 --- /dev/null +++ b/data/events/2023-05-25-falcon-40b-weights.yaml @@ -0,0 +1,8 @@ +id: event:2023-05-25-falcon-40b-weights +type: event +name: Falcon 40B open weights released +event_type: weights_released +subject: release:falcon-40b +occurred_at: '2023-05-25' +evidence: + - source:falcon-40b-announcement diff --git a/data/events/2023-07-11-claude-2-announced.yaml b/data/events/2023-07-11-claude-2-announced.yaml new file mode 100644 index 0000000..1878778 --- /dev/null +++ b/data/events/2023-07-11-claude-2-announced.yaml @@ -0,0 +1,8 @@ +id: event:2023-07-11-claude-2-announced +type: event +name: Claude 2 announced +event_type: model_announced +subject: release:claude-2 +occurred_at: '2023-07-11' +evidence: + - source:claude-2-announcement diff --git a/data/events/2023-09-11-phi-1.5-report.yaml b/data/events/2023-09-11-phi-1.5-report.yaml new file mode 100644 index 0000000..fc89b69 --- /dev/null +++ b/data/events/2023-09-11-phi-1.5-report.yaml @@ -0,0 +1,8 @@ +id: event:2023-09-11-phi-1.5-report +type: event +name: phi-1.5 technical report published +event_type: report_published +subject: release:phi-1.5 +occurred_at: '2023-09-11' +evidence: + - source:phi-1.5-report diff --git a/data/events/2023-09-27-mistral-7b-weights.yaml b/data/events/2023-09-27-mistral-7b-weights.yaml new file mode 100644 index 0000000..f0a27b1 --- /dev/null +++ b/data/events/2023-09-27-mistral-7b-weights.yaml @@ -0,0 +1,8 @@ +id: event:2023-09-27-mistral-7b-weights +type: event +name: Mistral 7B open weights released +event_type: weights_released +subject: release:mistral-7b +occurred_at: '2023-09-27' +evidence: + - source:mistral-7b-announcement diff --git a/data/events/2023-09-28-qwen-report.yaml b/data/events/2023-09-28-qwen-report.yaml new file mode 100644 index 0000000..3a4ed29 --- /dev/null +++ b/data/events/2023-09-28-qwen-report.yaml @@ -0,0 +1,8 @@ +id: event:2023-09-28-qwen-report +type: event +name: Qwen Technical Report published +event_type: report_published +subject: release:qwen +occurred_at: '2023-09-28' +evidence: + - source:qwen-report diff --git a/data/events/2023-11-28-falcon-report.yaml b/data/events/2023-11-28-falcon-report.yaml new file mode 100644 index 0000000..3aa22b5 --- /dev/null +++ b/data/events/2023-11-28-falcon-report.yaml @@ -0,0 +1,8 @@ +id: event:2023-11-28-falcon-report +type: event +name: Falcon series technical report published +event_type: report_published +subject: release:falcon-40b +occurred_at: '2023-11-28' +evidence: + - source:falcon-report diff --git a/data/events/2023-12-06-gemini-1.0-announced.yaml b/data/events/2023-12-06-gemini-1.0-announced.yaml new file mode 100644 index 0000000..1a288b1 --- /dev/null +++ b/data/events/2023-12-06-gemini-1.0-announced.yaml @@ -0,0 +1,8 @@ +id: event:2023-12-06-gemini-1.0-announced +type: event +name: Gemini 1.0 announced +event_type: model_announced +subject: release:gemini-1.0 +occurred_at: '2023-12-06' +evidence: + - source:gemini-1-announcement diff --git a/data/events/2023-12-11-mixtral-8x7b-weights.yaml b/data/events/2023-12-11-mixtral-8x7b-weights.yaml new file mode 100644 index 0000000..52c0716 --- /dev/null +++ b/data/events/2023-12-11-mixtral-8x7b-weights.yaml @@ -0,0 +1,8 @@ +id: event:2023-12-11-mixtral-8x7b-weights +type: event +name: Mixtral 8x7B open weights released +event_type: weights_released +subject: release:mixtral-8x7b +occurred_at: '2023-12-11' +evidence: + - source:mixtral-8x7b-announcement diff --git a/data/events/2023-12-19-gemini-1.0-report.yaml b/data/events/2023-12-19-gemini-1.0-report.yaml new file mode 100644 index 0000000..75d3a44 --- /dev/null +++ b/data/events/2023-12-19-gemini-1.0-report.yaml @@ -0,0 +1,8 @@ +id: event:2023-12-19-gemini-1.0-report +type: event +name: Gemini 1.0 technical report published +event_type: report_published +subject: release:gemini-1.0 +occurred_at: '2023-12-19' +evidence: + - source:gemini-1-report diff --git a/data/families/claude.yaml b/data/families/claude.yaml new file mode 100644 index 0000000..9cb5fdc --- /dev/null +++ b/data/families/claude.yaml @@ -0,0 +1,4 @@ +id: family:claude +type: model_family +name: Claude +status: canonical diff --git a/data/families/falcon.yaml b/data/families/falcon.yaml new file mode 100644 index 0000000..3b08ef1 --- /dev/null +++ b/data/families/falcon.yaml @@ -0,0 +1,4 @@ +id: family:falcon +type: model_family +name: Falcon +status: canonical diff --git a/data/families/gemini.yaml b/data/families/gemini.yaml new file mode 100644 index 0000000..cb59aa2 --- /dev/null +++ b/data/families/gemini.yaml @@ -0,0 +1,4 @@ +id: family:gemini +type: model_family +name: Gemini +status: canonical diff --git a/data/families/gpt.yaml b/data/families/gpt.yaml new file mode 100644 index 0000000..f83e8e7 --- /dev/null +++ b/data/families/gpt.yaml @@ -0,0 +1,4 @@ +id: family:gpt +type: model_family +name: GPT +status: canonical diff --git a/data/families/palm.yaml b/data/families/palm.yaml new file mode 100644 index 0000000..e75d2c1 --- /dev/null +++ b/data/families/palm.yaml @@ -0,0 +1,4 @@ +id: family:palm +type: model_family +name: PaLM +status: canonical diff --git a/data/families/phi.yaml b/data/families/phi.yaml new file mode 100644 index 0000000..e4393e1 --- /dev/null +++ b/data/families/phi.yaml @@ -0,0 +1,4 @@ +id: family:phi +type: model_family +name: Phi +status: canonical diff --git a/data/families/qwen.yaml b/data/families/qwen.yaml new file mode 100644 index 0000000..c7d70f5 --- /dev/null +++ b/data/families/qwen.yaml @@ -0,0 +1,4 @@ +id: family:qwen +type: model_family +name: Qwen +status: canonical diff --git a/data/organizations/alibaba-cloud.yaml b/data/organizations/alibaba-cloud.yaml new file mode 100644 index 0000000..eed0f49 --- /dev/null +++ b/data/organizations/alibaba-cloud.yaml @@ -0,0 +1,4 @@ +id: org:alibaba-cloud +type: organization +name: Alibaba Cloud +status: canonical diff --git a/data/organizations/anthropic.yaml b/data/organizations/anthropic.yaml new file mode 100644 index 0000000..f1a023c --- /dev/null +++ b/data/organizations/anthropic.yaml @@ -0,0 +1,4 @@ +id: org:anthropic +type: organization +name: Anthropic +status: canonical diff --git a/data/organizations/google-deepmind.yaml b/data/organizations/google-deepmind.yaml new file mode 100644 index 0000000..ced2f51 --- /dev/null +++ b/data/organizations/google-deepmind.yaml @@ -0,0 +1,6 @@ +id: org:google-deepmind +type: organization +name: Google DeepMind +aliases: + - Google DeepMind +status: canonical diff --git a/data/organizations/meta.yaml b/data/organizations/meta.yaml new file mode 100644 index 0000000..1228fbe --- /dev/null +++ b/data/organizations/meta.yaml @@ -0,0 +1,6 @@ +id: org:meta +type: organization +name: Meta +aliases: + - Meta AI +status: canonical diff --git a/data/organizations/microsoft.yaml b/data/organizations/microsoft.yaml new file mode 100644 index 0000000..e42bbc8 --- /dev/null +++ b/data/organizations/microsoft.yaml @@ -0,0 +1,4 @@ +id: org:microsoft +type: organization +name: Microsoft +status: canonical diff --git a/data/organizations/mistral-ai.yaml b/data/organizations/mistral-ai.yaml new file mode 100644 index 0000000..98299b9 --- /dev/null +++ b/data/organizations/mistral-ai.yaml @@ -0,0 +1,4 @@ +id: org:mistral-ai +type: organization +name: Mistral AI +status: canonical diff --git a/data/organizations/openai.yaml b/data/organizations/openai.yaml new file mode 100644 index 0000000..9613fa0 --- /dev/null +++ b/data/organizations/openai.yaml @@ -0,0 +1,4 @@ +id: org:openai +type: organization +name: OpenAI +status: canonical diff --git a/data/organizations/tii.yaml b/data/organizations/tii.yaml new file mode 100644 index 0000000..335b26d --- /dev/null +++ b/data/organizations/tii.yaml @@ -0,0 +1,6 @@ +id: org:tii +type: organization +name: Technology Innovation Institute +aliases: + - TII +status: canonical diff --git a/data/relationships/claude-2-published-by-anthropic.yaml b/data/relationships/claude-2-published-by-anthropic.yaml new file mode 100644 index 0000000..659fbf5 --- /dev/null +++ b/data/relationships/claude-2-published-by-anthropic.yaml @@ -0,0 +1,7 @@ +id: relationship:claude-2-published-by-anthropic +type: relationship +subject: release:claude-2 +predicate: published_by +object: org:anthropic +claim_refs: + - claim:claude-2-published-by-anthropic diff --git a/data/relationships/claude-2-release-of-claude.yaml b/data/relationships/claude-2-release-of-claude.yaml new file mode 100644 index 0000000..d86b279 --- /dev/null +++ b/data/relationships/claude-2-release-of-claude.yaml @@ -0,0 +1,7 @@ +id: relationship:claude-2-release-of-claude +type: relationship +subject: release:claude-2 +predicate: release_of +object: family:claude +claim_refs: + - claim:claude-2-release-of-claude diff --git a/data/relationships/falcon-40b-published-by-tii.yaml b/data/relationships/falcon-40b-published-by-tii.yaml new file mode 100644 index 0000000..d1bfde0 --- /dev/null +++ b/data/relationships/falcon-40b-published-by-tii.yaml @@ -0,0 +1,7 @@ +id: relationship:falcon-40b-published-by-tii +type: relationship +subject: release:falcon-40b +predicate: published_by +object: org:tii +claim_refs: + - claim:falcon-40b-published-by-tii diff --git a/data/relationships/falcon-40b-release-of-falcon.yaml b/data/relationships/falcon-40b-release-of-falcon.yaml new file mode 100644 index 0000000..30f6c4a --- /dev/null +++ b/data/relationships/falcon-40b-release-of-falcon.yaml @@ -0,0 +1,7 @@ +id: relationship:falcon-40b-release-of-falcon +type: relationship +subject: release:falcon-40b +predicate: release_of +object: family:falcon +claim_refs: + - claim:falcon-40b-release-of-falcon diff --git a/data/relationships/gemini-1.0-published-by-google-deepmind.yaml b/data/relationships/gemini-1.0-published-by-google-deepmind.yaml new file mode 100644 index 0000000..669bc1d --- /dev/null +++ b/data/relationships/gemini-1.0-published-by-google-deepmind.yaml @@ -0,0 +1,7 @@ +id: relationship:gemini-1.0-published-by-google-deepmind +type: relationship +subject: release:gemini-1.0 +predicate: published_by +object: org:google-deepmind +claim_refs: + - claim:gemini-1.0-published-by-google-deepmind diff --git a/data/relationships/gemini-1.0-release-of-gemini.yaml b/data/relationships/gemini-1.0-release-of-gemini.yaml new file mode 100644 index 0000000..e9a6c96 --- /dev/null +++ b/data/relationships/gemini-1.0-release-of-gemini.yaml @@ -0,0 +1,7 @@ +id: relationship:gemini-1.0-release-of-gemini +type: relationship +subject: release:gemini-1.0 +predicate: release_of +object: family:gemini +claim_refs: + - claim:gemini-1.0-release-of-gemini diff --git a/data/relationships/gpt-4-published-by-openai.yaml b/data/relationships/gpt-4-published-by-openai.yaml new file mode 100644 index 0000000..f8dc73c --- /dev/null +++ b/data/relationships/gpt-4-published-by-openai.yaml @@ -0,0 +1,7 @@ +id: relationship:gpt-4-published-by-openai +type: relationship +subject: release:gpt-4 +predicate: published_by +object: org:openai +claim_refs: + - claim:gpt-4-published-by-openai diff --git a/data/relationships/gpt-4-release-of-gpt.yaml b/data/relationships/gpt-4-release-of-gpt.yaml new file mode 100644 index 0000000..16d6495 --- /dev/null +++ b/data/relationships/gpt-4-release-of-gpt.yaml @@ -0,0 +1,7 @@ +id: relationship:gpt-4-release-of-gpt +type: relationship +subject: release:gpt-4 +predicate: release_of +object: family:gpt +claim_refs: + - claim:gpt-4-release-of-gpt diff --git a/data/relationships/llama-2-published-by-meta.yaml b/data/relationships/llama-2-published-by-meta.yaml new file mode 100644 index 0000000..ce7e094 --- /dev/null +++ b/data/relationships/llama-2-published-by-meta.yaml @@ -0,0 +1,7 @@ +id: relationship:llama-2-published-by-meta +type: relationship +subject: release:llama-2 +predicate: published_by +object: org:meta +claim_refs: + - claim:llama-2-published-by-meta diff --git a/data/relationships/mistral-7b-published-by-mistral-ai.yaml b/data/relationships/mistral-7b-published-by-mistral-ai.yaml new file mode 100644 index 0000000..9239d56 --- /dev/null +++ b/data/relationships/mistral-7b-published-by-mistral-ai.yaml @@ -0,0 +1,7 @@ +id: relationship:mistral-7b-published-by-mistral-ai +type: relationship +subject: release:mistral-7b +predicate: published_by +object: org:mistral-ai +claim_refs: + - claim:mistral-7b-published-by-mistral-ai diff --git a/data/relationships/mixtral-8x7b-published-by-mistral-ai.yaml b/data/relationships/mixtral-8x7b-published-by-mistral-ai.yaml new file mode 100644 index 0000000..46ec7ab --- /dev/null +++ b/data/relationships/mixtral-8x7b-published-by-mistral-ai.yaml @@ -0,0 +1,7 @@ +id: relationship:mixtral-8x7b-published-by-mistral-ai +type: relationship +subject: release:mixtral-8x7b +predicate: published_by +object: org:mistral-ai +claim_refs: + - claim:mixtral-8x7b-published-by-mistral-ai diff --git a/data/relationships/palm-2-published-by-google-deepmind.yaml b/data/relationships/palm-2-published-by-google-deepmind.yaml new file mode 100644 index 0000000..53bb25d --- /dev/null +++ b/data/relationships/palm-2-published-by-google-deepmind.yaml @@ -0,0 +1,7 @@ +id: relationship:palm-2-published-by-google-deepmind +type: relationship +subject: release:palm-2 +predicate: published_by +object: org:google-deepmind +claim_refs: + - claim:palm-2-published-by-google-deepmind diff --git a/data/relationships/palm-2-release-of-palm.yaml b/data/relationships/palm-2-release-of-palm.yaml new file mode 100644 index 0000000..2d7a20f --- /dev/null +++ b/data/relationships/palm-2-release-of-palm.yaml @@ -0,0 +1,7 @@ +id: relationship:palm-2-release-of-palm +type: relationship +subject: release:palm-2 +predicate: release_of +object: family:palm +claim_refs: + - claim:palm-2-release-of-palm diff --git a/data/relationships/phi-1.5-published-by-microsoft.yaml b/data/relationships/phi-1.5-published-by-microsoft.yaml new file mode 100644 index 0000000..dbf535e --- /dev/null +++ b/data/relationships/phi-1.5-published-by-microsoft.yaml @@ -0,0 +1,7 @@ +id: relationship:phi-1.5-published-by-microsoft +type: relationship +subject: release:phi-1.5 +predicate: published_by +object: org:microsoft +claim_refs: + - claim:phi-1.5-published-by-microsoft diff --git a/data/relationships/phi-1.5-release-of-phi.yaml b/data/relationships/phi-1.5-release-of-phi.yaml new file mode 100644 index 0000000..342c746 --- /dev/null +++ b/data/relationships/phi-1.5-release-of-phi.yaml @@ -0,0 +1,7 @@ +id: relationship:phi-1.5-release-of-phi +type: relationship +subject: release:phi-1.5 +predicate: release_of +object: family:phi +claim_refs: + - claim:phi-1.5-release-of-phi diff --git a/data/relationships/qwen-published-by-alibaba-cloud.yaml b/data/relationships/qwen-published-by-alibaba-cloud.yaml new file mode 100644 index 0000000..55ed22e --- /dev/null +++ b/data/relationships/qwen-published-by-alibaba-cloud.yaml @@ -0,0 +1,7 @@ +id: relationship:qwen-published-by-alibaba-cloud +type: relationship +subject: release:qwen +predicate: published_by +object: org:alibaba-cloud +claim_refs: + - claim:qwen-published-by-alibaba-cloud diff --git a/data/relationships/qwen-release-of-qwen.yaml b/data/relationships/qwen-release-of-qwen.yaml new file mode 100644 index 0000000..e4091b0 --- /dev/null +++ b/data/relationships/qwen-release-of-qwen.yaml @@ -0,0 +1,7 @@ +id: relationship:qwen-release-of-qwen +type: relationship +subject: release:qwen +predicate: release_of +object: family:qwen +claim_refs: + - claim:qwen-release-of-qwen diff --git a/data/releases/claude-2.yaml b/data/releases/claude-2.yaml new file mode 100644 index 0000000..43e69ab --- /dev/null +++ b/data/releases/claude-2.yaml @@ -0,0 +1,4 @@ +id: release:claude-2 +type: model_release +name: Claude 2 +status: canonical diff --git a/data/releases/falcon-40b.yaml b/data/releases/falcon-40b.yaml new file mode 100644 index 0000000..453a244 --- /dev/null +++ b/data/releases/falcon-40b.yaml @@ -0,0 +1,4 @@ +id: release:falcon-40b +type: model_release +name: Falcon 40B +status: canonical diff --git a/data/releases/gemini-1.0.yaml b/data/releases/gemini-1.0.yaml new file mode 100644 index 0000000..1a7b9d1 --- /dev/null +++ b/data/releases/gemini-1.0.yaml @@ -0,0 +1,4 @@ +id: release:gemini-1.0 +type: model_release +name: Gemini 1.0 +status: canonical diff --git a/data/releases/gpt-4.yaml b/data/releases/gpt-4.yaml new file mode 100644 index 0000000..b92cd7d --- /dev/null +++ b/data/releases/gpt-4.yaml @@ -0,0 +1,4 @@ +id: release:gpt-4 +type: model_release +name: GPT-4 +status: canonical diff --git a/data/releases/palm-2.yaml b/data/releases/palm-2.yaml new file mode 100644 index 0000000..7905686 --- /dev/null +++ b/data/releases/palm-2.yaml @@ -0,0 +1,4 @@ +id: release:palm-2 +type: model_release +name: PaLM 2 +status: canonical diff --git a/data/releases/phi-1.5.yaml b/data/releases/phi-1.5.yaml new file mode 100644 index 0000000..eaf32a4 --- /dev/null +++ b/data/releases/phi-1.5.yaml @@ -0,0 +1,4 @@ +id: release:phi-1.5 +type: model_release +name: phi-1.5 +status: canonical diff --git a/data/releases/qwen.yaml b/data/releases/qwen.yaml new file mode 100644 index 0000000..420c87d --- /dev/null +++ b/data/releases/qwen.yaml @@ -0,0 +1,4 @@ +id: release:qwen +type: model_release +name: Qwen +status: canonical diff --git a/data/sources/claude-2-announcement.yaml b/data/sources/claude-2-announcement.yaml new file mode 100644 index 0000000..a4b3da2 --- /dev/null +++ b/data/sources/claude-2-announcement.yaml @@ -0,0 +1,8 @@ +id: source:claude-2-announcement +type: source +title: Claude 2 +source_type: official_announcement +url: https://www.anthropic.com/news/claude-2 +publisher: Anthropic +published_at: '2023-07-11' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/falcon-40b-announcement.yaml b/data/sources/falcon-40b-announcement.yaml new file mode 100644 index 0000000..30fef30 --- /dev/null +++ b/data/sources/falcon-40b-announcement.yaml @@ -0,0 +1,8 @@ +id: source:falcon-40b-announcement +type: source +title: UAE's Technology Innovation Institute Launches Open-Source Falcon 40B Large Language Model +source_type: official_announcement +url: https://www.tii.ae/news/uaes-technology-innovation-institute-launches-open-source-falcon-40b-large-language-model +publisher: Technology Innovation Institute +published_at: '2023-05-25' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/falcon-report.yaml b/data/sources/falcon-report.yaml new file mode 100644 index 0000000..8667fc3 --- /dev/null +++ b/data/sources/falcon-report.yaml @@ -0,0 +1,8 @@ +id: source:falcon-report +type: source +title: The Falcon Series of Open Language Models +source_type: technical_report +url: https://arxiv.org/abs/2311.16867 +publisher: arXiv +published_at: '2023-11-28' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/gemini-1-announcement.yaml b/data/sources/gemini-1-announcement.yaml new file mode 100644 index 0000000..f735860 --- /dev/null +++ b/data/sources/gemini-1-announcement.yaml @@ -0,0 +1,8 @@ +id: source:gemini-1-announcement +type: source +title: 'Introducing Gemini: our largest and most capable AI model' +source_type: official_announcement +url: https://blog.google/innovation-and-ai/technology/ai/google-gemini-ai/ +publisher: Google +published_at: '2023-12-06' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/gemini-1-report.yaml b/data/sources/gemini-1-report.yaml new file mode 100644 index 0000000..907122d --- /dev/null +++ b/data/sources/gemini-1-report.yaml @@ -0,0 +1,8 @@ +id: source:gemini-1-report +type: source +title: 'Gemini: A Family of Highly Capable Multimodal Models' +source_type: technical_report +url: https://arxiv.org/abs/2312.11805 +publisher: arXiv +published_at: '2023-12-19' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/gpt-4-announcement.yaml b/data/sources/gpt-4-announcement.yaml new file mode 100644 index 0000000..cb2c8c4 --- /dev/null +++ b/data/sources/gpt-4-announcement.yaml @@ -0,0 +1,8 @@ +id: source:gpt-4-announcement +type: source +title: GPT-4 +source_type: official_announcement +url: https://openai.com/index/gpt-4-research/ +publisher: OpenAI +published_at: '2023-03-14' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/gpt-4-technical-report.yaml b/data/sources/gpt-4-technical-report.yaml new file mode 100644 index 0000000..9ae35ad --- /dev/null +++ b/data/sources/gpt-4-technical-report.yaml @@ -0,0 +1,8 @@ +id: source:gpt-4-technical-report +type: source +title: GPT-4 Technical Report +source_type: technical_report +url: https://arxiv.org/abs/2303.08774 +publisher: arXiv +published_at: '2023-03-15' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/mistral-7b-announcement.yaml b/data/sources/mistral-7b-announcement.yaml new file mode 100644 index 0000000..c0925f6 --- /dev/null +++ b/data/sources/mistral-7b-announcement.yaml @@ -0,0 +1,8 @@ +id: source:mistral-7b-announcement +type: source +title: Mistral 7B +source_type: official_announcement +url: https://mistral.ai/news/announcing-mistral-7b/ +publisher: Mistral AI +published_at: '2023-09-27' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/mixtral-8x7b-announcement.yaml b/data/sources/mixtral-8x7b-announcement.yaml new file mode 100644 index 0000000..1012b76 --- /dev/null +++ b/data/sources/mixtral-8x7b-announcement.yaml @@ -0,0 +1,8 @@ +id: source:mixtral-8x7b-announcement +type: source +title: Mixtral of experts +source_type: official_announcement +url: https://mistral.ai/news/mixtral-of-experts/ +publisher: Mistral AI +published_at: '2023-12-11' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/palm-2-announcement.yaml b/data/sources/palm-2-announcement.yaml new file mode 100644 index 0000000..77c4db5 --- /dev/null +++ b/data/sources/palm-2-announcement.yaml @@ -0,0 +1,8 @@ +id: source:palm-2-announcement +type: source +title: Introducing PaLM 2 +source_type: official_announcement +url: https://blog.google/innovation-and-ai/products/google-palm-2-ai-large-language-model/ +publisher: Google +published_at: '2023-05-10' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/palm-2-report.yaml b/data/sources/palm-2-report.yaml new file mode 100644 index 0000000..21fda01 --- /dev/null +++ b/data/sources/palm-2-report.yaml @@ -0,0 +1,8 @@ +id: source:palm-2-report +type: source +title: PaLM 2 Technical Report +source_type: technical_report +url: https://arxiv.org/abs/2305.10403 +publisher: arXiv +published_at: '2023-05-17' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/phi-1.5-report.yaml b/data/sources/phi-1.5-report.yaml new file mode 100644 index 0000000..30b71c9 --- /dev/null +++ b/data/sources/phi-1.5-report.yaml @@ -0,0 +1,8 @@ +id: source:phi-1.5-report +type: source +title: 'Textbooks Are All You Need II: phi-1.5 technical report' +source_type: technical_report +url: https://arxiv.org/abs/2309.05463 +publisher: arXiv +published_at: '2023-09-11' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/data/sources/qwen-report.yaml b/data/sources/qwen-report.yaml new file mode 100644 index 0000000..6469de2 --- /dev/null +++ b/data/sources/qwen-report.yaml @@ -0,0 +1,8 @@ +id: source:qwen-report +type: source +title: Qwen Technical Report +source_type: technical_report +url: https://arxiv.org/abs/2309.16609 +publisher: arXiv +published_at: '2023-09-28' +retrieved_at: '2026-09-29T06:55:00Z' diff --git a/narratives/2023/README.md b/narratives/2023/README.md new file mode 100644 index 0000000..08dc15b --- /dev/null +++ b/narratives/2023/README.md @@ -0,0 +1,25 @@ +# 2023 — High-resolution chapter + +This directory is the editorial layer for ModelMap's first high-resolution historical year. Canonical dates, releases, organizations, and technical assertions live under `data/`; this narrative layer should explain their significance without becoming a second fact store. + +Generate the current chronology with: + +```bash +python tools/build_year.py 2023 --format markdown +``` + +## Editorial themes + +The eventual chapter should explain 2023 through multiple concurrent trajectories rather than a single model leaderboard: + +- frontier scale and multimodality; +- the expansion of open-weight model ecosystems; +- inference-efficient attention and smaller high-performing models; +- synthetic and curated training-data strategies; +- post-training, tool use, and planning capabilities; +- native multimodality as a model-family design direction; +- the accelerating separation between model releases, research reports, APIs, and user-facing products. + +## Editorial rule + +Every factual statement introduced here should resolve to canonical ModelMap claims/events or add the missing claim with evidence first. Unknown architecture details for closed models must remain unknown. diff --git a/schemas/year-view.schema.json b/schemas/year-view.schema.json new file mode 100644 index 0000000..aea5a79 --- /dev/null +++ b/schemas/year-view.schema.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://modelmap.dev/schemas/year-view.schema.json", + "title": "ModelMap Year View", + "type": "object", + "required": ["year", "generated_from", "sections"], + "properties": { + "year": {"type": "integer", "minimum": 2017}, + "generated_from": {"const": "canonical-events"}, + "sections": { + "type": "array", + "items": { + "type": "object", + "required": ["name", "event_types"], + "properties": { + "name": {"type": "string", "minLength": 1}, + "event_types": {"type": "array", "items": {"type": "string"}, "uniqueItems": true} + }, + "additionalProperties": false + } + } + }, + "additionalProperties": false +} diff --git a/tools/build_year.py b/tools/build_year.py new file mode 100644 index 0000000..b47d2b5 --- /dev/null +++ b/tools/build_year.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python3 +"""Render a single year from ModelMap canonical event records.""" + +from __future__ import annotations + +import argparse +import json +from pathlib import Path + +import yaml + +ROOT = Path(__file__).resolve().parents[1] +EVENTS = ROOT / "data" / "events" + + +def load_events(year: int) -> list[dict]: + out = [] + for path in sorted(EVENTS.glob("*.yaml")): + with path.open("r", encoding="utf-8") as fh: + event = yaml.safe_load(fh) + if str(event.get("occurred_at", "")).startswith(f"{year:04d}-"): + out.append(event) + return sorted(out, key=lambda e: (e["occurred_at"], e["id"])) + + +def render_markdown(year: int, events: list[dict]) -> str: + lines = [f"# {year}", "", "Generated from canonical ModelMap event records.", ""] + for event in events: + title = event.get("name") or event["id"].split(":", 1)[-1].replace("-", " ").title() + lines.append(f"- **{event['occurred_at']}** — {title} (`{event['event_type']}`) — `{event['subject']}`") + return "\n".join(lines) + "\n" + + +def main() -> int: + parser = argparse.ArgumentParser() + parser.add_argument("year", type=int) + parser.add_argument("--format", choices=["json", "markdown"], default="markdown") + args = parser.parse_args() + events = load_events(args.year) + if args.format == "json": + print(json.dumps({"year": args.year, "events": events}, indent=2)) + else: + print(render_markdown(args.year, events), end="") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main())