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

dstilesr
/
glotlid-roberta-classifier

Text Classification
Transformers
Safetensors
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use dstilesr/glotlid-roberta-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="dstilesr/glotlid-roberta-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("dstilesr/glotlid-roberta-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("dstilesr/glotlid-roberta-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
glotlid-roberta-classifier
589 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
dstilesr's picture
dstilesr
Tokenizer comment 'Train Existing Classifier with Contrastive Training'
f1bc79d verified 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • README.md
    5.17 kB
    Model comment 'From pretrained transformer - Classification Loss Only' 9 months ago
  • config.json
    59.1 kB
    Model comment 'Train Existing Classifier with Contrastive Training' 8 months ago
  • model.safetensors
    583 MB
    xet
    Model comment 'Train Existing Classifier with Contrastive Training' 8 months ago
  • special_tokens_map.json
    971 Bytes
    Tokenizer comment 'Train Existing Classifier with Contrastive Training' 8 months ago
  • tokenizer.json
    5.65 MB
    Tokenizer comment 'Train Existing Classifier with Contrastive Training' 8 months ago
  • tokenizer_config.json
    1.58 kB
    Tokenizer comment 'Train Existing Classifier with Contrastive Training' 8 months ago