Skip to content

NExT-Chat: An LMM for Chat, Detection and Segmentation

License

Notifications You must be signed in to change notification settings

tmukande-debug/NExT-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

NExT-Chat

NExT-Chat: An LMM for Chat, Detection and Segmentation

Easy Run

I current make an easy run. The inference code will be released soon (this week).

Please install pip install modelscope. Then run:

from modelscope import pipeline
pipe = pipeline('my-nextchat-task', 'ZhangAo6/nextchat', model_size="7b") # 7b model takes around 21G GPU mem, 13b takes around 35G GPU mem
response, ret_image = pipe({"text": "xxxx?", "image": "xxx.jpg"})
# response: the text answer
# ret_image: image annotated with boxes and masks

About

NExT-Chat: An LMM for Chat, Detection and Segmentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published