ai-for-good-lab/byol-mri-1b-cpt

Model

0

stars

2

commits

1

linked in READMEs

Apr 15, 2026

updated

byol
endpoints_compatible
gemma3
gemma3_text
low-resource
māori
safetensors
text-generation
text-generation-inference
transformers
Browse cluster: Multilingual LLM Inference & Generation

README

BYOL Māori 1B CPT

This model was produced by the BYOL framework for extending LLMs to low-resource languages.

Model Description

This is a continually pre-trained (CPT) language model adapted for Māori (mri). Starting from Gemma 3 1b, the model was further trained on a curated bilingual corpus of Māori and English text using the BYOL framework. This extends the base model's knowledge and fluency in Māori while retaining its English capabilities.

As a base (non-instruction-tuned) model, it is best suited for text completion tasks.

Usage

pip install -U transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "ai-for-good-lab/byol-mri-1b-cpt"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", dtype=torch.bfloat16)

# Text completion (base model)
prompt = "Ko Aotearoa he whenua"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=100, do_sample=False)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Citation

@article{zamir2026byolbringlanguagellms,
    title={BYOL: Bring Your Own Language Into LLMs},
    author={Syed Waqas Zamir and Wassim Hamidouche and Boulbaba Ben Amor and Luana Marotti and Inbal Becker-Reshef and Juan Lavista Ferres},
    year={2026},
    journal={arXiv:2601.10804},
    url={https://arxiv.org/abs/2601.10804},
}

Contributors

swzamir

2 commits

ai-for-good-lab/byol-mri-1b-cpt

Model

0

stars

2

commits

1

linked in READMEs

Apr 15, 2026

updated

byol
endpoints_compatible
gemma3
gemma3_text
low-resource
māori
safetensors
text-generation
text-generation-inference
transformers
Browse cluster: Multilingual LLM Inference & Generation

README

BYOL Māori 1B CPT

This model was produced by the BYOL framework for extending LLMs to low-resource languages.

Model Description

This is a continually pre-trained (CPT) language model adapted for Māori (mri). Starting from Gemma 3 1b, the model was further trained on a curated bilingual corpus of Māori and English text using the BYOL framework. This extends the base model's knowledge and fluency in Māori while retaining its English capabilities.

As a base (non-instruction-tuned) model, it is best suited for text completion tasks.

Usage

pip install -U transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "ai-for-good-lab/byol-mri-1b-cpt"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", dtype=torch.bfloat16)

# Text completion (base model)
prompt = "Ko Aotearoa he whenua"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=100, do_sample=False)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Citation

@article{zamir2026byolbringlanguagellms,
    title={BYOL: Bring Your Own Language Into LLMs},
    author={Syed Waqas Zamir and Wassim Hamidouche and Boulbaba Ben Amor and Luana Marotti and Inbal Becker-Reshef and Juan Lavista Ferres},
    year={2026},
    journal={arXiv:2601.10804},
    url={https://arxiv.org/abs/2601.10804},
}

Contributors

swzamir

2 commits