SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.11938 · 2023

XTREME-UP: A User-Centric Scarce-Data Benchmark for Under-Represented Languages

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 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, 0 violated it and 8 have no contract verdict; 0 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2305.11938.json · badge: /api/ran/2305.11938.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
google-research/xtreme-up canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
average Ran
ran on a synthesized input
google-research/xtreme-up/evaluation/score_system.py
code served (permissive licence) · get_code("9b8db034cb6fc339")
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 float, ndim 0, dtype family float, 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 torch
import numpy as np
from collections.abc import Sequence
from typing import Optional

torch.manual_seed(0)

# The function takes a Sequence of Optional[float] values
# It checks if any value is None, and if so returns None
# Otherwise it returns the average of the values

# Test case 1: All valid floats
values_all_valid = [1.0, 2.0, 3.0, 4.0, 5.0]

ARGS = {
    "values": values_all_valid
}
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 float, ndim 0, dtype family float, 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
dummy_metric Ran
ran on a synthesized input
google-research/xtreme-up/baseline/autocomplete_tasks.py
code served (permissive licence) · get_code("eda34985ba4beae0")
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 torch
import numpy as np

torch.manual_seed(0)

# Construct arguments for dummy_metric
targets = ["cat", "dog", "bird"]
predictions = ["cat", "dog", "fish"]

ARGS = {
    "targets": targets,
    "predictions": predictions,
}
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 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
gather_predictions Ran
ran on a synthesized input
google-research/xtreme-up/baseline/autocomplete_tasks.py
code served (permissive licence) · get_code("abd225a4df0fa702")
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 tensorflow as tf

# Create a small stand-in example dict with the required 'targets_pretokenized' key
example = {
    'targets_pretokenized': tf.constant(['target_text_1', 'target_text_2'], dtype=tf.string)
}

# Create a list of strings for target_or_pred parameter
target_or_pred = ['pred_1', 'pred_2', 'pred_3']

