References and resources
Presentations, papers, code and related work.
Presentations
All the team’s presentations are collected at inseefrlab.github.io/codif-ape-prez. The most relevant to this note are listed below.
Papers
- Tayebjee M., Couralet C., Randriamanana N., Pramil J. (2025). fastText, tout juste en production et déjà obsolète ? Présentation du package torchTextClassifiers… Journées de méthodologie statistique.
- Randriamanana N., Faria T. (2025). Changement de nomenclature statistique à l’ère du Machine Learning : réentraînement basé sur les LLM pour la révision de la NAF. Journées de méthodologie statistique.
- Avouac R., Faria T., Comte F. (2025). L’apport des technologies cloud pour industrialiser le processus d’innovation statistique. Insee, Document de travail M2025-05. Section 4 covers APE coding.
- Faria T., Randriamanana N., Seimandi T. (2024). Retraining strategies for an economic activity classification model. Q2024, Estoril.
- AIML4OS WP10 (2025). From text to code (WP10.4): MLOps tutorial. Insee, Statistics Austria, Destatis.
Code
| Repository | Description |
|---|---|
| codif-ape | Umbrella workspace (submodules) |
| codif-ape-nace-revision | LLM recoding of the training data from NAF rev. 2 to NAF 2025 (context- vs retrieval-augmented strategies, majority vote) |
| codif-ape-preprocess | Data cleaning, rule engine, splits |
| codif-ape-train | Training, evaluation, MLflow packaging |
| codif-ape-api | FastAPI serving |
| codif-ape-cd | Kubernetes manifests, Argo CD |
| torchTextClassifiers | PyTorch text classification library (docs) |
| GRAAL | LLM agents for classifications (docs) |
| codif-ape-docs | This website |