Views
No views yet
2B10B21B31B40B50B61B71B80B90BmainAuto classes with the generate() function.1import torch
2from transformers import pipeline
3
4pipe = pipeline(
5 "text-generation",
6 model="HPLT/madlad-400-1.0-fra_Latn-llama-2b-100bt",
7 torch_dtype=torch.bfloat16,
8 device_map="auto"
9)revision argument when loading the model.1from transformers import AutoModelForCausalLM
2import torch
3
4revision = "10B"
5
6model = AutoModelForCausalLM.from_pretrained(
7 "HPLT/madlad-400-1.0-fra_Latn-llama-2b-100bt",
8 torch_dtype=torch.bfloat16,
9 revision=revision,
10 device_map="auto"
11)@article{oepen2025hplt,
title={HPLT\~{} 3.0: Very Large-Scale Multilingual Resources for LLM and MT. Mono-and Bi-lingual Data, Multilingual Evaluation, and Pre-Trained Models},
author={Oepen, Stephan and Arefev, Nikolay and Aulamo, Mikko and Ba{\~n}{\'o}n, Marta and Buljan, Maja and Burchell, Laurie and Charpentier, Lucas and Chen, Pinzhen and Fedorova, Mariya and de Gibert, Ona and others},
journal={arXiv preprint arXiv:2511.01066},
year={2025}
}