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
xlm-roberta-base-language-detection
3.35 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 14 commits
papluca's picture
papluca
Add model usage info
9865598 over 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#9) over 2 years ago
  • README.md
    7.18 kB
    Add model usage info over 2 years ago
  • config.json
    1.42 kB
    add model over 4 years ago
  • model.safetensors
    1.11 GB
    xet
    Adding `safetensors` variant of this model (#9) over 2 years ago
  • pytorch_model.bin
    1.11 GB
    xet
    add model over 4 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    add tokenizer over 4 years ago
  • special_tokens_map.json
    239 Bytes
    add tokenizer over 4 years ago
  • tf_model.h5
    1.11 GB
    xet
    add model over 4 years ago
  • tokenizer.json
    9.08 MB
    add tokenizer over 4 years ago
  • tokenizer_config.json
    502 Bytes
    add tokenizer over 4 years ago