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

Pramodith
/
bert-sparse-sliding-window-attention

Fill-Mask
Transformers
Safetensors
bert
Model card Files Files and versions
xet
Community

Instructions to use Pramodith/bert-sparse-sliding-window-attention with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Pramodith/bert-sparse-sliding-window-attention with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="Pramodith/bert-sparse-sliding-window-attention")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("Pramodith/bert-sparse-sliding-window-attention")
    model = AutoModelForMaskedLM.from_pretrained("Pramodith/bert-sparse-sliding-window-attention")
  • Notebooks
  • Google Colab
  • Kaggle
bert-sparse-sliding-window-attention
441 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Pramodith's picture
Pramodith
Training in progress, step 400
1165d50 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    670 Bytes
    Training in progress, step 10 over 2 years ago
  • model.safetensors
    440 MB
    xet
    Training in progress, step 400 over 2 years ago
  • special_tokens_map.json
    125 Bytes
    Training in progress, step 10 over 2 years ago
  • tokenizer.json
    711 kB
    Training in progress, step 10 over 2 years ago
  • tokenizer_config.json
    1.19 kB
    Training in progress, step 10 over 2 years ago
  • training_args.bin
    4.54 kB
    xet
    Training in progress, step 200 over 2 years ago
  • vocab.txt
    232 kB
    Training in progress, step 10 over 2 years ago