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

  • Log In
  • Sign Up

nikitast
/
lang-classifier-roberta

Text Classification
Transformers
PyTorch
xlm-roberta
language classification
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use nikitast/lang-classifier-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use nikitast/lang-classifier-roberta with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="nikitast/lang-classifier-roberta")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("nikitast/lang-classifier-roberta")
    model = AutoModelForSequenceClassification.from_pretrained("nikitast/lang-classifier-roberta")
  • Notebooks
  • Google Colab
  • Kaggle
lang-classifier-roberta
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
bc8bf9d about 3 years ago
  • .gitattributes
    1.28 kB
    Adding `safetensors` variant of this model about 3 years ago
  • README.md
    1.1 kB
    Add multilingual to the language tag (#1) over 3 years ago
  • config.json
    1.11 kB
    add model almost 4 years ago
  • model.safetensors
    1.11 GB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    1.11 GB
    xet
    add model almost 4 years ago
  • special_tokens_map.json
    239 Bytes
    add tokenizer almost 4 years ago
  • tokenizer.json
    17.1 MB
    xet
    add tokenizer almost 4 years ago
  • tokenizer_config.json
    398 Bytes
    add tokenizer almost 4 years ago