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
May I ask you a question? What is the difference between this model and the one provided by the DNABERT repo in "https://github.com/jerryji1993/DNABERT"?
#12
by HexYang - opened
May I ask you a question?
What is the difference between this model and the one provided by the DNABERT repo?
https://huggingface.co/zhihan1996/DNA_bert_6
v.s.
https://drive.google.com/file/d/1BJjqb5Dl2lNMg2warsFQ0-Xvn1xxfFXC/view?usp=sharing
Hi,
Another question I have is, what data is this DNA_bert_6 model trained on?
Is it a human reference genome? Or is it a larger dataset consistent with DNABERT2?
I'm looking forward to your reply, thank u.