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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

lear-lab
/
modernbert-content

Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use lear-lab/modernbert-content with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use lear-lab/modernbert-content with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="lear-lab/modernbert-content")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("lear-lab/modernbert-content")
    model = AutoModelForSequenceClassification.from_pretrained("lear-lab/modernbert-content", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-content / modernbert_content_model
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
wesleymorris's picture
wesleymorris
modernbert-content
c906102 verified over 1 year ago
  • config.json
    1.42 kB
    modernbert-content over 1 year ago
  • model.safetensors
    598 MB
    xet
    modernbert-content over 1 year ago
  • special_tokens_map.json
    694 Bytes
    modernbert-content over 1 year ago
  • tokenizer.json
    3.58 MB
    modernbert-content over 1 year ago
  • tokenizer_config.json
    20.8 kB
    modernbert-content over 1 year ago
  • training_args.bin
    5.3 kB
    xet
    modernbert-content over 1 year ago