Skip to content
Back to skills

Miners Eval

ASecurity

Evaluates multilingual language models as semantic retrievers across 200+ languages without fine-tuning. It probes bitext mining, retrieval-augmented classification, and in-context learning classification to assess cross-lingual and code-switching capabilities. Use when the user wants to benchmark on MINERS (includes NusaX), or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongogitapiperformance

Works with

  • api

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill miners-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Miners Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Miners Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-miners-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-miners-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: miners-eval
description: Evaluates multilingual language models as semantic retrievers across 200+ languages without fine-tuning. It probes bitext mining, retrieval-augmented classification, and in-context learning classification to assess cross-lingual and code-switching capabilities. Use when the user wants to benchmark on MINERS (includes NusaX), or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2406.07424
  bibtex_key: [REDACTED]
  confidence: medium
---

# miners-eval

> MINERS: Multilingual Language Models as Semantic Retrievers — Winata et al. (2024) (arXiv:2406.07424, 2024)

## What this evaluates

Evaluates multilingual language models as semantic retrievers across 200+ languages without fine-tuning. It probes bitext mining, retrieval-augmented classification, and in-context learning classification to assess cross-lingual and code-switching capabilities.

## Datasets

- **MINERS (includes NusaX)** — total ?; splits: test (-1); repo https://github.com/gentaiscool/miners

## Metrics

- `accuracy` **(primary)** — range: percent
  - Percentage of correctly predicted class labels. In retrieval-based classification, final predictions are aggregated via majority voting over the retrieved context examples.
- `precision` — range: percent
  - Proportion of correctly predicted positive instances among all instances predicted as positive in the classification tasks.

## Input / output format

**Input**: Bitext: sentence pairs in different languages. Retrieval-based classification: a query sentence and a candidate document pool. ICL classification: a query sentence plus a few-shot context of retrieved examples with ground-truth labels.

**Output**: Bitext: ranked list of retrieved sentence pairs. Classification: predicted class label (determined by majority voting over retrieved examples or direct generation by the LM).

## Scoring recipe

```python
def compute_accuracy(predictions, gold_labels):
    correct = sum(1 for p, g in zip(predictions, gold_labels) if p == g)
    return correct / len(gold_labels) * 100

def majority_vote(retrieved_labels):
    from collections import Counter
    return Counter(retrieved_labels).most_common(1)[0][0]
```

## Common pitfalls

- Performance is highly sensitive to the number of retrieved documents (k), with larger k consistently boosting accuracy via majority voting.
- Code-switching (CS) and cross-lingual code-switching (XL CS) settings are significantly more challenging than monolingual or standard cross-lingual settings.
- Commercial API models may benefit from prior exposure to benchmark datasets, potentially inflating their reported performance.

## Evidence (verbatim from paper)

> The inclusion of few-shot context significantly improves the generative LM’s precision in predicting class labels, leading to enhancements. In retrieval-based classification, a larger $k$ offers more contextual examples, leading to more precise label predictions through majority voting.

## Citation

```bibtex
@misc{winata2024miners,
  title={MINERS: Multilingual Language Models as Semantic Retrievers},
  author={Winata et al. (2024)},
  year={2024},
  note={arXiv:2406.07424}
}
```

- arXiv: 2406.07424

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.