CoolFace
Modelpublic

LumiOpen/Llama-Poro-2-8B-Instruct

sourceHugging Facellama3.3updated 6mo agoView on Hugging Face
11likes1.7kdownloads
Model Card

Poro 2 8B Instruct Model Card

Poro 2 8B Instruct is an instruction-following chatbot model created through supervised fine-tuning (SFT) and Direct Preference Optimization (DPO) of the Poro 2 8B Base model. This model is designed for conversational AI applications and instruction following in both Finnish and English. It was trained on a carefully curated mix of English and Finnish instruction data, followed by preference tuning to improve response quality.

Poro 2 was created in a collaboration between AMD Silo AI, the TurkuNLP group of the University of Turku, and High Performance Language Technologies (HPLT). Training was conducted on the LUMI supercomputer, using compute resources generously provided by CSC - IT Center for Science, Finland.

This model demonstrates how continued pretraining followed by instruction tuning can efficiently add new language capabilities to existing models while maintaining strong conversational abilities in both the original and target languages.

For more details on our training and data generation pipeline, check out our Continued Pretraining Playbook.

Poro 2 Model Family

The Poro 2 model family includes both 8B and 70B models, and there are three different versions released of the Poro 2 models: a base model, a post-training SFT-only checkpoint, and the final instruct model which is the SFT model plus a round of DPO.

ModelBased onBase ModelSFTInstruct
Poro 2 8BLlama 3.1 8BPoro 2 8B BasePoro 2 8B SFTPoro 2 8B Instruct
Poro 2 70BLlama 3.1 70BPoro 2 70B BasePoro 2 70B SFTPoro 2 70B Instruct

What does Poro mean? Poro is the Finnish word for Reindeer! ๐ŸฆŒ These animals are native to Finland and hold a significant role in Finnish culture and history.

Model Overview

Poro 2 8B Instruct is based on the Llama 3.1 8B architecture and has been fine-tuned for instruction following and conversational AI applications. The model supports both English and Finnish conversations.

HyperparameterValue
n_parameters8.03B
n_layers32
n_heads32
nkvheads8
d_model4096
vocab_size128256
maxsequencelength8192
base_modelLlama-3.1-8B

Training Process

Continued Pretraining

The base Poro 2 8B model was created through continued pretraining on 165B tokens of Finnish, English, code, and math data.

Supervised Fine-Tuning (SFT)

The SFT phase used 1.4M instruction-following examples in English and Finnish, including:

  • โ€”English and Finnish Tulu 3 prompts with Llama-3.3-70B-Instruct responses
  • โ€”Multi-turn conversations generated using the Magpie method
  • โ€”Top-rated conversations from OASST2 and Avoin Avustaja datasets
  • โ€”Translation samples from EuroParl

We also release the Poro 2 instruction collection.

Direct Preference Optimization (DPO)

The final model underwent preference tuning using the HelpSteer3 dataset to improve response quality and alignment.

Post-Training Hyperparameters

SFT

HyperparameterValue
Epochs2
Global batch size64
Learning rate5e-6
LR schedulerlinear
Warmup ratio0.03
Max sequence length4,096

DPO

HyperparameterValue
Epochs3
Global batch size64
Beta0.01
Learning rate5e-7
LR schedulercosine
Warmup ratio0.1
Max length4,096

Evaluation Results

Poro 2 8B Instruct shows substantial improvements in Finnish instruction-following capabilities compared to Llama 3.1 8B Instruct, while maintaining strong English performance. We also outperform Gemma-2-9B-it and EuroLLM-9B-Instruct in Finnish.

Finnish Instruction Following

Poro 2 8B InstructLlama 3.1 8B InstructGemma-2-9B-itEuroLLM-9B-Instruct
IFEval Finnish66.5447.3155.8244.17
MTBench Finnish6.754.106.74.46
AlpacaEval 2 Finnish28.892.0521.858.15

English Instruction Following

Poro 2 8B InstructLlama 3.1 8B InstructGemma-2-9B-itEuroLLM-9B-Instruct
IFEval79.2979.4872.4561.36
MTBench7.337.707.856.25
AlpacaEval 235.3032.7046.6715.87

MTBench scores per-category

FinnishEnglish
Coding4.955.8
Extraction6.707.35
Humanities8.558.85
Math5.806.7
Reasoning4.805.45
Roleplay7.658.10
STEM7.558.05
Writing8.058.40

MTBench scores per-turn

FinnishEnglish
first turn7.237.75
second turn6.276.92

Pairwise Comparisons on MTBench

  • โ€”Finnish: 85% win rate vs Llama 3.1 8B Instruct
  • โ€”Finnish: 51% win rate vs Llama 3.3 70B Instruct
  • โ€”English: 49% win rate vs Llama 3.1 8B Instruct

Overall: ~24% average improvement in Finnish instruction-following benchmarks while maintaining English performance.

Usage

python
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

model_name = "LumiOpen/Llama-Poro-2-8B-Instruct"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype=torch.bfloat16,
    device_map="auto"
)

# Finnish conversation example
messages = [
    {"role": "user", "content": "Kerro minulle Suomen historiasta."}
]

inputs = tokenizer.apply_chat_template(
    messages, 
    add_generation_prompt=True,
    return_tensors="pt"
)

outputs = model.generate(
    inputs,
    max_new_tokens=500,
    temperature=0.7,
    do_sample=True,
    pad_token_id=tokenizer.eos_token_id
)

response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)

Intended Use

Poro 2 8B Instruct is designed for:

  • โ€”Conversational AI applications in Finnish and English
  • โ€”Question answering and information retrieval
  • โ€”Content generation and creative writing
  • โ€”Educational applications
  • โ€”Customer service and support applications
  • โ€”Translation between Finnish and English

Ethical Considerations and Limitations

Poro 2 8B Instruct is an advanced conversational AI model optimized for English and Finnish instruction following. As with most AI-driven systems, this model may reflect imperfections, biases, and idiosyncrasies present in its training data.

Key limitations:

  • โ€”Limited proficiency in languages other than English and Finnish
  • โ€”May occasionally generate biased, inappropriate, or factually incorrect content
  • โ€”Performance may vary significantly for specialized or technical domains
  • โ€”Context window limited to 8,192 tokens
  • โ€”May struggle with very recent events (knowledge cutoff limitations)

Safety Considerations:

  • โ€”Users should verify important factual claims independently
  • โ€”The model should not be used for medical, legal, or financial advice without human oversight
  • โ€”Responses should be reviewed for appropriateness in sensitive contexts

License

Built with Llama

Poro 2 8B Instruct is released under the Llama 3.3 Community License. Please review the license terms before use.

Citation

bibtex
@misc{poro2_2025,
    title={Poro 2: Continued Pretraining for Language Acquisition},
    author={Elaine Zosa and Jouni Louma and Kai Hakala and Antti Virtanen and Mika Koistinen and Risto Luukkonen and Akseli Reunamo and Sampo Pyysalo and Jonathan Burdge},
    year={2025},
    howpublished={LumiOpen}
}

Acknowledgments

We thank CSC - IT Center for Science, Finland for providing access to the LUMI supercomputer. This work was supported by the High Performance Language Technologies (HPLT) project and conducted in collaboration with TurkuNLP from the University of Turku. This project has received funding from the European Union's Horizon Europe research and innovation programme under grant agreement No 101070350.