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

jinaai
/
jina-bert-flash-implementation

Transformers
bert
custom_code
🇪🇺 Region: EU
Model card Files Files and versions
xet
Community
18

Instructions to use jinaai/jina-bert-flash-implementation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jinaai/jina-bert-flash-implementation with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("jinaai/jina-bert-flash-implementation", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
jina-bert-flash-implementation
Ctrl+K
Ctrl+K
  • 6 contributors
History: 109 commits
koukandre's picture
koukandre
feat-add-configs (#18)
b78d159 verified almost 2 years ago
  • README.md
    1.89 kB
    feat: added README about 2 years ago
  • bert_padding.py
    9.78 kB
    reference the flash attention GitHub about 2 years ago
  • block.py
    17.4 kB
    reference the flash attention GitHub about 2 years ago
  • config.json
    1.24 kB
    feat-add-configs (#18) almost 2 years ago
  • configuration_bert.py
    5.77 kB
    Porting v2 models to flash attention (#15) about 2 years ago
  • convert_v2_weights.py
    6.1 kB
    feat: for converting v2, added lines to save model weights and print config about 2 years ago
  • embedding.py
    2.26 kB
    clean up embeddings.py (#7) about 2 years ago
  • mha.py
    35.4 kB
    fix: handle window_size passed as list almost 2 years ago
  • mlp.py
    8.05 kB
    fix-glu-mlp (#17) about 2 years ago
  • modeling_bert.py
    33.4 kB
    fix-glu-mlp (#17) about 2 years ago
  • modeling_for_glue.py
    10.7 kB
    feat: assert return_dict about 2 years ago
  • modeling_lora.py
    12.3 kB
    fix: use staticmethod istead of classmethod about 2 years ago