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)# pip install -U transformers accelerate # 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, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Create README.md
Verified signaturec56e67e
-
Rename LICENSE.txt to LICENSE
55e0c0e -
Upload LICENSE.txt
de65157
-
Update dnabert_layer.py
b054dd3 -
Update config.json
a794b19
-
Update config.json
97755ae -
Update dnabert_layer.py
3ea006c -
Update config.json
46964ab
-
Update config.json
6af99ba -
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.3183ac4
-
Upload vocab.txt
a79a8fd -
Upload tokenizer_config.json
e830c91 -
Upload special_tokens_map.json
5c4b243 -
Upload config.json
c44e28d -
Upload pytorch_model.bin with git-lfs
a4847fe -
initial commit
86bf334