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
Transfer repos to author Zhihan Zhou (@zhihan1996)
#1
by julien-c - opened
Hi @armheb ,
Zhihan Zhou (@zhihan1996 ) has reached out to us and we proposed that we could consider moving this repo (and the other DNA_bert ones) to their user account.
Theoretically, this shouldn't break existing usage as we redirect renamed repos.
Would you be ok with this?
Hi @julien-c ,
Thanks for reaching out. yes of course. I already discussed it with Zhihan Zhou (@zhihan1996 ). Please let me know if there is something that needs to be done on my side.
All the DNA_bert repos were transferred to @zhihan1996 :)