Downloads · 30 days
18
1% of all-time downloads
zwli/GroundingGPT
GroundingGPT is a text generation model from zwli. Use it when you need the model to write or continue text. It is set up for transformers.
<a href='https://lzw-lzw.github.io/GroundingGPT.github.io/'<img src='https://img.shields.io/badge/Project-Page-Green'</a <a href='https://arxiv.org/abs/2401.06071'<img src='https://img.shields.io/badge/Paper-Arxiv-red…
Downloads · 30 days
18
1% of all-time downloads
All-time downloads
2K
Public
Repo size
36.4 GB
Likes
4
Public
Click a slice to open those files.
.bin18.2 GB · 100%
From the Hugging Face model README
<a href='https://lzw-lzw.github.io/GroundingGPT.github.io/'><img src='https://img.shields.io/badge/Project-Page-Green'></a> <a href='https://arxiv.org/abs/2401.06071'><img src='https://img.shields.io/badge/Paper-Arxiv-red'></a>
GroundingGPT is an end-to-end multimodal grounding model that accurately comprehends inputs and possesses robust grounding capabilities across multi modalities,including images, audios, and videos. To address the issue of limited data, we construct a diverse and high-quality multimodal training dataset. This dataset encompasses a rich collection of multimodal data enriched with spatial and temporal information, thereby serving as a valuable resource to foster further advancements in this field. Extensive experimental evaluations validate the effectiveness of the GroundingGPT model in understanding and grounding tasks across various modalities.
More details are available in our project page.
git clone https://github.com/lzw-lzw/GroundingGPT.git
cd GroundingGPT
conda create -n groundinggpt python=3.10 -y
conda activate groundinggpt
pip install -r requirements.txt
pip install flash-attn --no-build-isolation
./ckpt../ckpt/imagebind../ckpt.dataset.Download GroundingGPT-7B and change the model_path in GroundingGPT/lego/serve/cli.py
Use the script to inference
python3 lego/serve/cli.py
Download GroundingGPT-7B and change the model_path in line 141 of GroundingGPT/lego/serve/gradio_web_server.py
Use the script to launch a gradio web demo
python3 lego/serve/gradio_web_server.py
If you find GroundingGPT useful for your your research and applications, please cite using this BibTeX:
@article{li2024lego,
title={LEGO: Language Enhanced Multi-modal Grounding Model},
author={Li, Zhaowei and Xu, Qi and Zhang, Dong and Song, Hang and Cai, Yiqing and Qi, Qi and Zhou, Ran and Pan, Junting and Li, Zefeng and Vu, Van Tu and others},
journal={arXiv preprint arXiv:2401.06071},
year={2024}
}