Mindket

AMALIA-9B-0626-DPO

Newversion 1 · updated

Overview

Writes and answers in European Portuguese as an open 9B chat model from Portuguese universities, tuned with supervised fine-tuning and DPO. Made for developers and researchers who need a European Portuguese language model.

AMALIA-9B-0626-DPO is a kit in the Writing category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

Runs in
  • Python tools that load Hugging Face language models
  • Windows, macOS or Linux machines for downloading the files
  • Servers that host chat models for an app
Start with
pip install -U huggingface_hub
hf download amalia-llm/AMALIA-9B-0626-DPO

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

AMALIA is an open-source language model aimed at European Portuguese. This DPO version has 9.2B parameters and follows supervised fine-tuning with preference tuning. Portuguese universities and research centres built it together, with government funding, aiming to be effective, sovereign and transparent.

Who it suits

It suits developers, researchers and organizations that need a language model that handles European Portuguese well, and want to inspect how it was trained.

IndustryWho uses itHow they use itExample
SoftwareApp developersBuild chat or writing features in European PortugueseAdd a Portuguese assistant to a product
Public sectorGovernment teamsUse a locally controlled Portuguese modelDraft replies to citizen questions
ResearchNLP researchersStudy a national-language model and its training dataCompare the SFT and DPO versions
PublishingWriters and editorsDraft and revise European Portuguese textRework a paragraph in a more formal tone

If you work in other languages only, or you need up-to-the-minute news, you can skip it, since its knowledge has a cutoff.

Where to use it

It runs wherever you can load a Safetensors text-generation model, on your own computer or server.

  • Python tools that load Hugging Face language models
  • Windows, macOS or Linux machines for downloading the files
  • Servers that host chat models for an app
Use caseWhoWhat they get back
European Portuguese chatDevelopersConversational answers in Portuguese
Instruction followingProduct teamsReplies shaped by clear instructions
Long-context workResearchersSupport for inputs up to 32k tokens

How to set it up

You need Python and enough memory for a 9.2B model, which is about 18.3 GB in BF16. The card part shown here gives no run steps beyond the download.

  1. Install the Hugging Face hub tools.
  2. Download the model files.
  3. Load them with a tool that runs Safetensors language models.
pip install -U huggingface_hub
hf download amalia-llm/AMALIA-9B-0626-DPO

How to use it

Prompt the model in European Portuguese, with clear instructions. The card shown here has no run command, so follow the model card on Hugging Face for the exact chat format.

Example

You ask the model, in European Portuguese, to explain a topic in simple words. It replies in Portuguese text. The card describes this chat use but shows no sample output.

For newcomers and experts

This is a chat model that was built for European Portuguese instead of general English. A first test is to ask a short question in Portuguese and read the answer.

Pre-training extended EuroLLM training to cover more European Portuguese, with a maximum sequence length of 32k tokens. SFT came first, then DPO on pairs that include on-policy responses from the SFT model. DPO aims to reduce hallucination, toxicity and drift from instructions.

  1. Pre-train on European Portuguese data
  2. Run supervised fine-tuning
  3. Run preference tuning with DPO
  4. Prompt the model in Portuguese

Good to know

Both post-training phases used 64 NVIDIA H100 GPUs, and the card gives their running time.

Training time of each phase on 64 H100 GPUs
Supervised fine-tuning76 hours
Preference tuning with DPO12 hours
  • Data: pre-training used Arquivo.pt web data, EuroLLM pre-training data, long-context samples from Stack-v2 and synthetic long-context data.
  • Datasets: the SFT and DPO datasets are released.
  • Knowledge cutoff: June 2024.
  • License: Apache 2.0.
  • Cost to run: none named.
  • Data it reaches: the text you send, handled on your own machine.
  • Not for: the part of the card shown lists no exclusions.

README and files

README

AMALIA-9B-0626-DPO

Writes and answers in European Portuguese as an open 9B chat model from Portuguese universities, tuned with supervised fine-tuning and DPO. Made for developers and researchers who need a European Portuguese language model.

Made by amalia-llm on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: AMALIA is an open-source language model aimed at European Portuguese. This DPO version has 9.2B parameters and follows supervised fine-tuning with preference tuning. Portuguese universities and research centres built it together, with government funding, aiming to be effective, sovereign and transparent.

Who it suits: It suits developers, researchers and organizations that need a language model that handles European Portuguese well, and want to inspect how it was trained.

