Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,21 @@
|
|
1 |
-
---
|
2 |
-
license: afl-3.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: afl-3.0
|
3 |
+
---
|
4 |
+
Here only provides a simple, useful template. For more details, please visit the [HuDiff GitHub repository](https://github.com/TencentAI4S/HuDiff).
|
5 |
+
## HuDiff-Ab Humanization
|
6 |
+
There are two ways to humanize an antibody, either by using a complex fasta file containing antigen-antibody sequences or by providing individual heavy and light chain sequences.
|
7 |
+
```
|
8 |
+
python antibody_scripts/sample_for_anti_cdr.py
|
9 |
+
--ckpt checkpoints/antibody/hudiffab.pt
|
10 |
+
--anti_complex_fasta data/fasta_file/7k9i.fasta
|
11 |
+
```
|
12 |
+
Keep in mind that you need to replace 7k9i.fasta.
|
13 |
+
## HuDiff-Nb Humanization
|
14 |
+
Using the fasta file of the nanobody, our model can humanize it. If you require a higher degree of humanization, consider increasing the batch size or the number of samplings.
|
15 |
+
```
|
16 |
+
python nanobody_scripts/sample_for_nano_cdr.py
|
17 |
+
--ckpt checkpoints/nanobody/hudiffnb.pt
|
18 |
+
--nano_complex_fasta data/fasta_file/7x2l.fasta
|
19 |
+
--model finetune_vh
|
20 |
+
--inpaint_sample True
|
21 |
+
```
|