Instructions to use zhihan1996/DNA_bert_3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhihan1996/DNA_bert_3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="zhihan1996/DNA_bert_3", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("zhihan1996/DNA_bert_3", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("zhihan1996/DNA_bert_3", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Create README.md
Verified signature6531a53
-
Rename LICENSE.txt to LICENSE
fc85097 -
Upload LICENSE.txt
fb6324b
-
Update config.json
a0882ab
-
Update dnabert_layer.py
73fdf64 -
Update config.json
5e31d58
-
Update dnabert_layer.py
4d27ab1 -
Update config.json
17cda73
-
Update config.json
da664dd -
Upload 2 files
Enable input longer than 512 by truncating it into multiple pieces of 512-length sequences and taking the average embedding as the input embedding.0a03898
-
Upload vocab.txt
ed28178 -
Upload tokenizer_config.json
d89144a -
Upload special_tokens_map.json
d48b3fb -
Upload pytorch_model.bin with git-lfs
385dbdb -
Upload config.json
fba84a5 -
initial commit
336c044