Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

papluca
/
xlm-roberta-base-language-detection

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Model card Files Files and versions
xet
Community
18

Instructions to use papluca/xlm-roberta-base-language-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use papluca/xlm-roberta-base-language-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="papluca/xlm-roberta-base-language-detection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("papluca/xlm-roberta-base-language-detection")
    model = AutoModelForSequenceClassification.from_pretrained("papluca/xlm-roberta-base-language-detection")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Create Puplica

#18 opened 6 months ago by
ViolettaY

Adding ONNX file of this model

#17 opened over 1 year ago by
motirodan

onnx-model

๐Ÿ‘ 1
#16 opened over 1 year ago by
fishcharlie

How can I add some some new languages into your model?

2
#15 opened over 1 year ago by
throsun

Cannot distinguish between Simplified Chinese and Traditional Chinese.

#12 opened about 2 years ago by
RDY97

How can you build a model like that ?

#11 opened over 2 years ago by
MohamedZouabi

Poor results with informal English greetings

๐Ÿ‘ 2
2
#10 opened over 2 years ago by
ymurenko

Update README.md

#3 opened about 3 years ago by
xuzichu

"Hola" is classified as "sw"

#2 opened about 3 years ago by
juanmanavarro
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs