Get Better QML Code Completions with CodeLlama 13B-QML and 7B-QML v3

Today, we released updated versions of the fine-tuned CodeLlama 13B-QML and 7B -QML models. The updated versions include the first skills to complete code for Qt Quick enhancements in Qt 6.9 and Qt 6.10.

Due to further training data optimization, the CodeLlama 13B-QML v3 model, targeted for private cloud deployments, is scoring an 89% success rate on the QML100FIM benchmark. In comparison, version 2.0 of CodeLlama 13B-QML scored 86%.

CodeLlama 7B-QML v3, ideal for local deployments on your computer, is scoring a 80% benchmarking result compared to the previous version with 79%.

Qt 6.9 Support

We have enhanced the training data with examples for the new QML types RectangularShadow, FontInfo, SafeArea, and ContextMenu. The training data for some new QML types, such as FontInfo and SafeArea, is still limited, but it's a start.

CodeCompletionRectangularShadowClip-converted

Qt 6.10 Support

We are also providing initial support for code completion for QML enhancements in the upcoming Qt 6.10 release. This includes some training data on new QML types such as Synchronizer and FlexBoxLayout. Because these enhancements are still in Technology Preview, more training content will be available at a later stage.

Where to Get the Models?

Both models are available from Ollama and HuggingFace free of charge for anybody. For example, you can find CodeLlama 7B-QML from Ollama here: CodeLlama 7B-QML.

  

Meanwhile:

  • We also added some training data for Qt Application Manager code completion.
  • We fixed some bugs in the training data regarding missing brackets and other minor issues.

Blog Topics:

Comments