Fine tuning models for niche languages/frameworks to use in Cursor

Hello, I use a niche language that compiles to JS called Imba. Cursor still works well, but it’s not on the level of pure JS or React. I don’t imagine it could get as good as React with any amount of prompting or fine tuning, but any improvement would be nice. Does anyone have any tips for this kind of use case? Supplying a document in cursor rules still leads to quite a few basic errors when trying to create files with the composer.

Is fine tuning a good option here? Is that use case supported by cursor? As in, if I fine tune 4o mini, I could add the fine tuned model using my API key and a custom URL?

Any comments are appreciated. Thank you.

1 Like