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
1.93 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
wesleymorris's picture
wesleymorris
Update README.md
1e19b6b verified over 1 year ago
  • modernbert_content_model
    modernbert-content over 1 year ago
  • modernbert_content_model_prelim
    modernbert-content over 1 year ago
  • wandb
    modernbert-content over 1 year ago
  • .gitattributes
    50.4 kB
    modernbert-content over 1 year ago
  • README.md
    3.43 kB
    Update README.md 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