Skip to content

Can we use unsloth to continual pretrain vision model? #1356

Closed

Description

@zenyanbo

Hello. I haven't seen any similar guide and discussions in the document or issues. So, can we use only images to pre-train vision models?

Activity

  1. shimmyshimmer commented on Dec 4, 2024

    @shimmyshimmer
    Member

    Yes I'm pretty sure you can!

  2. danielhanchen commented on Dec 4, 2024

    @danielhanchen
    Member

    Yes!! Just re-load the model name you saved it as

  3. zenyanbo commented on Dec 9, 2024

    @zenyanbo
    Author

    Thank you for your outstanding work. I feel relieved after getting your confirmation. So as long as I follow https://huggingface.co/docs/transformers/preprocessing to format and tokenize the dataset, I can continual pretrain vision models like pixtral and llama vision, right? Is there anything else I need to pay attention to?

  4. danielhanchen commented on Dec 12, 2024

    @danielhanchen
    Member

    @zenyanbo Yes - use the notebooks we have but change the model name to your saved one

  5. zenyanbo commented on Dec 12, 2024

    @zenyanbo
    Author

    @zenyanbo Yes - use the notebooks we have but change the model name to your saved one

    Thank you. I will try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions