Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

polyglot-tagger
/
language-identification

Token Classification
Transformers
TensorBoard
Safetensors
xlm-roberta
Generated from Trainer
language-identification
codeswitching
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use polyglot-tagger/language-identification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use polyglot-tagger/language-identification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="polyglot-tagger/language-identification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("polyglot-tagger/language-identification")
    model = AutoModelForTokenClassification.from_pretrained("polyglot-tagger/language-identification")
  • Notebooks
  • Google Colab
  • Kaggle
language-identification / runs
340 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
DerivedFunction's picture
DerivedFunction
Upload 2 files
2b25b4f verified 24 days ago
  • Apr18_07-28-03_eb1a4e9ac74e
    Upload 2 files 24 days ago
  • Apr18_23-31-44_8a990ec18c22
    Upload 2 files 24 days ago