Instructions to use zhihan1996/DNABERT-2-117M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhihan1996/DNABERT-2-117M with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zhihan1996/DNABERT-2-117M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Some weights of the model checkpoint at ../DNABERT-2-117M/ were not used when initializing BertModel
#2
by Yudy95 - opened
Hey,
This is not expected. As shown in the warning, most of the weights are randomly initialized instead of been loaded. This is because the model I uploaded has different parameter name as the original BERT model. So please let the model with:
model = AutoModel.from_pretrained("zhihan1996/DNABERT-2-117M", trust_remote_code=True)
zhihan1996 changed discussion status to closed
