You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hello, can this be used in English? textbsr doesn't work very well for English. #17
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.
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 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.
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?
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.
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.
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.
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.
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.
------------------ Original ------------------
From: csxmli2016 ***@***.***>
Date: Sat,Mar 30,2024 11:38 AM
To: csxmli2016/MARCONet ***@***.***>
Cc: justababy ***@***.***>, Comment ***@***.***>
Subject: Re: [csxmli2016/MARCONet] Hello, can this be used in English? textbsr doesn't work very well for English. (Issue #17)
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.
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
Activity
csxmli2016 commentedon Jan 4, 2024
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.
wojiaoyanmin commentedon Mar 13, 2024
Thanks, But what if both Chinese and English are used in the application scenario?
csxmli2016 commentedon Mar 13, 2024
It is better to fine-tune the model by combining English characters and Chinese but with a relatively higher possibility for English characters.
wojiaoyanmin commentedon Mar 14, 2024
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?
csxmli2016 commentedon Mar 14, 2024
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.
wojiaoyanmin commentedon Mar 19, 2024
Thankyou! Have you ever tried this pipeline? Did it work well?
csxmli2016 commentedon Mar 19, 2024
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.
wojiaoyanmin commentedon Mar 19, 2024
Thank you very much!!
wojiaoyanmin commentedon Mar 30, 2024
Hi.can you provide some suggestions about how to set these parameters when finetune the model with more English characters?
csxmli2016 commentedon Mar 30, 2024
Hi, Just replace the corpus with English Characters. See the function of get_text() here. It would be really simple than Chinese Character.
wojiaoyanmin commentedon Mar 30, 2024
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.

csxmli2016 commentedon Mar 30, 2024
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.
wojiaoyanmin commentedon Mar 30, 2024