Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can it work with phone number ? #13

Closed
KaiserImmortal opened this issue May 1, 2022 · 7 comments
Closed

Can it work with phone number ? #13

KaiserImmortal opened this issue May 1, 2022 · 7 comments

Comments

@KaiserImmortal
Copy link

I trained the model with billboards but when I inference it, it doesn't work well with sequences of numbers or phone numbers. Can you help me? Thanks very much.

@simplify23
Copy link
Owner

i think you can refer to this #10. Set phone numbers as your dict.

@KaiserImmortal
Copy link
Author

KaiserImmortal commented May 1, 2022

i think you can refer to this #10. Set phone numbers as your dict.
@simplify23 Sorry, you seem to be misunderstanding my question. In my dict.txt there are numeric characters from 0 to 9. I would like to ask you if your model can work with phone number sequence strings?. When I inference, it only recognizes the first numbers of the sequence, the second part is generated or incorrect. Although it still detects enough numeric characters, it fails to recognize the last numbers in the number sequence. Thanks

@KaiserImmortal
Copy link
Author

Example:
GT: 0123526810
Pre: 0123456789

@simplify23
Copy link
Owner

Our model can fully recognize numbers, even with the previous dictionary. You can fine-tune the pre-trained model for debugging to determine where the error occurred.

@KaiserImmortal
Copy link
Author

KaiserImmortal commented May 1, 2022

Our model can fully recognize numbers, even with the previous dictionary. You can fine-tune the pre-trained model for debugging to determine where the error occurred.

With 250 characters both numbers and letters, which part of the model should I fine tune. Can you suggest?

@simplify23
Copy link
Owner

simplify23 commented May 1, 2022

Example: GT: 0123526810 Pre: 0123456789

I guess you need more training datasets. If you just need numbers, you can predict step by step with pre-train model like <s> -> <s>, 0 -> .... -> <s> 0,,1,2,3,4,5,5,6,7,8,9,<end>. I hope it can help you.

@KaiserImmortal
Copy link
Author

KaiserImmortal commented May 1, 2022

Example: GT: 0123526810 Pre: 0123456789

I guess you need more training datasets. If you just need numbers, you can predict step by step with pre-train model like <s> -> <s>, 0 -> .... -> <s> 0,,1,2,3,4,5,5,6,7,8,9,<end>. I hope it can help you.

Thank you very much, i just inference with pretrained model and it work well with phone numbers. I will make more dataset and retrain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants