SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.12777 · EMNLP · 2020

Improving Multilingual Models with Language-Clustered Vocabularies

Hyung Won, Dan Garrette, Kiat Chuan, Tan Riesa

arXiv · PDF · Open in the Atlas

Code that ran

12 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 7 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2010.12777.json · badge: /api/ran/2010.12777.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
afshinrahimi/mmner canonical (classifier label)
classifier basis: census
12 ran · 0 no recorded run
FunctionStatusWhere it lives
average_vars Ran
ran, violated the contract we drafted
afshinrahimi/mmner/variables.py
code served (permissive licence) · get_code("59c0d53cfcbb2398")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create sample variable sequences
# The function expects var_seqs to be an iterable of sequences
# Each sequence will be zipped together, so we need multiple sequences
# with the same number of elements

# Create 3 sequences, each containing 4 variable arrays
seq1 = [np.array([1.0, 2.0, 3.0]), np.array([4.0, 5.0, 6.0]), 
        np.array([7.0, 8.0, 9.0]), np.array([10.0, 11.0, 12.0])]

seq2 = [np.array([2.0, 3.0, 4.0]), np.array([5.0, 6.0, 7.0]), 
        np.array([8.0, 9.0, 10.0]), np.array([11.0, 12.0, 13.0])]

seq3 = [np.array([3.0, 4.0, 5.0]), np.array([6.0, 7.0, 8.0]), 
        np.array([9.0, 10.0, 11.0]), np.array([12.0, 13.0, 14.0])]

var_seqs = [seq1, seq2, seq3]

