RaphaelMourad commited on
Commit
32544fc
·
verified ·
1 Parent(s): 6ff8ce3

Update README.md

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