RaphaelMourad commited on
Commit
8b7cc1d
1 Parent(s): e7c188c

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-Peptide-v1-15M", trust_
33
  ## Calculate the embedding of a protein sequence
34
 
35
  ```
36
- insulin = "MALWMRLLPLLALLALWG"
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
+ peptide = "MALWMRLLPLLALLALWG"
37
+ inputs = tokenizer(peptide, return_tensors = 'pt')["input_ids"]
38
  hidden_states = model(inputs)[0] # [1, sequence_length, 256]
39
 
40
  # embedding with max pooling