ARGS = {
    "var_seqs": var_seqs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
check_num_records Ran
ran on a synthesized input
afshinrahimi/mmner/utils.py
code served (permissive licence) · get_code("f6f2ba25467fd36a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary file with some test data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, encoding='utf-8', suffix='.txt')
temp_filename = temp_file.name

# Write test content with empty lines (records are counted as empty lines)
temp_file.write("line 1\n")
temp_file.write("line 2\n")
temp_file.write("\n")  # empty line (record 1)
temp_file.write("line 3\n")
temp_file.write("\n")  # empty line (record 2)
temp_file.write("line 4\n")
temp_file.close()

ARGS = {
    'filename': temp_filename
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
check_num_records_by_content Ran
ran on a synthesized input
afshinrahimi/mmner/utils.py
code served (permissive licence) · get_code("0289bb6405576064")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging
import io

# Set up logging to capture the info message
logging.basicConfig(level=logging.INFO)

# Create a file-like object with some test data
# The function looks for empty lines (after decoding and stripping)
# to count records
test_content = b"line 1\nline 2\n\nline 3\n\n"
filehandle = io.BytesIO(test_content)
filename = "test_file.txt"

ARGS = {
    "filehandle": filehandle,
    "filename": filename
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
collect_vocab_and_tags Ran
ran on a synthesized input
afshinrahimi/mmner/utils.py
code served (permissive licence) · get_code("2f4055c62a01cc2c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile

# Create a temporary directory with test files in CONLL2003 format
temp_dir = tempfile.mkdtemp()

# Create a test file with .multi extension containing CONLL2003 formatted data
test_file_path = os.path.join(temp_dir, "test_data.multi")
with open(test_file_path, 'w', encoding='utf-8') as f:
    f.write("John B-PER\n")
    f.write("Smith I-PER\n")
    f.write("works O\n")
    f.write("at O\n")
    f.write("Google B-ORG\n")
    f.write("\n")
    f.write("DOCSTART -DOCSTART-\n")
    f.write("\n")
    f.write("Paris B-LOC\n")
    f.write("is O\n")
    f.write("nice O\n")

ARGS = {
    "dir_name": temp_dir,
    "fname": "test_data.multi"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_chunk_type Ran
ran on a synthesized input
afshinrahimi/mmner/models.py
code served (permissive licence) · get_code("620ac62b88277cbd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# The function takes:
# 1. tok: an id of a token (integer)
# 2. idx_to_tag: a dictionary mapping token ids to tag strings like "B-PER"

# Construct idx_to_tag dictionary with some example BIO tags
idx_to_tag = {
    0: "O",
    1: "B-PER",
    2: "I-PER",
    3: "B-LOC",
    4: "I-LOC",
    5: "B-ORG",
    6: "I-ORG",
}

# Choose a token id that exists in our dictionary
tok = 4

ARGS = {
    "tok": tok,
    "idx_to_tag": idx_to_tag,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_processing_word Ran
ran on a synthesized input
afshinrahimi/mmner/config.py
code served (permissive licence) · get_code("204d8fb2bfa6564f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Analyze the function to understand what it needs:
# 1. vocab_words: dict mapping words to indices
# 2. vocab_chars: dict mapping characters to indices
# 3. lowercase: boolean
# 4. chars: boolean
# 5. allow_unk: boolean
# 6. trim_lang: boolean
# 7. lowerchars: boolean

# Build minimal but valid arguments

# Create vocab_words: map common words and special tokens to indices
vocab_words = {
    'cat': 100,
    'dog': 101,
    'the': 102,
    '$UNK$': 1,
    '$NUM$': 2,
    'hello': 103,
    'world': 104,
}

# Create vocab_chars: map characters to indices
vocab_chars = {
    'c': 10,
    'a': 11,
    't': 12,
    'd': 13,
    'o': 14,
    'g': 15,
    'h': 16,
    'e': 17,
    'l': 18,
    'w': 19,
    'r': 20,
    'b': 21,
    'z': 22,
}

ARGS = {
    'vocab_words': vocab_words,
    'vocab_chars': vocab_chars,
    'lowercase': False,
    'chars': True,
    'allow_unk': True,
    'trim_lang': False,
    'lowerchars': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_vocabs Ran
ran on a synthesized input
afshinrahimi/mmner/config.py
code served (permissive licence) · get_code("384baa37e7d09ae3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Create simple dataset objects that can be iterated over
class SimpleDataset:
    def __init__(self, data):
        self.data = data
    
    def __iter__(self):
        return iter(self.data)

# Create sample data: list of (words, tags) tuples
dataset1_data = [
    (['the', 'cat', 'sat'], ['DET', 'NOUN', 'VERB']),
    (['on', 'a', 'mat'], ['PREP', 'DET', 'NOUN']),
]

dataset2_data = [
    (['dogs', 'run', 'fast'], ['NOUN', 'VERB', 'ADV']),
    (['birds', 'fly'], ['NOUN', 'VERB']),
]

# Create dataset objects
dataset1 = SimpleDataset(dataset1_data)
dataset2 = SimpleDataset(dataset2_data)

# Create the datasets list
datasets = [dataset1, dataset2]

# Define ARGS with the required parameter
ARGS = {
    'datasets': datasets
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
interpolate_vars Ran
ran; our contract draft was wrong, not the code
afshinrahimi/mmner/variables.py
code served (permissive licence) · get_code("382960e74b17b40a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create variable sequences as lists of tensors
# These will be used in the interpolate_vars function which performs:
# add_vars(old_vars, scale_vars(subtract_vars(new_vars, old_vars), epsilon))

old_vars = [
    torch.tensor([[1.0, 2.0, 3.0, 4.0], [5.0, 6.0, 7.0, 8.0]]),
    torch.tensor([[0.5, 1.5, 2.5, 3.5]])
]

new_vars = [
    torch.tensor([[2.0, 3.0, 4.0, 5.0], [6.0, 7.0, 8.0, 9.0]]),
    torch.tensor([[1.5, 2.5, 3.5, 4.5]])
]

epsilon = 0.5

ARGS = {
    "old_vars": old_vars,
    "new_vars": new_vars,
    "epsilon": epsilon
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_vocab Ran
ran on a synthesized input
afshinrahimi/mmner/config.py
code served (permissive licence) · get_code("b1e144bdab6449a6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary vocab file
temp_dir = tempfile.mkdtemp()
vocab_file = os.path.join(temp_dir, 'vocab.txt')

# Write a sample vocab file with words and their indices
with open(vocab_file, 'w') as f:
    f.write('hello\n')
    f.write('world\n')
    f.write('python\n')
    f.write('test\n')

ARGS = {
    'filename': vocab_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pad_sequences Ran
ran; our contract draft was wrong, not the code
afshinrahimi/mmner/models.py
code served (permissive licence) · get_code("ef651ba41fdc6cad")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

# For nlevels=1: sequences is a list of lists/tuples
# pad_tok is a character or token to pad with
# nlevels determines the depth of padding

# Simple case: nlevels=1
sequences_level1 = [
    [1, 2, 3],
    [4, 5],
    [6, 7, 8, 9]
]

# Nested case: nlevels=2 (list of list of lists)
sequences_level2 = [
    [[1, 2], [3, 4, 5], [6]],
    [[7, 8, 9], [10]]
]

ARGS = {
    "sequences": sequences_level1,
    "pad_tok": 0,
    "nlevels": 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
softmax Ran
ran, violated the contract we drafted
afshinrahimi/mmner/models.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from thuml/DARE, is pointer only (licence: NONE) · get_code("a585b44308980803")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from thuml/DARE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

subtract_vars Ran
ran; our contract draft was wrong, not the code
afshinrahimi/mmner/variables.py
code served (permissive licence) · get_code("3880e32be4fd7c7f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function subtract_vars takes two sequences of variables and subtracts
# corresponding elements. Looking at the implementation, it uses:
# - zip() to pair elements
# - subtraction operator (v1 - v2) on each pair
# This works with any objects that support subtraction, but typically tensors.

# Create two sequences of tensors with distinct dimensions for probing
var_seq_1 = [
    torch.randn(2, 4),  # batch 2, dim 4
    torch.randn(2, 3),  # batch 2, dim 3
    torch.randn(2, 5),  # batch 2, dim 5
]

var_seq_2 = [
    torch.randn(2, 4),  # batch 2, dim 4
    torch.randn(2, 3),  # batch 2, dim 3
    torch.randn(2, 5),  # batch 2, dim 5
]

ARGS = {
    "var_seq_1": var_seq_1,
    "var_seq_2": var_seq_2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 1 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
average_vars 3 other papers
3 dated earlier
1803.02999 (2018-03)
On First-Order Meta-Learning Algorithms
1904.02957 (2019-04)
Learning to Adapt for Stereo
1906.02717 (2019-06)
Adaptive Gradient-Based Meta-Learning Methods
interpolate_vars 3 other papers
3 dated earlier
1803.02999 (2018-03)
On First-Order Meta-Learning Algorithms
1904.02957 (2019-04)
Learning to Adapt for Stereo
1906.02717 (2019-06)
Adaptive Gradient-Based Meta-Learning Methods
softmax 3 other papers
1 dated earlier, 2 later
1908.09453 (2019-08)
OpenSpiel: A Framework for Reinforcement Learning in Games
2104.00795 (2021-04)
No Cost Likelihood Manipulation at Test Time for Making Better Mistakes in Deep Networks
2410.02604 (2024-10)
Long-Sequence Recommendation Models Need Decoupled Embeddings
subtract_vars 3 other papers
3 dated earlier
1803.02999 (2018-03)
On First-Order Meta-Learning Algorithms
1904.02957 (2019-04)
Learning to Adapt for Stereo
1906.02717 (2019-06)
Adaptive Gradient-Based Meta-Learning Methods
get_vocabs 2 other papers
2 dated earlier
1603.01354 (2016-03)
End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF
1603.01360 (2016-03)
Neural Architectures for Named Entity Recognition
pad_sequences 1 other paper
1 dated earlier
1603.01360 (2016-03)
Neural Architectures for Named Entity Recognition

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

State-of-the-art multilingual models depend on vocabularies that cover all of the languages the model will expect to see at inference time, but the standard methods for generating those vocabularies are not ideal for massively multilingual applications. In this work, we introduce a novel procedure for multilingual vocabulary generation that combines the separately trained vocabularies of several automatically derived language clusters, thus balancing the trade-off between cross-lingual subword sharing and language-specific vocabularies. Our experiments show improvements across languages on key multilingual benchmark tasks TYDI QA (+2.9 F1), XNLI (+2.1%), and WikiAnn NER (+2.8 F1) and factor of 8 reduction in out-of-vocabulary rate, all without increasing the size of the model or data. * Work done as a member of the Google AI Residency Program.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2010.12777")
get_code_for_paper("2010.12777")
have("2010.12777")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2010.12777.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2010.12777.svg)](https://syntology.ai/paper/2010.12777)

Connect an agent — have() is free.