{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":777380806,"defaultBranch":"main","name":"mlx_clip","ownerLogin":"harperreed","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-03-25T18:39:35.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/18504?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1711391995.0","currentOid":""},"activityList":{"items":[{"before":"062157fbd3c10c6e3ff7d7cb4ded37fe75bad580","after":"f56e3ecc72c74c68b6b50eb6f50c3f22fc23fe2c","ref":"refs/heads/main","pushedAt":"2024-03-27T16:52:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"๐ŸŽ‰ Woot woot! pytest is in da house! ๐Ÿ ๐Ÿ”ง\n\nSummary of changes:\n- requirements.txt got a new friend: pytest! ๐Ÿ๐Ÿงช Because testing is fucking important, ya know?\n- test_mlx_clip.py was born! ๐Ÿ‘ถ It's here to make sure this CLIP stuff actually works and doesn't blow up in our faces ๐Ÿ’ฅ๐Ÿ˜…\n- Added a bunch of kickass tests:\n - test_convert_weights(): Makes sure we can convert the HuggingFace weights without shit hitting the fan ๐Ÿ’ฉ๐Ÿ™…โ€โ™‚๏ธ\n - test_clip_image_processor(): Checks that the image processor can handle its bizness and process images like a boss ๐Ÿ–ผ๏ธ๐Ÿ˜Ž\n - test_clip_tokenizer(): Puts the tokenizer through its paces to make sure it can tokenize text without having a fucking meltdown ๐Ÿค–๐Ÿคฏ\n - test_clip_model(): Gives the CLIP model a workout and checks that it can handle both images and text without shitting the bed ๐Ÿ›๏ธ๐Ÿ’ฉ\n - test_mlx_clip_end_to_end(): Takes this CLIP thing for a spin from start to finish to make sure it's not just a pretty face and actually does what it's supposed to do ๐Ÿ˜๐Ÿ‘\n\nSo yeah, we got some solid testing coverage now! ๐Ÿ’ช No more flying by the seat of our pants and hoping for the best ๐Ÿ™๐Ÿ˜ฌ Let's test the crap out of this and make sure it's solid AF! ๐Ÿงฑ๐Ÿ’ฏ","shortMessageHtmlLink":"๐ŸŽ‰ Woot woot! pytest is in da house! ๐Ÿ ๐Ÿ”ง"}},{"before":"f182ff171251947c971c2e9f05b3a82de7333fa4","after":"062157fbd3c10c6e3ff7d7cb4ded37fe75bad580","ref":"refs/heads/main","pushedAt":"2024-03-27T02:08:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"Incremented version number","shortMessageHtmlLink":"Incremented version number"}},{"before":"0e6c4972b2e7b16141b803e46034359bcbcd9ed2","after":"f182ff171251947c971c2e9f05b3a82de7333fa4","ref":"refs/heads/main","pushedAt":"2024-03-27T02:08:03.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"Merge branch 'main' of github.com:harperreed/mlx-clip","shortMessageHtmlLink":"Merge branch 'main' of github.com:harperreed/mlx-clip"}},{"before":"1ecd02562dee1afde184dc10e99d615a4c32b2cd","after":"0e6c4972b2e7b16141b803e46034359bcbcd9ed2","ref":"refs/heads/main","pushedAt":"2024-03-26T18:59:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"fe07b28698401dfc27e782262433f98db0e8d6ec","after":"1ecd02562dee1afde184dc10e99d615a4c32b2cd","ref":"refs/heads/main","pushedAt":"2024-03-26T18:59:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"f4dc887c7eff8d096e5a5624e25f43b5d84ae53e","after":"fe07b28698401dfc27e782262433f98db0e8d6ec","ref":"refs/heads/main","pushedAt":"2024-03-26T18:55:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"TYOP! lol","shortMessageHtmlLink":"TYOP! lol"}},{"before":"369eac5f257a0d88e99902ad4815cb5f4e90f8d8","after":"f4dc887c7eff8d096e5a5624e25f43b5d84ae53e","ref":"refs/heads/main","pushedAt":"2024-03-26T18:52:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"๐ŸŽ‰ Woohoo! We've got ourselves a brand spankin' new setup.py file! ๐Ÿฅณ\n\n๐Ÿ“ฆ This bad boy sets up our `mlx_clip` package so we can share it with the world! ๐ŸŒ\n\nHere's what's going down:\n- It's using `setuptools` to work its magic ๐Ÿช„\n- Grabs all the required packages from `requirements.txt` ๐Ÿ“œ\n- Sets the package name to `mlx_clip` (clever, eh? ๐Ÿ˜‰)\n- Version 0.1 baby, gotta start somewhere! ๐Ÿฃ\n- Finds all the packages automagically ๐Ÿ”\n- Adds a short and sweet description about using CLIP on Apple Silicon ๐ŸŽ\n- Pulls in that sexy `README.md` for a longer description ๐Ÿ“–\n- Gives a shoutout to the mastermind behind this, Harper Reed ๐Ÿ™Œ\n- Links to the GitHub repo (you'll wanna update that btw) ๐Ÿ”—\n- Makes sure all those requirements are installed, cuz we ain't got time for missing dependencies! ๐Ÿ˜ค\n\nThere ya have it, the setup.py file that's gonna take your package to the moon! ๐Ÿš€๐ŸŒ™","shortMessageHtmlLink":"๐ŸŽ‰ Woohoo! We've got ourselves a brand spankin' new setup.py file! ๐Ÿฅณ"}},{"before":"c40aa0d2d607b048aba754a368fc6b1923dc2a43","after":"369eac5f257a0d88e99902ad4815cb5f4e90f8d8","ref":"refs/heads/main","pushedAt":"2024-03-26T18:48:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"๐ŸŽ‰ Woohoo! We got some changes up in here! ๐ŸŽ‰\n\nSummary of changes:\n- Knocked out that pesky print statement for image_embeddings in example.py ๐Ÿ’€\n- Fixed a silly typo in the image_ecoder method name in mlx_clip/__init__.py - it's now image_encoder like it should be! ๐Ÿ“๐Ÿ˜…\n\nThe deets:\n- In example.py, we commented out the line that printed the image_embeddings. Guess someone didn't want to see that shit anymore! ๐Ÿ™ˆ\n- Over in mlx_clip/__init__.py, some genius (definitely not me ๐Ÿ˜‡) accidentally named the image_ecoder method with a missing 'n'. Crisis averted, it's now correctly named as image_encoder! Phew! ๐Ÿ˜ฎโ€๐Ÿ’จ\n\nSo there you have it folks - a couple of minor but crucial changes to keep this codebase in tip-top shape! ๐ŸŒŸ๐Ÿ’ฏ Let's keep on keepin' on and make sure we don't let any more sneaky typos or unwanted print statements slip through the cracks! ๐Ÿ’ช๐Ÿ˜Ž","shortMessageHtmlLink":"๐ŸŽ‰ Woohoo! We got some changes up in here! ๐ŸŽ‰"}},{"before":"802109a4207da0a31ae46f261c172455881d8d17","after":"c40aa0d2d607b048aba754a368fc6b1923dc2a43","ref":"refs/heads/main","pushedAt":"2024-03-25T19:08:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"some documentation and various tweaks","shortMessageHtmlLink":"some documentation and various tweaks"}},{"before":"627384ef484ce84c4caceb9f7ba5f451fd9e2400","after":"802109a4207da0a31ae46f261c172455881d8d17","ref":"refs/heads/main","pushedAt":"2024-03-25T18:45:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"updated README","shortMessageHtmlLink":"updated README"}},{"before":"c29cf97ea922793d238bea15a597af761ea9a640","after":"627384ef484ce84c4caceb9f7ba5f451fd9e2400","ref":"refs/heads/main","pushedAt":"2024-03-25T18:44:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"updated README","shortMessageHtmlLink":"updated README"}},{"before":"7826d98746d6619a2e7c81a58f1f72c71e260f63","after":"c29cf97ea922793d238bea15a597af761ea9a640","ref":"refs/heads/main","pushedAt":"2024-03-25T18:40:48.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"Merge branch 'main' of github.com:harperreed/mlx-clip","shortMessageHtmlLink":"Merge branch 'main' of github.com:harperreed/mlx-clip"}},{"before":"70c112f7eb814401d17b2f6ab41228b34088edcb","after":"7826d98746d6619a2e7c81a58f1f72c71e260f63","ref":"refs/heads/main","pushedAt":"2024-03-25T18:40:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"Create LICENSE","shortMessageHtmlLink":"Create LICENSE"}},{"before":null,"after":"70c112f7eb814401d17b2f6ab41228b34088edcb","ref":"refs/heads/main","pushedAt":"2024-03-25T18:39:55.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"harperreed","name":"Harper Reed","path":"/harperreed","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18504?s=80&v=4"},"commit":{"message":"๐Ÿšจ Exciting changes incoming! ๐ŸŽ‰ Get ready to rock this codebase! ๐Ÿค˜\n\nSummary of changes:\n- ๐Ÿ™ˆ .gitignore: Added mlx_model to the list of ignored files/directories. No more accidentally committing that shit! ๐Ÿ’ฉ\n- ๐Ÿ“ assets/README.md: Added attribution for the cat and dog images. Giving credit where it's due, yo! ๐Ÿ‘\n- ๐Ÿ example.py: Refactored the code to use more descriptive function names (image_ecoder and text_encoder) and added comments explaining what the hell is going on. ๐Ÿง ๐Ÿ’ก\n- ๐ŸŽ mlx_clip/__init__.py:\n - Added a new function download_and_convert_weights to download and convert the model weights if the model directory doesn't exist. No more excuses for missing files! ๐Ÿ˜ค\n - Updated load_clip_model to call download_and_convert_weights if the model directory is missing. We got your back! ๐Ÿ’ช\n - Renamed generate_image_embedding to image_ecoder and generate_text_embedding to text_encoder. Because why the fuck not? ๐Ÿคทโ€โ™‚๏ธ\n- ๐Ÿ”„ mlx_clip/convert.py: Added a new file with functions to convert the model weights from PyTorch to MLX format. It's like magic, but with more math! ๐Ÿง™โ€โ™‚๏ธโœจ\n\nThese changes make the code more readable, user-friendly, and just overall more badass! ๐Ÿ˜Ž So go forth and do some awesome shit with this! ๐Ÿš€","shortMessageHtmlLink":"๐Ÿšจ Exciting changes incoming! ๐ŸŽ‰ Get ready to rock this codebase! ๐Ÿค˜"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEIPKDmwA","startCursor":null,"endCursor":null}},"title":"Activity ยท harperreed/mlx_clip"}