YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

Language Detection Model

Overview

This model is designed for language detection. It can classify text into three languages: English, Russian, and Uzbek.

Usage

  • Load the model using the Hugging Face Transformers library.
  • Preprocess your text data.
  • Make predictions with the model.

Model Files

  • config.json: Model configuration.
  • pytorch_model.bin: Model weights.

Example

Here's how to use the model in Python:

# Load the model
from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("Jurabek/language_identifications")
tokenizer = AutoTokenizer.from_pretrained("Jurabek/language_identifications")


inputs = tokenizer(audio, return_tensors="pt")
outputs = model(**inputs)
predicted_class = outputs.logits.argmax().item()
Downloads last month
0
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no pipeline_tag.