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: 56 commits
Markus28's picture
Markus28
reference the flash attention GitHub
eec6c0e 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
  • configuration_bert.py
    5.68 kB
    feat: moved flash attention code into this repository about 2 years ago
  • embedding.py
    6.43 kB
    reference the flash attention GitHub about 2 years ago
  • mha.py
    35.3 kB
    reference the flash attention GitHub about 2 years ago
  • mlp.py
    6.17 kB
    reference the flash attention GitHub about 2 years ago
  • modeling_bert.py
    28.6 kB
    fix: move flash components into top-level about 2 years ago
  • tokenizer.py
    2.55 kB
    add tokenizer about 2 years ago