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

  • Log In
  • Sign Up

impresso-project
/
language-identifier

Token Classification
Transformers
langident
language-identification
multilingual
historical
impresso
custom_code
Model card Files Files and versions
xet
Community

Instructions to use impresso-project/language-identifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use impresso-project/language-identifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="impresso-project/language-identifier", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForTokenClassification
    model = AutoModelForTokenClassification.from_pretrained("impresso-project/language-identifier", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
language-identifier
Ctrl+K
Ctrl+K
  • 4 contributors
History: 22 commits
simon-clmtd's picture
simon-clmtd
Add model specification and test set information
37ffd63 verified 6 months ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    4.26 kB
    Add model specification and test set information 6 months ago
  • __init__.py
    0 Bytes
    added emas pipeline about 1 year ago
  • config.json
    571 Bytes
    Change names from lang-detect to langident for consistency. about 1 year ago
  • configuration_lang.py
    377 Bytes
    Change names from lang-detect to langident for consistency. about 1 year ago
  • langident-v1.0.0.bin
    32 MB
    xet
    renaming model about 1 year ago
  • langident.py
    970 Bytes
    Fix confidence score rounding in model output for JSON compatibility about 1 year ago
  • modeling_lang.py
    1.98 kB
    added emas pipeline about 1 year ago
  • requirements.txt
    22 Bytes
    added emas pipeline about 1 year ago
  • test.py
    799 Bytes
    Change task name in test to langident about 1 year ago