birgermoell / gemma-2-2b-it-4bit-eir-swedish

huggingface.co
Total runs: 23
24-hour runs: 0
7-day runs: -1
30-day runs: 14
Model's Last Updated: April 13 2026
text-generation

Introduction of gemma-2-2b-it-4bit-eir-swedish

Model Details of gemma-2-2b-it-4bit-eir-swedish

birgermoell/gemma-2-2b-it-4bit-eir-swedish

This is a public MLX-fused Swedish fine-tune of mlx-community/gemma-2-2b-it-4bit for the Eir app.

The model was fine-tuned to help users make sense of Swedish clinical notes in .eir -style records. The intended behavior is:

  • explain clinical notes in plain Swedish
  • surface the most relevant findings without overclaiming
  • suggest practical next steps or useful follow-up questions
  • cite source entries using <JOURNAL_ENTRY id="..."/> where possible
Training summary
  • Base model: mlx-community/gemma-2-2b-it-4bit
  • Fine-tuning method: LoRA
  • Runtime: mlx-lm
  • Training data: synthetic but realistic Swedish primary-care .eir timelines and supervised answers
  • Current synthetic dataset size: 31 train / 5 valid / 6 test

This repository contains the fused model weights, so it can be loaded directly by MLX clients without a separate adapter step.

Evaluation snapshot

Held-out synthetic test split:

  • Base model: token_f1=0.2351 , citation_f1=0.0000
  • Fine-tuned model: token_f1=0.2874 , citation_f1=0.3333

These numbers are small-sample and synthetic-only, but they were enough to confirm the fine-tune learned task-specific citation and note-explanation behavior.

Use with MLX
from mlx_lm import load, generate

model, tokenizer = load("birgermoell/gemma-2-2b-it-4bit-eir-swedish")

messages = [
    {
        "role": "user",
        "content": "Förklara journalanteckningen på enkel svenska och säg vad som verkar viktigast att följa upp."
    }
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
response = generate(model, tokenizer, prompt=prompt, max_tokens=256, verbose=False)
print(response)
Use in the Eir app

In Eir Settings:

  1. Open Settings
  2. Go to the local models section
  3. Choose Add Model...
  4. Enter birgermoell/gemma-2-2b-it-4bit-eir-swedish

The app can then download and load this model as an on-device MLX model.

Limitations
  • This is an early research model, not a medical device
  • Training data is currently synthetic, not real de-identified patient data
  • It should be used for explanation and support, not diagnosis
  • Outputs still need stronger factuality and safety evaluation before real deployment

Runs of birgermoell gemma-2-2b-it-4bit-eir-swedish on huggingface.co

23
Total runs
0
24-hour runs
-1
3-day runs
-1
7-day runs
14
30-day runs

More Information About gemma-2-2b-it-4bit-eir-swedish huggingface.co Model

More gemma-2-2b-it-4bit-eir-swedish license Visit here:

https://choosealicense.com/licenses/gemma

gemma-2-2b-it-4bit-eir-swedish huggingface.co

gemma-2-2b-it-4bit-eir-swedish huggingface.co is an AI model on huggingface.co that provides gemma-2-2b-it-4bit-eir-swedish's model effect (), which can be used instantly with this birgermoell gemma-2-2b-it-4bit-eir-swedish model. huggingface.co supports a free trial of the gemma-2-2b-it-4bit-eir-swedish model, and also provides paid use of the gemma-2-2b-it-4bit-eir-swedish. Support call gemma-2-2b-it-4bit-eir-swedish model through api, including Node.js, Python, http.

gemma-2-2b-it-4bit-eir-swedish huggingface.co Url

https://huggingface.co/birgermoell/gemma-2-2b-it-4bit-eir-swedish

birgermoell gemma-2-2b-it-4bit-eir-swedish online free

gemma-2-2b-it-4bit-eir-swedish huggingface.co is an online trial and call api platform, which integrates gemma-2-2b-it-4bit-eir-swedish's modeling effects, including api services, and provides a free online trial of gemma-2-2b-it-4bit-eir-swedish, you can try gemma-2-2b-it-4bit-eir-swedish online for free by clicking the link below.

birgermoell gemma-2-2b-it-4bit-eir-swedish online free url in huggingface.co:

https://huggingface.co/birgermoell/gemma-2-2b-it-4bit-eir-swedish

gemma-2-2b-it-4bit-eir-swedish install

gemma-2-2b-it-4bit-eir-swedish is an open source model from GitHub that offers a free installation service, and any user can find gemma-2-2b-it-4bit-eir-swedish on GitHub to install. At the same time, huggingface.co provides the effect of gemma-2-2b-it-4bit-eir-swedish install, users can directly use gemma-2-2b-it-4bit-eir-swedish installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

gemma-2-2b-it-4bit-eir-swedish install url in huggingface.co:

https://huggingface.co/birgermoell/gemma-2-2b-it-4bit-eir-swedish

Url of gemma-2-2b-it-4bit-eir-swedish

gemma-2-2b-it-4bit-eir-swedish huggingface.co Url

Provider of gemma-2-2b-it-4bit-eir-swedish huggingface.co

birgermoell
ORGANIZATIONS

Other API from birgermoell

huggingface.co

Total runs: 52
Run Growth: 51
Growth Rate: 100.00%
Updated:September 23 2026
huggingface.co

Total runs: 27
Run Growth: 10
Growth Rate: 41.67%
Updated:March 21 2024
huggingface.co

Total runs: 24
Run Growth: 24
Growth Rate: 100.00%
Updated:September 23 2026
huggingface.co

Total runs: 10
Run Growth: -4
Growth Rate: -44.44%
Updated:April 03 2024