# Define ARGS with all parameters
ARGS = {
    'target_or_pred': target_or_pred,
    'example': example,
    'is_target': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — 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
lowercase Ran
ran on a synthesized input
google-research/xtreme-up/baseline/retrieval_tasks.py
code served (permissive licence) · get_code("7a4a03eb0fe8c1df")
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 _ParallelMapDataset. 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 tensorflow as tf

# Create a small tf.data.Dataset with string features
def create_sample_dataset():
    # Create a simple dataset with string data
    data = {
        'text': ['Hello World', 'TensorFlow', 'PYTHON'],
        'label': ['A', 'B', 'C']
    }
    
    dataset = tf.data.Dataset.from_tensor_slices(data)
    return dataset

dataset = create_sample_dataset()

features = ['text', 'label']

override_feature = False

ARGS = {
    'dataset': dataset,
    'features': features,
    'override_feature': override_feature
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type _ParallelMapDataset — a _ParallelMapDataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a _ParallelMapDataset 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
preprocess_autocomplete_example Ran
ran on a synthesized input
google-research/xtreme-up/baseline/jsonl_to_seqio_tsv_lib.py
code served (permissive licence) · get_code("cb0b499a715ebd32")
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 torch
import torch.nn as nn

ARGS = {
    'json_dict': {
        'context': 'hello_world',
        'other_field': 'some_value'
    },
    'filename': 'python.jsonl'
}
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 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
process_example Ran
ran on a synthesized input
google-research/xtreme-up/baseline/jsonl_to_seqio_tsv_lib.py
code served (permissive licence) · get_code("11b74ed4666eca82")
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 str. 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
from typing import Any, Callable, Iterable

torch.manual_seed(0)

# Construct arguments for process_example
example_dict = {
    "name": "Alice",
    "age": "30",
    "city": "New York",
    "occupation": "Engineer"
}

output_column_order = ["name", "age", "city", "occupation"]

debug_path = "/path/to/data.json"

ARGS = {
    "example_dict": example_dict,
    "output_column_order": output_column_order,
    "debug_path": debug_path
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
split_and_rekey_processor Ran
ran on a synthesized input
google-research/xtreme-up/baseline/retrieval_tasks.py
code served (permissive licence) · get_code("16cbaba2dd46e92f")
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 _MapDataset. 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 tensorflow as tf

# Create a small tf.data.Dataset with tab-separated values
# Format: qid\ttitle\tcandidate\tquery (when has_query=True)
# Format: qid\ttitle\tcandidate (when has_query=False)

def create_dataset_with_query():
    data = [
        "qid_1\ttitle_one\tcandidate_text_a\tquery_text_1",
        "qid_2\ttitle_two\tcandidate_text_b\tquery_text_2",
    ]
    dataset = tf.data.Dataset.from_tensor_slices(data)
    return dataset

def create_dataset_without_query():
    data = [
        "qid_1\ttitle_one\tcandidate_text_a",
        "qid_2\ttitle_two\tcandidate_text_b",
    ]
    dataset = tf.data.Dataset.from_tensor_slices(data)
    return dataset

# Test with has_query=True
dataset_with_query = create_dataset_with_query()

# Test with has_query=False
dataset_without_query = create_dataset_without_query()

ARGS = {
    "dataset": dataset_with_query,
    "has_query": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type _MapDataset — a _MapDataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a _MapDataset 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
to_inference_pair Ran
ran on a synthesized input
google-research/xtreme-up/baseline/retrieval_tasks.py
code served (permissive licence) · get_code("f89c4c37abd368b2")
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 _MapDataset. 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 tensorflow as tf
import numpy as np

# Create a simple tf.data.Dataset with the required structure
def create_sample_dataset():
    # Create sample data with 'id', 'query', and 'candidate' fields
    data = {
        'id': tf.constant(['id_0', 'id_1'], dtype=tf.string),
        'query': tf.constant(['query text 0', 'query text 1'], dtype=tf.string),
        'candidate': tf.constant(['candidate text 0', 'candidate text 1'], dtype=tf.string),
    }
    
    # Create dataset from tensors
    dataset = tf.data.Dataset.from_tensor_slices(data)
    return dataset

dataset = create_sample_dataset()
split = 'query'

ARGS = {
    'dataset': dataset,
    'split': split,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type _MapDataset — a _MapDataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a _MapDataset 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
compute_similarities Not yet run
unverified (harvested, no recorded run)
google-research/xtreme-up/baseline/compute_nearest_neighbors.py
code served (permissive licence) · get_code("ffe1eb8489531d61")
How it ran

no invocation recorded.

get_task_info Not yet run
unverified (harvested, no recorded run)
google-research/xtreme-up/baseline/jsonl_to_seqio_tsv_lib.py
code served (permissive licence) · get_code("dd148fcf0cf05289")
How it ran

no invocation recorded.

l2_normalize Not yet run
unverified (harvested, no recorded run)
google-research/xtreme-up/baseline/compute_nearest_neighbors.py
code served (permissive licence) · get_code("086e5dd32d79621b")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 11 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.

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-23.

Repositories linked to this paper

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

Abstract

Data scarcity is a crucial issue for the development of highly multilingual NLP systems. Yet for many under-represented languages (ULs) -- languages for which NLP re-search is particularly far behind in meeting user needs -- it is feasible to annotate small amounts of data. Motivated by this, we propose XTREME-UP, a benchmark defined by: its focus on the scarce-data scenario rather than zero-shot; its focus on user-centric tasks -- tasks with broad adoption by speakers of high-resource languages; and its focus on under-represented languages where this scarce-data scenario tends to be most realistic. XTREME-UP evaluates the capabilities of language models across 88 under-represented languages over 9 key user-centric technologies including ASR, OCR, MT, and information access tasks that are of general utility. We create new datasets for OCR, autocomplete, semantic parsing, and transliteration, and build on and refine existing datasets for other tasks. XTREME-UP provides methodology for evaluating many modeling scenarios including text-only, multi-modal (vision, audio, and text),supervised parameter tuning, and in-context learning. We evaluate commonly used models on the benchmark. We release all code and scripts to train and evaluate models

For agents

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

get_harvested_code_for_paper("2305.11938")
get_code_for_paper("2305.11938")
have("2305.11938")

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

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

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

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

Connect an agent — have() is free.