Update README.md
Browse files
README.md
CHANGED
|
@@ -87,21 +87,21 @@ Below are example invocations. Replace the checkpoint filename and HLA tag with
|
|
| 87 |
### Example 1 — using a file you downloaded to `./models`
|
| 88 |
|
| 89 |
```bash
|
| 90 |
-
python3
|
| 91 |
```
|
| 92 |
|
| 93 |
### Example 2 — let the script pull from the Hub automatically
|
| 94 |
|
| 95 |
-
If `
|
| 96 |
|
| 97 |
```bash
|
| 98 |
-
python3
|
| 99 |
```
|
| 100 |
|
| 101 |
or
|
| 102 |
|
| 103 |
```bash
|
| 104 |
-
python3
|
| 105 |
```
|
| 106 |
|
| 107 |
### GPU vs CPU
|
|
|
|
| 87 |
### Example 1 — using a file you downloaded to `./models`
|
| 88 |
|
| 89 |
```bash
|
| 90 |
+
python3 embeddings_generation.py --model_path ./models/ESMCBA_epitope_0.5_20_ESMMASK_epitope_FT_15_0.0001_1e-05_AUG_6_HLAB5101_5_0.001_1e-06__3_B5101_Hubber_B5101_final.pth --name B5101-ESMCBA --hla B5101 --encoding epitope --output_dir ./outputs --peptides ASCQQQRAGHS ASCQQQRAGH ASCQQQRAG DVRLSAHHHR DVRLSAHHHRM GHSDVRLSAHH
|
| 91 |
```
|
| 92 |
|
| 93 |
### Example 2 — let the script pull from the Hub automatically
|
| 94 |
|
| 95 |
+
If `embeddings_generation.py` supports resolving from the Hub, you can pass either a file name or an `hf://` path and let the script download to cache.
|
| 96 |
|
| 97 |
```bash
|
| 98 |
+
python3 embeddings_generation.py --model_path "ESMCBA_epitope_0.95_30_ESMMASK_epitope_FT_25_0.001_5e-05_AUG_3_HLAB1402_2_1e-05_1e-06__1_B1402_0404_Hubber_B1402_final.pth" --name B1402-ESMCBA --hla B1402 --encoding epitope --output_dir ./outputs --peptides ASCQQQRAGHS ASCQQQRAGH ASCQQQRAG DVRLSAHHHR DVRLSAHHHRM GHSDVRLSAHH
|
| 99 |
```
|
| 100 |
|
| 101 |
or
|
| 102 |
|
| 103 |
```bash
|
| 104 |
+
python3 embeddings_generation.py --model_path "hf://smares/ESMCBA/ESMCBA_epitope_0.95_30_ESMMASK_epitope_FT_25_0.001_5e-05_AUG_3_HLAB1402_2_1e-05_1e-06__1_B1402_0404_Hubber_B1402_final.pth" --name B1402-ESMCBA --hla B1402 --encoding epitope --output_dir ./outputs --peptides ASCQQQRAGHS ASCQQQRAGH ASCQQQRAG DVRLSAHHHR DVRLSAHHHRM GHSDVRLSAHH
|
| 105 |
```
|
| 106 |
|
| 107 |
### GPU vs CPU
|