Spaces:
Running
Running
Commit
·
b2bd3dc
1
Parent(s):
fca55e1
Update README.md
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🔥
|
|
4 |
colorFrom: green
|
5 |
colorTo: indigo
|
6 |
sdk: static
|
7 |
-
pinned:
|
8 |
---
|
9 |
|
10 |
## A Fine-Tuned GPT for De Novo Therapeutic Antibodies
|
@@ -74,4 +74,4 @@ with torch.no_grad():
|
|
74 |
output = model.generate(**tokenized_sequence, max_length=1024, pad_token_id=tokenizer.pad_token_id, do_sample=True, top_p=0.9, temperature=0.8, num_return_sequences=number_of_sequences)
|
75 |
|
76 |
# Decoding the output to get generated sequences
|
77 |
-
generated_sequences = [tokenizer.decode(output_seq, skip_special_tokens=True) for output_seq in output]
|
|
|
4 |
colorFrom: green
|
5 |
colorTo: indigo
|
6 |
sdk: static
|
7 |
+
pinned: true
|
8 |
---
|
9 |
|
10 |
## A Fine-Tuned GPT for De Novo Therapeutic Antibodies
|
|
|
74 |
output = model.generate(**tokenized_sequence, max_length=1024, pad_token_id=tokenizer.pad_token_id, do_sample=True, top_p=0.9, temperature=0.8, num_return_sequences=number_of_sequences)
|
75 |
|
76 |
# Decoding the output to get generated sequences
|
77 |
+
generated_sequences = [tokenizer.decode(output_seq, skip_special_tokens=True) for output_seq in output]
|