nferruz fstocco commited on
Commit
f71aa6c
1 Parent(s): 4425556

Update README.md (#49)

Browse files

- Update README.md (5ff783685a4b917a1a29cb6f317c8f04ffdd0658)


Co-authored-by: Filippo Stocco <fstocco@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -75,7 +75,7 @@ sequence='MGEAMGLTQPAVSRAVARLEERVGIRIFNRTARAITLTDEGRRFYEAVAPLLAGIEMHGYR\nVNVEGVA
75
  #(note we have to introduce new line characters every 60 amino acids,
76
  #following the FASTA file format).
77
 
78
- sequence = "<|endoftext|>MGEAMGLTQPAVSRAVARLEERVGIRIFNRTARAITLTDEGRRFYEAVAPLLAGIEMHGY\nRVNVEGVAQLLELYARDILAEGRLVQLLPEWAD<|endoftext|>"
79
 
80
  # ppl function
81
  def calculatePerplexity(sequence, model, tokenizer):
 
75
  #(note we have to introduce new line characters every 60 amino acids,
76
  #following the FASTA file format).
77
 
78
+ sequence = "<|endoftext|>\nMGEAMGLTQPAVSRAVARLEERVGIRIFNRTARAITLTDEGRRFYEAVAPLLAGIEMHGY\nRVNVEGVAQLLELYARDILAEGRLVQLLPEWAD\n<|endoftext|>"
79
 
80
  # ppl function
81
  def calculatePerplexity(sequence, model, tokenizer):