OneTrainer icon indicating copy to clipboard operation
OneTrainer copied to clipboard

Add more models in captioner

Open tiptinker opened this issue 1 year ago • 9 comments

Describe your use-case.

Image

What would you like to see as a solution?

https://huggingface.co/Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2

Have you considered alternatives? List them here.

No response

tiptinker avatar Mar 08 '25 14:03 tiptinker

No alternatives provided, no justification for why this particular model and how it will help a broad range of users, linked models detailed results go to a 404 and makes no mention of the 'How' and 'What' they did. Nero and I both take the position that if there isnt evidence and lots of it, its usually bullshit.

If you want to PR the code and can provide convincing evidence of this models superiority to other 'Uncensored'/'Unchained' hypebeast style models (that also dont go into detail what they did and provide convincing evidence) then it will probably be considered. Wontfix.

O-J1 avatar Mar 08 '25 15:03 O-J1

There are many models better than blip.

https://huggingface.co/unsloth/Meta-Llama-3.1-8B-bnb-4bit

Image

tiptinker avatar Mar 08 '25 15:03 tiptinker

https://huggingface.co/spaces/fancyfeast/joy-caption-alpha-two

There are tons of captioning models far much better than Blip, I don;t know why OneTrainer still use something from last century.

tiptinker avatar Mar 08 '25 15:03 tiptinker

The captioning tool in OneTrainer was developed when no real alternatives existed. Now that we have dedicated captioning tools like https://github.com/jhc13/taggui/ it doesn't make much sense to put much more effort into the built in captioning tool.

Nerogar avatar Mar 08 '25 15:03 Nerogar

https://huggingface.co/spaces/fancyfeast/joy-caption-alpha-two

There are tons of captioning models far much better than Blip, I don;t know why OneTrainer still use something from last century.

  1. You're speaking as if I'm unaware of these better models—I assure you, I am.
  2. Development takes time and effort, something that is in short supply. If you're unsure why a certain model is still being used, you're always welcome to contribute an implementation and submit a PR.
  3. We all recognize the limitations of BLIP and BLIP2. Captioning in OT exists as a stopgap in place of more specialised tools.
  4. A single screenshot is not sufficient evidence of a model’s superiority to other Llama finetunes. Proper evaluation requires double-blind comparisons across multiple images with rated results. That’s the only way to quantify performance reliably.
  5. I'm currently working on what should be the final rework of the Dataset Tools page, introducing WD v3 (properly) and possibly Moondream2.

I’m not implementing JoyCaption because it's still in alpha, meaning things could change significantly. If you want to use it, I recommend TagGUI or DatasetProcessors, as Nero mentioned. Beyond this once the rework is done, captioning feature requests—aside from potentially adding JC Alpha 3 (or its beta, or its final model)—will not be considered by me, as OT will then have everything it reasonably should, unless of course some model thats worlds apart better comes along.

O-J1 avatar Mar 08 '25 15:03 O-J1

Moondream is good. We really need a captioning tool capable of generating long natural language. Thank you for your hard work.

tiptinker avatar Mar 08 '25 15:03 tiptinker

"Need" is overstating it. There are plenty of software options out there to run it. OT's is just a stopgap. OneTrainer, not OneCaptioner.

O-J1 avatar Mar 08 '25 15:03 O-J1

I'm asking these because I consider OT as an one-stop training tool, do anything with it, from image captioning to training. You are building the Swiss Army Knives of AI training!

tiptinker avatar Mar 08 '25 15:03 tiptinker

Thats not going to happen and Swiss army knives are a jack of all trades, they do all their jobs somewhat mediocrely compared to a dedicated tool for the job.

O-J1 avatar Mar 08 '25 15:03 O-J1