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

zhangtaolab
/
dnabert2-conservation

Text Classification
Transformers
Safetensors
bert
DNA
biology
genomics
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use zhangtaolab/dnabert2-conservation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use zhangtaolab/dnabert2-conservation with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="zhangtaolab/dnabert2-conservation", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("zhangtaolab/dnabert2-conservation", trust_remote_code=True)
    model = AutoModelForSequenceClassification.from_pretrained("zhangtaolab/dnabert2-conservation", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
dnabert2-conservation
469 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
lgq12697's picture
lgq12697
Add DNABERT-2 model for sequence conservation prediction
5babb4a almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    4.8 kB
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago
  • bert_layers.py
    40.8 kB
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago
  • bert_padding.py
    6.1 kB
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago
  • config.json
    1.15 kB
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago
  • configuration_bert.py
    1.02 kB
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago
  • flash_attn_triton.py
    42.7 kB
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago
  • model.safetensors
    468 MB
    xet
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago
  • tokenizer.json
    168 kB
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago
  • tokenizer_config.json
    1.11 kB
    Add DNABERT-2 model for sequence conservation prediction almost 2 years ago