Industry | Who uses it | How they use it | Example
Software | App developers | Build chat or writing features in European Portuguese | Add a Portuguese assistant to a product
Public sector | Government teams | Use a locally controlled Portuguese model | Draft replies to citizen questions
Research | NLP researchers | Study a national-language model and its training data | Compare the SFT and DPO versions
Publishing | Writers and editors | Draft and revise European Portuguese text | Rework a paragraph in a more formal tone

If you work in other languages only, or you need up-to-the-minute news, you can skip it, since its knowledge has a cutoff.

Where to use it: It runs wherever you can load a Safetensors text-generation model, on your own computer or server.

  • Python tools that load Hugging Face language models
  • Windows, macOS or Linux machines for downloading the files
  • Servers that host chat models for an app
Use case | Who | What they get back
European Portuguese chat | Developers | Conversational answers in Portuguese
Instruction following | Product teams | Replies shaped by clear instructions
Long-context work | Researchers | Support for inputs up to 32k tokens

How to set it up: You need Python and enough memory for a 9.2B model, which is about 18.3 GB in BF16. The card part shown here gives no run steps beyond the download.

  1. Install the Hugging Face hub tools.
  2. Download the model files.
  3. Load them with a tool that runs Safetensors language models.
pip install -U huggingface_hub
hf download amalia-llm/AMALIA-9B-0626-DPO

How to use it: Prompt the model in European Portuguese, with clear instructions. The card shown here has no run command, so follow the model card on Hugging Face for the exact chat format.

Example: You ask the model, in European Portuguese, to explain a topic in simple words. It replies in Portuguese text. The card describes this chat use but shows no sample output.

For newcomers and experts: This is a chat model that was built for European Portuguese instead of general English. A first test is to ask a short question in Portuguese and read the answer.

Pre-training extended EuroLLM training to cover more European Portuguese, with a maximum sequence length of 32k tokens. SFT came first, then DPO on pairs that include on-policy responses from the SFT model. DPO aims to reduce hallucination, toxicity and drift from instructions.

Pre-train on European Portuguese data
Run supervised fine-tuning
Run preference tuning with DPO
Prompt the model in Portuguese

Good to know: Both post-training phases used 64 NVIDIA H100 GPUs, and the card gives their running time.

Title: Training time of each phase on 64 H100 GPUs
Supervised fine-tuning: 76 hours
Preference tuning with DPO: 12 hours
  • Data: pre-training used Arquivo.pt web data, EuroLLM pre-training data, long-context samples from Stack-v2 and synthetic long-context data.
  • Datasets: the SFT and DPO datasets are released.
  • Knowledge cutoff: June 2024.
  • License: Apache 2.0.
  • Cost to run: none named.
  • Data it reaches: the text you send, handled on your own machine.
  • Not for: the part of the card shown lists no exclusions.

On Hugging Face, 13 November 2026

  • Task: text generation
  • Parameters: 9.2B
  • Weights: about 18.3 GB in BF16; about 4.6 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 1,340
  • Likes: 21
  • License: apache-2.0
  • Languages: pt
  • Based on: amalia-llm/AMALIA-9B-0626-SFT
  • Quantized versions: 12
  • Tags: safetensors, llama, text-generation, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download amalia-llm/AMALIA-9B-0626-DPO

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
AMALIA-9B-0626-DPO This page1,340219.2Bapache-2.0
ibnsina-1.5bShares llama · text-generation · conversational80331.5Bapache-2.0
Llama-3.1-8B-Stheno-v3.4Shares llama · safetensors1,1431058Bcc-by-nc-4.0
Hemmingway-1Shares text-generation · conversational · safetensors3,63190226.9Bcc-by-nc-4.0
Hemmingway-1.5Shares text-generation · conversational · safetensors3,3226126.9Bcc-by-nc-4.0
novel-humanize-4bShares text-generation · conversational · safetensors1,690864Bcc-by-nc-4.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

Nanosaur2-670M

well9472 · Kit

Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…

New

Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.

New

Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.

New

Similar in Writing

See all in Writing

Rewrites English text with fewer grammar mistakes, using a T5 model trained on the JFLEG dataset. Made by vennify for writers, students and developers who want…

New

Translates between 33 languages on your own device with a 1.8B model squeezed to 1.25 bits, about 440 MB as GGUF files for llama.cpp. For developers adding off…

New

Summarizes, answers questions about and continues book-length text with a fine-tuned 27B model that uses Gated DeltaNet layers, in English and Japanese. For pe…

New