CoolFace
Modelpublic

kyutai/helium-1-2b

sourceHugging Facecc-by-sa-4.0updated 1y agoView on Hugging Face
57likes1.6kdownloads
Model Card

Helium-1-2b

<img src="https://huggingface.co/kyutai/moshi-1-2b/resolve/main/helium_sticker.png" width="400">

Model Description

<!-- Provide a longer summary of what this model is. -->

Helium-1 is a lightweight language model with 2B parameters, targeting edge and mobile devices. It supports the 24 official languages of the European Union.

⚠️ Helium-1 is a base model, which was not fine-tuned to follow instructions or human preferences. For most downstream use cases, the model should be aligned with supervised fine-tuning, RLHF or related methods.

  • Developed by: Kyutai
  • Model type: Large Language Model
  • Language(s) (NLP): Bulgarian, Czech, Danish, German, Greek, English, Spanish, Estonian, Finnish, French, Irish, Croatian, Hungarian, Italian, Lithuanian, Latvian, Maltese, Dutch, Polish, Portuguese, Romanian, Slovak, Slovenian, Swedish.
  • License: CC-BY-SA 4.0
  • Terms of use: As a model distilled from Gemma 2, Helium 1 is subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms

<!-- ### Model Sources [optional]

Provide the basic links for the model.

  • Repository: [More Information Needed]
  • Paper [optional]: [More Information Needed]
  • Demo [optional]: [More Information Needed] -->

Uses

<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->

Direct Use

<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->

The intended use of the Helium model is research and development of natural language processing systems, including but not limited to language generation and understanding. The model can be used in Bulgarian, Czech, Danish, German, Greek, English, Spanish, Estonian, Finnish, French, Irish, Croatian, Hungarian, Italian, Lithuanian, Latvian, Maltese, Dutch, Polish, Portuguese, Romanian, Slovak, Slovenian, Swedish. For most downstream use cases, the model should be aligned with supervised fine-tuning, RLHF or related methods.

Out-of-Scope Use

<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->

The model should not be used in other languages than the ones on which it was trained. The model is not intended to be used for any malicious or illegal activities of any kind. The model was not fine-tuned to follow instructions, and thus should not be used as such.

Bias, Risks, and Limitations

Helium-1 is a base language model, which was not aligned to human preferences. As such, the model can generate incorrect, biased, harmful or generally unhelpful content. Thus, the model should not be used for downstream applications without further alignment, evaluations and mitigations of risks.

How to Get Started with the Model

Use the code below to get started with the model.

python
import torch
from transformers import pipeline

model_id = "kyutai/helium-1-2b"

pipe = pipeline(
    "text-generation",
    model=model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto"
)

text = pipe("Hello, today is a great day to")

Training Details

Training Data

Helium-1 was trained on data from Common Crawl, which was preprocessed with the dactory library.

<!--#### Training Hyperparameters

  • Training regime: [More Information Needed] -->

<!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->

Evaluation

<!-- This section describes the evaluation protocols and provides the results. -->

Testing Data

The model was evaluated on MMLU, TriviaQA, NaturalQuestions, ARC Easy & Challenge, Open Book QA, Common Sense QA, Physical Interaction QA, Social Interaction QA, HellaSwag, WinoGrande, Multilingual Knowledge QA, FLORES 200.

Metrics

We report accuracy on MMLU, ARC, OBQA, CSQA, PIQA, SIQA, HellaSwag, WinoGrande. We report exact match on TriviaQA, NQ and MKQA. We report BLEU on FLORES.

English Results
BenchmarkHelium-1HF SmolLM2 (1.7B)Gemma-2 (2.6B)Llama-3.2 (3B)Qwen2.5 (1.5B)
MMLU52.050.453.156.661.0
NQ16.515.117.722.013.1
TQA46.545.449.953.635.9
ARC E82.281.881.184.689.7
ARC C64.664.766.069.077.2
OBQA65.461.464.668.473.8
CSQA63.659.064.465.472.4
PIQA78.577.779.878.976.0
SIQA62.357.561.963.868.7
HS73.673.274.776.967.5
WG66.965.671.272.064.8
Average61.159.362.264.763.6
Multilingual Results
BenchmarkHelium-1Gemma-2 (2.6B)Llama-3.2 (3B)
ARC E71.165.868.2
ARC C54.851.152.6
MMLU44.843.145.3
HS51.949.948.4
FLORES20.621.919.8
MKQA16.517.219.7
Average43.341.542.3

Technical Specifications

Model Architecture and Objective

HyperparameterValue
Model dimension2048
MLP dimension8192
Layers28
Heads16
RoPE theta20,000
Context size4096
Max learning rate2.4e-04
Total steps500,000
Weight decay0.1
Gradient clip1.0
Hardware

The model was trained on 64 NVIDIA H100 Tensor Core GPUs.

Software

The model was trained using Jax.

Citation

Blog post: Helium 1: a modular and multilingual LLM.