Update README.md
Browse files
README.md
CHANGED
|
@@ -54,11 +54,11 @@ sample_dict = ProteinSolubilityTask.data_preprocessing(
|
|
| 54 |
sample_dict=sample_dict,
|
| 55 |
protein_sequence_key="protein_seq",
|
| 56 |
tokenizer_op=tokenizer_op,
|
| 57 |
-
device=
|
| 58 |
)
|
| 59 |
|
| 60 |
# running in generate mode
|
| 61 |
-
batch_dict =
|
| 62 |
[sample_dict],
|
| 63 |
output_scores=True,
|
| 64 |
return_dict_in_generate=True,
|
|
@@ -81,7 +81,7 @@ For more advanced usage, see our detailed example at: on `https://github.com/Bio
|
|
| 81 |
|
| 82 |
## Citation
|
| 83 |
|
| 84 |
-
If you found our work useful, please consider
|
| 85 |
```
|
| 86 |
@article{TBD,
|
| 87 |
title={TBD},
|
|
|
|
| 54 |
sample_dict=sample_dict,
|
| 55 |
protein_sequence_key="protein_seq",
|
| 56 |
tokenizer_op=tokenizer_op,
|
| 57 |
+
device=model.device,
|
| 58 |
)
|
| 59 |
|
| 60 |
# running in generate mode
|
| 61 |
+
batch_dict = model.generate(
|
| 62 |
[sample_dict],
|
| 63 |
output_scores=True,
|
| 64 |
return_dict_in_generate=True,
|
|
|
|
| 81 |
|
| 82 |
## Citation
|
| 83 |
|
| 84 |
+
If you found our work useful, please consider giving a star to the repo and cite our paper:
|
| 85 |
```
|
| 86 |
@article{TBD,
|
| 87 |
title={TBD},
|