Skip to content

Hello, can this be used in English? textbsr doesn't work very well for English. #17

Open

Description

@lhzwangwei
No description provided.

Activity

  1. csxmli2016 commented on Jan 4, 2024

    @csxmli2016
    Owner

    No description provided.

    Yes. The released model is mainly trained using Chinese. If the application scenario is English, it is better to fine-tune it in English and Number only. Chinese contains several thousand characters, which is more difficult than English.

  2. wojiaoyanmin commented on Mar 13, 2024

    @wojiaoyanmin

    Thanks, But what if both Chinese and English are used in the application scenario?

  3. csxmli2016 commented on Mar 13, 2024

    @csxmli2016
    Owner

    Thanks, But what if both Chinese and English are used in the application scenario?

    It is better to fine-tune the model by combining English characters and Chinese but with a relatively higher possibility for English characters.

  4. wojiaoyanmin commented on Mar 14, 2024

    @wojiaoyanmin

    The max character length of the model is 16, I think that's not enough for English characters, simplely change the max charater length may not work well, is there any solutions?

  5. csxmli2016 commented on Mar 14, 2024

    @csxmli2016
    Owner

    The max character length of the model is 16, I think that's not enough for English characters, simplely change the max charater length may not work well, is there any solutions?

    The max character length of 16 is mainly designed for Chinese characters, which cover larger spaces than English letters. So if you want to use it in the English characters, it is better to fine-tune on longer character length.

  6. wojiaoyanmin commented on Mar 19, 2024

    @wojiaoyanmin

    The max character length of 16 is mainly designed for Chinese characters, which cover larger spaces than English letters. So if you want to use it in the English characters, it is better to fine-tune on longer character length.

    Thankyou! Have you ever tried this pipeline? Did it work well?

  7. csxmli2016 commented on Mar 19, 2024

    @csxmli2016
    Owner

    The max character length of 16 is mainly designed for Chinese characters, which cover larger spaces than English letters. So if you want to use it in the English characters, it is better to fine-tune on longer character length.

    Thankyou! Have you ever tried this pipeline? Did it work well?

    You can see that only the character location and classification are related to the character length.
    As for the SR process, we embed the generative structure prior into each LR character. This process has no relationship with the character length.
    So I think it would work well.

  8. wojiaoyanmin commented on Mar 19, 2024

    @wojiaoyanmin

    The max character length of 16 is mainly designed for Chinese characters, which cover larger spaces than English letters. So if you want to use it in the English characters, it is better to fine-tune on longer character length.

    Thankyou! Have you ever tried this pipeline? Did it work well?

    You can see that only the character location and classification are related to the character length. As for the SR process, we embed the generative structure prior into each LR character. This process has no relationship with the character length. So I think it would work well.

    Thank you very much!!

  9. wojiaoyanmin commented on Mar 30, 2024

    @wojiaoyanmin

    Hi.can you provide some suggestions about how to set these parameters when finetune the model with more English characters?

  10. csxmli2016 commented on Mar 30, 2024

    @csxmli2016
    Owner

    Hi.can you provide some suggestions about how to set these parameters when finetune the model with more English characters?

    Hi, Just replace the corpus with English Characters. See the function of get_text() here. It would be really simple than Chinese Character.

  11. wojiaoyanmin commented on Mar 30, 2024

    @wojiaoyanmin

    sorry,I forget to upload the picture, I mean the parameters below. My main goal in fine-tuning the model was to make it perform well in the Chinese scene at the same time.
    image

  12. csxmli2016 commented on Mar 30, 2024

    @csxmli2016
    Owner

    sorry,I forget to upload the picture, I mean the parameters below. My main goal in fine-tuning the model was to make it perform well in the Chinese scene at the same time. image

    The parameter looks fine. The SR branch has already performed well. You may pay more attention to the ocr and encoder branckh, using a slightly larger learning rate.

  13. wojiaoyanmin commented on Mar 30, 2024

    @wojiaoyanmin
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