RaphaelMourad commited on
Commit
09992f2
·
verified ·
1 Parent(s): b555389

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -33,8 +33,8 @@ model = AutoModel.from_pretrained("RaphaelMourad/Mistral-DNA-v1-17M-hg38", trust
33
  ## Calculate the embedding of a protein sequence
34
 
35
  ```
36
- insulin = "TGATGATTGGCGCGGCTAGGATCGGCT"
37
- inputs = tokenizer(insulin, return_tensors = 'pt')["input_ids"]
38
  hidden_states = model(inputs)[0] # [1, sequence_length, 256]
39
 
40
  # embedding with max pooling
 
33
  ## Calculate the embedding of a protein sequence
34
 
35
  ```
36
+ dna = "TGATGATTGGCGCGGCTAGGATCGGCT"
37
+ inputs = tokenizer(dna, return_tensors = 'pt')["input_ids"]
38
  hidden_states = model(inputs)[0] # [1, sequence_length, 256]
39
 
40
  # embedding with max pooling