lopatnov
/

Text Classification
fastText
language-identification

GlotLID Models for Lopatnov.Translate

This repository contains GlotLID models for the Lopatnov.Translate service. These files are mirrors of the original models from the cis-lmu/glotlid repository.

Configuration

To configure model for the service, please modify appsettings.json:

Example configuration:

{
  "Models": {
    "glotlid": {
      "Type": "FastText",
      "LabelFormat": "iso639-3", // GlotLID outputs ISO 639-3 codes
      "LabelPrefix": "__label__",
      "Path": "../../models/detect-lang/glotlid/model_v3.bin"
    }
  },
  "Translation": {
    "AutoDetect": "glotlid"
  }
}

Note: Make sure the Path correctly points to the location of your downloaded .bin files relative to application.

Documentation

For advanced configuration options, visit the Official Documentation.

Downloads last month
257
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train lopatnov/glotlid