Update README.md (#49)
Browse files- Update README.md (5ff783685a4b917a1a29cb6f317c8f04ffdd0658)
Co-authored-by: Filippo Stocco <fstocco@users.noreply.huggingface.co>
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
|
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):
|