-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Added LaTeX error modification using deepseek-reasoner #15
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
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
N.B., INTENTIONALLY LEFT AS A DRAFT PULL REQUEST FOR THE IMMATURE LLM-BASED CORRECTION APPROACH. |
Why did you remove the guideline “Keep spacing between Chinese-English characters” |
o sorry, that's unintentional. |
Hi, @Gavin-WangSC I saw that your fork is 1 commit ahead of, 7 commits behind. Please make sure it's in sync with the upstream before creating a pr (aka, resolve conflict). |
And just an advice: you are calling For error checking, something like Anyway, thanks for contributing. |
I actually think an LLM based approach is unavoidable, since I don't think there exists any tool that can repair a broken LaTeX equation (from panic). However if narrowed to balance curly braces, I think we can supply our own: still not easy though. |
Agree. However, he is using LLM to fix the article as a whole, rather than the erroneous parts. That's why I marked this PR a draft. |
I would suggest suspending this fix for now. Watch for the frequency of LaTeX errors to see if it is high enough to worth taking time fixing them in an automatic pipeline. |
Fair enough. Or maybe just change the model composing the article. |
Deepseek seems to constantly ignore my prompt telling it the correct way to integrate equation into markdown. It keeps output things like |
The underlying issue is that Markdown is such a weak markup language, which lacks a standard way of writing even math. |
Understood👌 |
No description provided.