gbyuvd commited on
Commit
7e79752
1 Parent(s): b32c565

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -534,7 +534,7 @@ from transformers import AutoTokenizer, AutoModel, utils
534
  from bertviz import model_view
535
  utils.logging.set_verbosity_error() # Suppress standard warnings
536
 
537
- model_name = "./mlm/2-chunk-3o"
538
  input_text = "[C] [C] [=Branch1] [C] [=O] [O] [C] [C] [N+1] [Branch1] [C] [C] [Branch1] [C] [C] [C]"
539
  model = AutoModel.from_pretrained(model_name, output_attentions=True) # Configure model to return attention values
540
  tokenizer = AutoTokenizer.from_pretrained(model_name)
 
534
  from bertviz import model_view
535
  utils.logging.set_verbosity_error() # Suppress standard warnings
536
 
537
+ model_name = "gbyuvd/chemselfies-base-bertmlm"
538
  input_text = "[C] [C] [=Branch1] [C] [=O] [O] [C] [C] [N+1] [Branch1] [C] [C] [Branch1] [C] [C] [C]"
539
  model = AutoModel.from_pretrained(model_name, output_attentions=True) # Configure model to return attention values
540
  tokenizer = AutoTokenizer.from_pretrained(model_name)