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

zhihan1996
/
DNA_bert_6

Fill-Mask
Transformers
PyTorch
bert
biology
genomics
custom_code
Model card Files Files and versions
xet
Community
13

Instructions to use zhihan1996/DNA_bert_6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use zhihan1996/DNA_bert_6 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="zhihan1996/DNA_bert_6", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("zhihan1996/DNA_bert_6", trust_remote_code=True)
    model = AutoModelForMaskedLM.from_pretrained("zhihan1996/DNA_bert_6", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
DNA_bert_6
359 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
moeinh77's picture
moeinh77
the calling card for how to use dna_bert with huggingface API
038001b about 3 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    1.17 kB
    the calling card for how to use dna_bert with huggingface API about 3 years ago
  • config.json
    1.11 kB
    Upload config.json over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    359 MB
    xet
    Upload pytorch_model.bin with git-lfs over 4 years ago
  • special_tokens_map.json
    112 Bytes
    Upload special_tokens_map.json over 4 years ago
  • tokenizer_config.json
    40 Bytes
    Upload tokenizer_config.json over 4 years ago
  • vocab.txt
    28.7 kB
    Upload vocab.txt over 4 years ago