GithubHelp home page GithubHelp logo

ahnsun / merlin Goto Github PK

View Code? Open in Web Editor NEW
80.0 80.0 0.0 1.26 MB

[ECCV2024] Official code implementation of Merlin: Empowering Multimodal LLMs with Foresight Minds

Home Page: https://ahnsun.github.io/merlin/

License: Other

Python 99.44% Shell 0.56%
mllm

merlin's People

Contributors

ahnsun avatar kosumosul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

merlin's Issues

about training cost

what's the difference between Merlin and Merlin-Chat models?
How long time does it cost to train the model?
how many GPUs does the model need to train?

To use vicuna model as text decoder

Hello,

Your project seems really interesting.
I have a question regarding the execution of sh playground/merlin/clip-large+conv+vicuna-v15-7b/pretrain.sh.
In the file, it says --model_name_or_path /path/models--lmsys--vicuna-7b-v15 \.
If I want to use lmsys/vicuna-7b-v15 as the text decoder, do I need to download the models manually, place them in a specific path, and modify the path accordingly?
Should I download all the files and place them in a specific path as shown in the picture below?
스크린샷 2024-06-25 오전 1 23 45
I would appreciate it if you could provide a guide on how to set up the vicuna-7b-v15 model.

And could you please let me know the required CUDA version to run this file?
I encountered an error stating that the libcudart.so.12 file is missing, so I set up the environment with CUDA 12.0. However, I got an error indicating that the version does not match with flash-attn. When I switched to CUDA 11.7, I again encountered the missing libcudart.so.12 file error.

Thank you.

how to launch local inference

I tried
python -m mmgpt.engine.serve.cli --model-path ./mmgpt/engine/serve/merlin --image-file ./mmgpt/engine/serve/examples/waterview.jpg

but there is error

File "/merlin-main/mmgpt/engine/serve/cli.py", line 53, in main
image_tensor = image_processor.preprocess(image, return_tensors='pt')['pixel_values'].half().cuda()
AttributeError: 'NoneType' object has no attribute 'preprocess'

Release dataset

Hi,
I'm so fascinated with your work, Merlin!
Do you have any plan to release the reformatted datasets used during the pretraining/SFT?

Thank you in advance!

How can I get the clip-vit-large-patch14-448

Hello,
Your project is interesting.
But the link you gave in the readme is for clip-vit-large-patch14-224, and I can't find clip-vit-large-patch14-448 on the huggingface, can you updata the link for the clip-vit-large-patch14-448?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.