Text Generation
Transformers
PyTorch
English
llama
code
code-assistant
helios
conversational
text-generation-inference
Instructions to use SOTAagi2030/Helios-CodeAssist with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SOTAagi2030/Helios-CodeAssist with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SOTAagi2030/Helios-CodeAssist") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SOTAagi2030/Helios-CodeAssist") model = AutoModelForCausalLM.from_pretrained("SOTAagi2030/Helios-CodeAssist", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SOTAagi2030/Helios-CodeAssist with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SOTAagi2030/Helios-CodeAssist" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SOTAagi2030/Helios-CodeAssist", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SOTAagi2030/Helios-CodeAssist
- SGLang
How to use SOTAagi2030/Helios-CodeAssist with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "SOTAagi2030/Helios-CodeAssist" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SOTAagi2030/Helios-CodeAssist", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "SOTAagi2030/Helios-CodeAssist" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SOTAagi2030/Helios-CodeAssist", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use SOTAagi2030/Helios-CodeAssist with Docker Model Runner:
docker model run hf.co/SOTAagi2030/Helios-CodeAssist
File size: 2,840 Bytes
1292a30 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | ---
license: mit
language:
- en
library_name: transformers
pipeline_tag: text-generation
tags:
- code
- code-assistant
- helios
- text-generation
---
# Helios CodeAssist
<p align="center">
<img src="assets/logo.png" width="72%" alt="Helios CodeAssist" />
</p>
Helios CodeAssist is an open-weight language model specialised for software
engineering assistance: inline completion, unit-test generation, docstring
drafting and small-scale refactoring. It is released by the Helios Assist team
under the MIT license.
This model card describes training run `run_2025_06_c`, which continues the
`Helios-Qwen2.5-Coder-1.5B` base model.
## Evaluation Results
The scores below are taken from the run's internal evaluation report on the
held-out developer benchmark.
| Metric | Value |
|---|---|
| Code completion F1 | 0.758 |
| Unit-test pass rate | 0.733 |
| Docstring quality | 0.722 |
| Refactor accuracy | 0.706 |
| Release score | 0.730 |
| Safety violation rate | 0.006 |
| p95 latency (ms) | 377 |
## Intended Use
Helios CodeAssist is intended for developer tooling inside an IDE or code review
pipeline: suggesting the next line of a function, proposing unit tests for an
existing function, generating documentation strings, and performing small,
localised refactors. It is optimised for English source code and English
developer instructions.
## Out-of-Scope Use
The model is not intended for autonomous repository-wide changes, for
production deployment without human review, or for generating malicious code.
It has not been aligned for customer-facing conversations and should not be used
as a general-purpose chatbot.
## Training Data
The model was fine-tuned on a curated mixture of permissively licensed source
code and synthetic instruction pairs. The underlying training corpus was
de-duplicated and filtered for licence compatibility before fine-tuning, and
personally identifiable information was removed.
## Files in This Repository
- `config.json` - model configuration for the released run
- `pytorch_model.bin` - model weights
- `tokenizer_config.json` - tokenizer configuration
- `assets/logo.png` - project logo used by this card
- `release_decision.json` - audit record used to select this run
- `LICENSE` - MIT license text
## Limitations
Evaluation scores reflect the internal held-out benchmark and may not transfer
to other languages, frameworks or repository conventions. The model can produce
plausible-looking but incorrect code; every suggestion should be reviewed and
tested before it is merged. Latency figures were measured on the training
cluster and will differ on other hardware.
## License
This model and its card are distributed under the MIT license. See `LICENSE`.
## Contact
Questions about the release can be sent to the Helios Assist team at
helios-assist@example.com.
|