Views
No views yet
📚 Reference: This implementation is based on the mm_clip project from theal_sidrepository.
1git clone https://huggingface.co/AL-GR/Forge-EMB-mmclip
2cd Forge-EMB-mmclip⚠️ Important Note on Large Files: The fileclip.pthis stored using Git LFS. If you see thatclip.pthis only ~134 Bytes on your local machine, it means the actual weights were not downloaded. Please ensure you havegit-lfsinstalled and run:bash1git lfs install 2git lfs pullOr download the files directly via the "Download" button on the website.
pip install torch torchvision transformers matplotlib pillowjupyter notebook CLIP_demo.ipynbclip.pth and process images like test.jpg.| File/Folder | Description |
|---|---|
CLIP_demo.ipynb | The main entry point. Contains inference code and visualization examples. |
clip.pth | The pre-trained model weights (PyTorch checkpoint). |
bert/ | Configuration or tokenizer files related to the text encoder. |
utils/ | Helper functions used by the demo. |
test.jpg | A sample image for testing the model. |
1@article{fu2025forge,
2 title={FORGE: Forming Semantic Identifiers for Generative Retrieval in Industrial Datasets},
3 author={Fu, Kairui and Zhang, Tao and Xiao, Shuwen and Wang, Ziyang and Zhang, Xinming and Zhang, Chenchi and Yan, Yuliang and Zheng, Junjun and others},
4 journal={arXiv preprint arXiv:2509.20904},
5 year={2025}
6}