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

raphaelsty
/
distilbert-splade

Fill-Mask
Transformers
PyTorch
Safetensors
English
distilbert
Model card Files Files and versions
xet
Community
2

Instructions to use raphaelsty/distilbert-splade with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use raphaelsty/distilbert-splade with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="raphaelsty/distilbert-splade")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("raphaelsty/distilbert-splade")
    model = AutoModelForMaskedLM.from_pretrained("raphaelsty/distilbert-splade", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-splade
1.52 kB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 1 commit
raphaelsty's picture
raphaelsty
initial commit
6b1ff7f about 3 years ago
  • .gitattributes
    1.52 kB
    initial commit about 3 years ago