fastText
multilingual
language-identification

LID-176 Models for Lopatnov.Translate

This repository contains LID-176 models for the Lopatnov.Translate service. These files are mirrors of the original models from the julien-c/fasttext-language-id repository. You can also download the official models directly from https://fasttext.cc/docs/en/language-identification.html

Configuration

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

Example configuration:

{
  "Models": {
    "lid-176-bin": {
      "Type": "FastText",
      "LabelFormat": "iso639-1", // LID-176 outputs ISO 639-1 codes (en, de, fr, etc.)
      "LabelPrefix": "__label__",
      "Path": "../../models/detect-lang/fasttext-language-id/lid.176.bin" // .ftz and .bin formats are both supported
    },
  },
  "Translation": {
    "AutoDetect": "lid-176-bin"
  }
}

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

Documentation

For advanced configuration options, visit the Official Documentation.

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

Datasets used to train lopatnov/fasttext-language-id