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

ccdv
/
lsg-distilbert-base-uncased-4096

Fill-Mask
Transformers
PyTorch
English
distilbert
long context
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use ccdv/lsg-distilbert-base-uncased-4096 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ccdv/lsg-distilbert-base-uncased-4096 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="ccdv/lsg-distilbert-base-uncased-4096", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-distilbert-base-uncased-4096", trust_remote_code=True)
    model = AutoModelForMaskedLM.from_pretrained("ccdv/lsg-distilbert-base-uncased-4096", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
lsg-distilbert-base-uncased-4096
283 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
ccdv's picture
ccdv
small fix
79cac77 over 2 years ago
  • .gitattributes
    1.23 kB
    readme almost 4 years ago
  • README.md
    6.19 kB
    small fix over 2 years ago
  • attn.png
    50.1 kB
    readme almost 4 years ago
  • config.json
    1.46 kB
    add mask_first_token almost 4 years ago
  • modeling_lsg_distilbert.py
    36.1 kB
    small fix over 2 years ago
  • pytorch_model.bin
    282 MB
    xet
    readme almost 4 years ago
  • special_tokens_map.json
    112 Bytes
    readme almost 4 years ago
  • tokenizer.json
    711 kB
    readme almost 4 years ago
  • tokenizer_config.json
    334 Bytes
    readme almost 4 years ago
  • vocab.txt
    232 kB
    readme almost 4 years ago