dora icon indicating copy to clipboard operation
dora copied to clipboard

Create a dora-transformers node that can handle multiple model and modality!

Open haixuanTao opened this issue 9 months ago • 13 comments

In order to facilitate integration of multiple AI models, I think it could be good to have a generic dora-transformers node that can be used to try different AI models.

I think that we can reuse most of the work already made on dora-qwen2.5vl and build on top of it.

haixuanTao avatar Mar 09 '25 15:03 haixuanTao

@dora-bot assign me

Mati-ur-rehman-017 avatar Mar 12 '25 07:03 Mati-ur-rehman-017

Hello @Mati-ur-rehman-017, this issue is now assigned to you!

github-actions[bot] avatar Mar 12 '25 07:03 github-actions[bot]

@Mati-ur-rehman-017 are you still working on this issue

Krishnadubey1008 avatar Mar 14 '25 13:03 Krishnadubey1008

Yes still working on the issue. How do i test a node completely through different inputs? I am currently changing models based on environment variables and to test these models i have to use different inputs. Currently i plan to run python scripts separately for testing. is there a more efficient method? @haixuanTao

Mati-ur-rehman-017 avatar Mar 14 '25 18:03 Mati-ur-rehman-017

Hey, I am just curious. what do you mean different inputs? Are u planning to pass image inputs??(for ex: dora-qwen2.5l) to see the output??. I believe as long as your model is up and running and you are following the chat template example or various chat template/ways you should be good to go. Please correct me if i am wrong!!

MunishMummadi avatar Mar 14 '25 18:03 MunishMummadi

Ok going to work on this this weekend

haixuanTao avatar Mar 14 '25 18:03 haixuanTao

Can I lend a hand? If it's ok!! multi model modality sounds interesting.

MunishMummadi avatar Mar 14 '25 18:03 MunishMummadi

@dora-bot unassign me

Mati-ur-rehman-017 avatar Mar 15 '25 09:03 Mati-ur-rehman-017

Hello @Mati-ur-rehman-017, you have been unassigned from this issue.

github-actions[bot] avatar Mar 15 '25 09:03 github-actions[bot]

Hey, while developing the dora-llama node I had previously made the node using transformers along with support for multiple models, @haixuanTao can I use that for this transformer node, or is there something else needed in this node?

ShashwatPatil avatar Mar 15 '25 12:03 ShashwatPatil

Yes, you can just use the transformers code and just remove all support for dora-llama-cpp-python making them strictly separated.

haixuanTao avatar Mar 15 '25 19:03 haixuanTao

Ok going to work on this this weekend

So I have added a minimal testing dataflow in https://github.com/dora-rs/dora/blob/main/tests/llm/phi4.yaml that we can have a look and test very simple prompt and check for the response.

haixuanTao avatar Mar 16 '25 13:03 haixuanTao

assign me

iamalok123 avatar May 09 '25 15:05 iamalok123