GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - InseeFrLab/codif-ape-train: Model for coding a company's main activity (NACE rev 2.1)

BranchesTags
Open more actions menu

Latest commit

 

History

680 Commits
680 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
argo-workflows
argo-workflows
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.python-version
.python-version
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
renovate.json
renovate.json
 
 
setup.sh
setup.sh
 
 
uv.lock
uv.lock
 
 

Repository files navigation

codif-ape-train 🚀

This repository is designed for training a torchTextClassifiers model on the NACE dataset. The dataset contains textual data, specifically activity descriptions declared by business owners. The text is labeled in the French version of the NACE (NAF), that contains 732 labels for the 2008 version and 745 for the 2025 one.

Getting Started

Launching a Training

To start training the model with default parameters (that are specified in src/configs), use the following commands:

uv run train-ape

or similarly:

uv run -m src.train

Hydra Integration

This project leverages Hydra for configuration management. Hydra allows you to override parameters directly from the command line. For example:

  • Override the number of training epochs and disable the attention configuration :

    uv run train-ape training_config.num_epochs=1 model_config.attention_config=null
  • Perform a multirun:

    uv run train-ape -m model_config.attention_config.n_layers=2,4,8

Refer to the Hydra documentation for more details on its capabilities.

Argo Workflow Template

An Argo template is also available in the argo-workflows/ directory. This template can be used to orchestrate and automate the training process in a Kubernetes environment.

License

This project is licensed under the terms of the LICENSE file.

About

Model for coding a company's main activity (NACE rev 2.1)

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

1 star

Watchers

3 watching

Forks

1 fork
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.