Run this model with HF Jobs
Run jjhsnail0822/ConlangBench-OLMo-2-1124-13B-Instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/jjhsnail0822/ConlangBench-OLMo-2-1124-13B-Instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/jjhsnail0822/ConlangBench-OLMo-2-1124-13B-Instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use jjhsnail0822/ConlangBench-OLMo-2-1124-13B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jjhsnail0822/ConlangBench-OLMo-2-1124-13B-Instruct with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
ConlangBench LoRA adapters for allenai/OLMo-2-1124-13B-Instruct
LoRA adapters from ConlangBench. Each adapter fine-tunes allenai/OLMo-2-1124-13B-Instruct on English ↔ constructed-language translation for one of 21 constructed languages, using the ConlangBench parallel data. Intermediate checkpoints are saved at fixed data budgets, so the same language can be compared at many points of training.
All 21 languages were trained to the end. The paper reports results for jbo, tok, qya, tlh, epo, ido, ina, lfn; adapters for the other languages are released as well.
Repository layout
<language>/seed-42/
├── config.json training arguments
├── budget_plan.json data budgets planned for this language
├── checkpoint_pairs-<N>/ after N training pairs
├── checkpoint_tokens-<N>/ after N target tokens
├── checkpoint_pairs-<N>_tokens-<M>/ both budgets reached at the same step
└── checkpoint_final/ after one full epoch
- pairs: parallel sentence pairs seen. Each pair is trained in both directions (English → language and language → English), so one pair is two training examples.
- tokens: loss-bearing target tokens seen in both directions, counted with this model's tokenizer.
- Budgets are powers of two, from the largest power of two not above the smallest language (shared by all languages) up to the size of the language's own training data.
- Each checkpoint has
budget_meta.jsonwith the exact pairs, tokens and step at which it was saved.
stats.json holds the per-language data sizes used to plan the budgets.
Languages
| Code | Language | Training pairs | Checkpoints | Status |
|---|---|---|---|---|
afh |
Afrihili | 197 | 4 | complete |
avk |
Kotava | 4,344 | 15 | complete |
bzt |
Brithenig | 769 | 10 | complete |
dws |
Dutton World Speedwords | 72 | 2 | complete |
epo |
Esperanto | 202,496 | 25 | complete |
ido |
Ido | 37,613 | 22 | complete |
igs |
Interglossa | 1,009 | 10 | complete |
ile |
Interlingue | 15,112 | 17 | complete |
ina |
Interlingua | 101,248 | 21 | complete |
isv |
Interslavic | 5,008 | 14 | complete |
jbo |
Lojban | 43,951 | 20 | complete |
ldn |
Láadan | 201 | 6 | complete |
lfn |
Lingua Franca Nova | 52,197 | 21 | complete |
neu |
Neo | 78 | 4 | complete |
nov |
Novial | 854 | 6 | complete |
qya |
Quenya | 28,495 | 20 | complete |
sjn |
Sindarin | 973 | 9 | complete |
tlh |
Klingon | 39,167 | 21 | complete |
tok |
Toki Pona | 73,678 | 23 | complete |
tzl |
Talossan | 1,233 | 12 | complete |
vol |
Volapük | 13,243 | 18 | complete |
Training pairs are counted after removing pairs longer than 1024 tokens.
For Esperanto (epo), only the first 202,496 pairs of the training
split were used (twice the size of the largest other language).
Usage
import torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_id = "allenai/OLMo-2-1124-13B-Instruct"
repo_id = "jjhsnail0822/ConlangBench-OLMo-2-1124-13B-Instruct"
subfolder = "tok/seed-42/checkpoint_final" # any checkpoint folder
tokenizer = AutoTokenizer.from_pretrained(repo_id, subfolder=subfolder)
model = AutoModelForCausalLM.from_pretrained(base_id, dtype=torch.bfloat16, device_map="auto")
model = PeftModel.from_pretrained(model, repo_id, subfolder=subfolder)
prompt = (
"Translate the following text from English (eng) to Toki Pona (tok). "
"Only output the translated text and nothing else.\n\n"
"Text to translate:\nI like this book."
)
messages = [{"role": "user", "content": prompt}]
inputs = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_tensors="pt", return_dict=True,
).to(model.device)
out = model.generate(
**inputs, max_new_tokens=128, do_sample=False, eos_token_id=tokenizer.eos_token_id
)
print(tokenizer.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
The prompt is the one used in training. Language names and codes are those in the table
above; English is English (eng).
Training
| Setting | Value |
|---|---|
| Method | LoRA on all linear layers |
| Rank / alpha / dropout | 16 / 32 / 0.05 |
| Learning rate | 0.0002, constant, no warmup |
| Weight decay | 0.01 |
| Batch size | 64 examples |
| Epochs | 1 |
| Max sequence length | 1024 |
| Precision | bf16 |
| Seed | 42 |
| Loss | assistant (translation) tokens only |
Citation
@misc{jeong2026conlangbenchexploringlanguageknowledge,
title={ConlangBench: Exploring Language Knowledge and Learning in LLMs through Diverse Constructed Languages},
author={Jinhong Jeong and Seungyeop Yi and Sangah Lee and Youngjae Yu},
year={2026},
eprint={2608.03505},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2608.03505},
}
- Downloads last month
- -
Model tree for jjhsnail0822/ConlangBench-OLMo-2-1124-13B-Instruct
Base model
allenai/OLMo-2-1124-7B