--- language: multilingual tags: - fasttext - language-identification datasets: - wikipedia - tatoeba - setimes license: cc-by-sa-4.0 library_name: fasttext inference: false --- # LID-176 Models for Lopatnov.Translate This repository contains LID-176 models for the [Lopatnov.Translate](https://github.com/lopatnov/translate) service. These files are mirrors of the original models from the [julien-c/fasttext-language-id](https://huggingface.co/julien-c/fasttext-language-id) repository. You can also download the official models directly from ## Configuration To configure model for the service, please modify `appsettings.json`: ### Example configuration: ```json { "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](https://github.com/lopatnov/translate/blob/main/docs/models.md#lid-176).