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

buetnlpbio
/
bpe-only-dna-bert

Fill-Mask
Transformers
PyTorch
bert
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use buetnlpbio/bpe-only-dna-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use buetnlpbio/bpe-only-dna-bert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="buetnlpbio/bpe-only-dna-bert", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("buetnlpbio/bpe-only-dna-bert", trust_remote_code=True)
    model = AutoModelForMaskedLM.from_pretrained("buetnlpbio/bpe-only-dna-bert", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
bpe-only-dna-bert
468 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
buetnlpbio's picture
buetnlpbio
Upload 4 files
68d7177 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    1.28 kB
    Update README.md almost 2 years ago
  • bert_layers.py
    47.3 kB
    Upload 4 files almost 2 years ago
  • bert_padding.py
    6.26 kB
    Upload 4 files almost 2 years ago
  • config.json
    894 Bytes
    Update config.json almost 2 years ago
  • configuration_bert.py
    1.02 kB
    Upload 4 files almost 2 years ago
  • flash_attn_triton.py
    42.7 kB
    Upload 4 files almost 2 years ago
  • generation_config.json
    90 Bytes
    Upload BertForMaskedLM almost 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    468 MB
    xet
    Upload BertForMaskedLM almost 2 years ago