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-distilroberta-base-4096

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

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="ccdv/lsg-distilroberta-base-4096", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-distilroberta-base-4096", trust_remote_code=True)
    model = AutoModelForMaskedLM.from_pretrained("ccdv/lsg-distilroberta-base-4096", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
lsg-distilroberta-base-4096
345 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
ccdv's picture
ccdv
small fix
44bd267 over 2 years ago
  • .gitattributes
    1.18 kB
    readme almost 4 years ago
  • README.md
    6.15 kB
    small fix over 2 years ago
  • attn.png
    50.1 kB
    readme almost 4 years ago
  • config.json
    1.62 kB
    add mask_first_token almost 4 years ago
  • merges.txt
    456 kB
    readme almost 4 years ago
  • modeling_lsg_roberta.py
    46.4 kB
    small fix over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch.LongStorage"

    What is a pickle import?

    341 MB
    xet
    readme almost 4 years ago
  • special_tokens_map.json
    239 Bytes
    readme almost 4 years ago
  • tokenizer.json
    2.11 MB
    readme almost 4 years ago
  • tokenizer_config.json
    356 Bytes
    readme almost 4 years ago
  • vocab.json
    798 kB
    readme almost 4 years ago