Helios CodeAssist: An open AI model for developer support
1 min readupdated
Helios CodeAssist is an open AI model designed to assist with programming tasks such as code auto-completion, unit test generation, docstring creation, and local refactoring. Building upon the Helios-Qwen2.5-Coder-1.5B base model, it is distributed under the MIT license. It is optimized for English-language code and developer instructions within IDEs or code review pipelines, helping programmers speed up routine tasks like writing tests and documenting functions.
Key features
- Built to assist with writing and completing code directly inside your development environment.
- Fine-tuned from the Helios-Qwen2.5-Coder-1.5B model by the Helios Assist team.
- Features a training dataset filtered for safety and license compliance.
- Delivers low latency (p95 latency of 377 ms on the training cluster).
What you can do
- Integrate the model into your code editor to generate real-time auto-completions.
- Automatically create unit tests for existing functions.
- Quickly generate docstrings for your codebase.
- Perform small-scale local code refactoring.
Example
The model is used via the transformers library for inference and prompt generation in code or documentation.
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("SOTAagi2030/Helios-CodeAssist")
model = AutoModelForCausalLM.from_pretrained("SOTAagi2030/Helios-CodeAssist")
inputs = tokenizer("def calculate_sum(a, b):", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Read more
DetailsCode completion F1: 0.758
Unit test pass rate: 0.733
Docstring quality: 0.722
Refactoring accuracy: 0.706
License: MIT










Comments