Skip to content
Back to skills

Smtce Eval

ASecurity

Evaluates Vietnamese social media text classification across four tasks: constructive speech detection, complaint detection, emotion recognition, and hate speech detection. It probes the ability of monolingual versus multilingual BERT-based models to handle low-resource, domain-specific Vietnamese text with varying preprocessing requirements. Use when the user wants to benchmark on VSMEC, ViCTSD, ViOCD, ViHSD, or asks about evaluating this task. Reports macro-average F1 score.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythonperformance

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Smtce Eval?

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

Security grade badge for Smtce Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-smtce-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-smtce-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: smtce-eval
description: Evaluates Vietnamese social media text classification across four tasks: constructive speech detection, complaint detection, emotion recognition, and hate speech detection. It probes the ability of monolingual versus multilingual BERT-based models to handle low-resource, domain-specific Vietnamese text with varying preprocessing requirements. Use when the user wants to benchmark on VSMEC, ViCTSD, ViOCD, ViHSD, or asks about evaluating this task. Reports macro-average F1 score.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2209.10482
  bibtex_key: nguyen2022smtce
  confidence: high
---

# smtce-eval

> SMTCE: A Social Media Text Classification Evaluation Benchmark and BERTology Models for Vietnamese — Luan Thanh Nguyen et al. (2022) (arXiv:2209.10482, 2022)

## What this evaluates

Evaluates Vietnamese social media text classification across four tasks: constructive speech detection, complaint detection, emotion recognition, and hate speech detection. It probes the ability of monolingual versus multilingual BERT-based models to handle low-resource, domain-specific Vietnamese text with varying preprocessing requirements.

## Datasets

- **VSMEC** — total ?; splits: test (-1)
- **ViCTSD** — total ?; splits: test (-1)
- **ViOCD** — total ?; splits: test (-1)
- **ViHSD** — total ?; splits: test (-1)

## Metrics

- `macro-average F1 score` **(primary)** — range: percent
  - Compute Precision and Recall per class, then F1 per class as 2*(P*R)/(P+R). Average these per-class F1 scores across all classes.

## Input / output format

**Input**: Vietnamese social media text (comments/posts), preprocessed according to dataset-specific rules (e.g., emoji preservation for emotion tasks, number removal for others, tokenization via VnCoreNLP or FAIRSeq).

**Output**: Predicted class label for each text instance.

## Scoring recipe

```python
def compute_macro_f1(y_true, y_pred, num_classes):
    f1_scores = []
    for c in range(num_classes):
        tp = sum(1 for yt, yp in zip(y_true, y_pred) if yt == c and yp == c)
        fp = sum(1 for yt, yp in zip(y_true, y_pred) if yt != c and yp == c)
        fn = sum(1 for yt, yp in zip(y_true, y_pred) if yt == c and yp != c)
        precision = tp / (tp + fp) if (tp + fp) > 0 else 0
        recall = tp / (tp + fn) if (tp + fn) > 0 else 0
        f1 = 2 * (precision * recall) / (precision + recall) if (precision + recall) > 0 else 0
        f1_scores.append(f1)
    return sum(f1_scores) / num_classes
```

## Common pitfalls

- Datasets are highly imbalanced, so accuracy is misleading; macro-F1 is required to fairly weight minority classes.
- Preprocessing must be task-specific (e.g., emojis must be preserved for emotion classification but removed for other tasks); applying uniform preprocessing degrades performance.
- Multilingual models often underperform monolingual ones due to domain mismatch and limited Vietnamese social media exposure in pretraining.

## Evidence (verbatim from paper)

> In the text classification task, we have different metrics suitable for specific datasets and problems. Because most datasets in this study are imbalanced and according to the choice of dataset authors, we choose the macro-average F1 score to evaluate the performances of models on the datasets. To compute the macro-average F1 score, we first calculate the F1 score per class in the dataset by the formula (1). F1 score = 2 * (Precision * Recall) / (Precision + Recall). After achieving the F1 scores of all classes, we compute the macro-average F1 score by calculating the average F1 score as shown in formula (2). Macro F1 score = sum(F1 scores) / Number of classes.

## Citation

```bibtex
@misc{nguyen2022smtce,
  title={SMTCE: A Social Media Text Classification Evaluation Benchmark and BERTology Models for Vietnamese},
  author={Luan Thanh Nguyen et al. (2022)},
  year={2022},
  note={arXiv:2209.10482}
}
```

- arXiv: 2209.10482

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.