Skip to content

Make text finetuning version of Trompt, just like "transformers_text.py" for FTtransformer? #310

Closed

Description

@hohoCode

Can you also add an example of using text finetuning (better with LORA) version of Trompt, just like "transformers_text.py" for FTtransformer?

Better to support larger models LORA finetuning such as LLMs.

This will be very useful to compare FTtransformer and Trompt after text finetuned embeddings.

Thanks!

Activity

  1. self-assigned this
    on Dec 19, 2023
  2. zechengz commented on Dec 19, 2023

    @zechengz
    Member

    Thanks for creating this issue. We will look into this soon.

  3. zechengz commented on Dec 21, 2023

    @zechengz
    Member

    Hi @hohoCode , thanks for the feedback again.
    Do you want to make a contribution to enable passing stype_encoder_dict, such as the one in the FTTransformer

    col_names_dict: dict[torch_frame.stype, list[str]],
    stype_encoder_dict: dict[torch_frame.stype, StypeEncoder]

    to the Trompt (then it can use the text embeddings)?
    self.encoders.append(
    StypeWiseFeatureEncoder(
    out_channels=channels,

    Please let me know if you want to make a contribution. Thanks.

  4. weihua916 commented on Dec 22, 2023

    @weihua916
    Contributor

    @hohoCode Thanks for your suggestion! I agree it is interesting. Please feel modify the example code, experiment yourself, and let us know how Trompt performs!

  5. locked and limited conversation to collaborators on Dec 22, 2023
  6. converted this issue into a discussion #315 on Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions