{"id":19074058,"url":"https://github.com/zer0int/clip-xai-game","last_synced_at":"2026-05-19T04:30:17.642Z","repository":{"id":230476696,"uuid":"779488692","full_name":"zer0int/CLIP-XAI-GAME","owner":"zer0int","description":"Playing by AI's rules - Matching Pairs / Memory with CLIP Cosine Similarity!","archived":false,"fork":false,"pushed_at":"2024-03-30T01:09:50.000Z","size":7786,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"CLIP-vision","last_synced_at":"2025-01-02T17:33:22.165Z","etag":null,"topics":["clip","cosine-similarity","game","gui","matching-pairs","memory","python","xai"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zer0int.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-03-30T00:37:10.000Z","updated_at":"2024-04-27T09:19:34.000Z","dependencies_parsed_at":"2024-03-30T01:31:00.207Z","dependency_job_id":"c7bd7695-7106-449d-9aac-62f75a4fc72f","html_url":"https://github.com/zer0int/CLIP-XAI-GAME","commit_stats":null,"previous_names":["zer0int/clip-xai-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zer0int%2FCLIP-XAI-GAME","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zer0int%2FCLIP-XAI-GAME/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zer0int%2FCLIP-XAI-GAME/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zer0int%2FCLIP-XAI-GAME/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zer0int","download_url":"https://codeload.github.com/zer0int/CLIP-XAI-GAME/tar.gz/refs/heads/CLIP-vision","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240126700,"owners_count":19751933,"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":["clip","cosine-similarity","game","gui","matching-pairs","memory","python","xai"],"created_at":"2024-11-09T01:49:33.023Z","updated_at":"2026-05-19T04:30:17.594Z","avatar_url":"https://github.com/zer0int.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Banner](https://github.com/zer0int/CLIP-XAI-GAME/blob/CLIP-vision/examples/clip-logo-xai.jpg?raw=true)\n\n## Playing by AI's rules - Matching Pairs / Memory with CLIP\n## Uses image-image Cosine Similarity pairs to determine what is or isn't a match!\n\n- Cosine Similarity = 1 means that two images are, in fact, the same image.\n- A value of 0.8 - 0.9 may be expected for two different photos that both depict a cat.\n- Set the game to a cut-off value of 0.5, and you'll have to guess what kind of mud-puddle CLIP thinks is of median likeness to a pizza. Good luck!\n\n## Prerequisites / Setup:\n\n- OpenAI / CLIP ([https://github.com/openai/CLIP](https://github.com/openai/CLIP))\n- Check / install requirements.txt\n- Extract COCO.zip (contains images to play) to any folder\n- 250 small images require \u003c2 GB VRAM even with large CLIP models\n- Game too hard? Try using only 100 images instead of 250.\n- Optional: See \"YOLO\" folder / readme.txt to use your own photos for the game\n- python run-CLIP-matching-pairs.py will launch the GUI\n\n----\n- Images via COCO - Common Objects in Context ([https://cocodataset.org/](https://cocodataset.org/))\n- Code via GPT-4 aka AI \u0026 I\n----\n\n![Screenshot](https://github.com/zer0int/CLIP-XAI-GAME/blob/CLIP-vision/examples/screenshot.jpg?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzer0int%2Fclip-xai-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzer0int%2Fclip-xai-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzer0int%2Fclip-xai-game/lists"}