{"id":19156195,"url":"https://github.com/kyegomez/mc-vit","last_synced_at":"2025-08-17T14:39:13.781Z","repository":{"id":221631798,"uuid":"754938253","full_name":"kyegomez/MC-ViT","owner":"kyegomez","description":"Implementation of the model: \"(MC-ViT)\" from the paper: \"Memory Consolidation Enables Long-Context Video Understanding\"","archived":false,"fork":false,"pushed_at":"2025-04-04T12:57:01.000Z","size":2276,"stargazers_count":21,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-17T00:41:35.264Z","etag":null,"topics":["ai","multi-modal","multi-modal-transformers","multi-modality","open-source","transformer","transformers","vit"],"latest_commit_sha":null,"homepage":"https://discord.gg/GYbXvDGevY","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kyegomez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["kyegomez"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-02-09T04:10:38.000Z","updated_at":"2025-03-08T16:38:51.000Z","dependencies_parsed_at":"2024-02-09T05:24:56.688Z","dependency_job_id":"da4417e0-be9d-40e7-89ae-7473c048bf71","html_url":"https://github.com/kyegomez/MC-ViT","commit_stats":null,"previous_names":["kyegomez/mc-vit"],"tags_count":0,"template":false,"template_full_name":"kyegomez/Python-Package-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FMC-ViT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FMC-ViT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FMC-ViT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FMC-ViT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyegomez","download_url":"https://codeload.github.com/kyegomez/MC-ViT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252834240,"owners_count":21811342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","multi-modal","multi-modal-transformers","multi-modality","open-source","transformer","transformers","vit"],"created_at":"2024-11-09T08:33:33.137Z","updated_at":"2025-05-07T07:35:26.057Z","avatar_url":"https://github.com/kyegomez.png","language":"Python","funding_links":["https://github.com/sponsors/kyegomez"],"categories":[],"sub_categories":[],"readme":"[![Multi-Modality](agorabanner.png)](https://discord.gg/qUtxnK2NMf)\n\n# MC -VIT\nImplementation of the model: \"(MC-ViT)\" from the paper: \"Memory Consolidation Enables Long-Context Video Understanding\"\n\n\n## Install\n`$ pip install mcvit`\n\n## Usage\n```python\nimport torch\nfrom mcvit.model import MCViT\n\n\n# Initialize the MCViT model\nmcvit = MCViT(\n    dim=512,\n    attn_seq_len=256,\n    dim_head=64,\n    dropout=0.1,\n    chunks=16,\n    depth=12,\n    cross_attn_heads=8,\n)\n\n# Create a random tensor to represent a video\nx = torch.randn(\n    1, 3, 256, 256, 256\n)  # (batch, channels, frames, height, width)\n\n# Pass the tensor through the model\noutput = mcvit(x)\n\nprint(\n    output.shape\n)  # Outputs the shape of the tensor after passing through the model\n\n```\n\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyegomez%2Fmc-vit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyegomez%2Fmc-vit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyegomez%2Fmc-vit/lists"}