Instructions to use Tsuboyama-Lab/monoyield-predictor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Tsuboyama-Lab/monoyield-predictor with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Model card: Apache-2.0, GitHub URL tsubo-lab
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
library_name: peft
|
| 4 |
base_model:
|
| 5 |
- biohub/ESMC-6B
|
|
@@ -15,7 +15,7 @@ tags:
|
|
| 15 |
# monoyield-predictor: trained weights
|
| 16 |
|
| 17 |
LoRA adapters and regression heads that predict the **monomeric expression yield in *E. coli*** (log10 mg/L) of a protein sequence.
|
| 18 |
-
Companion weights of the paper *[title - to be filled]* and the code repository **
|
| 19 |
|
| 20 |
The files contain only the trained LoRA matrices and the regression head (7-12 MB per fold). The frozen base models are downloaded from Hugging Face when the code runs.
|
| 21 |
|
|
@@ -30,10 +30,10 @@ Each folder holds five fold checkpoints, `<model>_1.pt ... <model>_5.pt`; predic
|
|
| 30 |
|
| 31 |
## Usage
|
| 32 |
```bash
|
| 33 |
-
git clone
|
| 34 |
cd monoyield-predictor
|
| 35 |
pip install -e .
|
| 36 |
-
HF_REPO=
|
| 37 |
python scripts/predict_esmc_mlp_head.py --external_csv examples/example_main_library.csv \
|
| 38 |
--model_dir weights/esmc_monoyield --model_name biohub/ESMC-6B \
|
| 39 |
--model_revision 45b0fa5d7fb06faefbd5e3b89bdcef35d564e79a --dtype float32 --batch_size 1 --out_csv predictions.csv
|
|
@@ -42,7 +42,7 @@ See the code repository for all models, input formats and training commands.
|
|
| 42 |
ESMC-6B in fp32 needs a GPU with about 48 GB of memory (`--dtype bfloat16` fits 24 GB but should be validated).
|
| 43 |
|
| 44 |
## License and terms
|
| 45 |
-
The adapters are released under the
|
| 46 |
ESMC-6B (MIT with third-party notices and the Biohub Acceptable Use Policy, https://biohub.org/acceptable-use-policy/) and SaProt (MIT).
|
| 47 |
|
| 48 |
## Citation
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
library_name: peft
|
| 4 |
base_model:
|
| 5 |
- biohub/ESMC-6B
|
|
|
|
| 15 |
# monoyield-predictor: trained weights
|
| 16 |
|
| 17 |
LoRA adapters and regression heads that predict the **monomeric expression yield in *E. coli*** (log10 mg/L) of a protein sequence.
|
| 18 |
+
Companion weights of the paper *[title - to be filled]* and the code repository **https://github.com/tsubo-lab/monoyield-predictor**.
|
| 19 |
|
| 20 |
The files contain only the trained LoRA matrices and the regression head (7-12 MB per fold). The frozen base models are downloaded from Hugging Face when the code runs.
|
| 21 |
|
|
|
|
| 30 |
|
| 31 |
## Usage
|
| 32 |
```bash
|
| 33 |
+
git clone https://github.com/tsubo-lab/monoyield-predictor
|
| 34 |
cd monoyield-predictor
|
| 35 |
pip install -e .
|
| 36 |
+
HF_REPO=Tsuboyama-Lab/monoyield-predictor bash download_weights.sh weights
|
| 37 |
python scripts/predict_esmc_mlp_head.py --external_csv examples/example_main_library.csv \
|
| 38 |
--model_dir weights/esmc_monoyield --model_name biohub/ESMC-6B \
|
| 39 |
--model_revision 45b0fa5d7fb06faefbd5e3b89bdcef35d564e79a --dtype float32 --batch_size 1 --out_csv predictions.csv
|
|
|
|
| 42 |
ESMC-6B in fp32 needs a GPU with about 48 GB of memory (`--dtype bfloat16` fits 24 GB but should be validated).
|
| 43 |
|
| 44 |
## License and terms
|
| 45 |
+
The adapters are released under the Apache License 2.0 (Copyright 2026 Kotaro Tsuboyama and Selena Setsu). They are derivatives of the base models and must be used under the terms of those models:
|
| 46 |
ESMC-6B (MIT with third-party notices and the Biohub Acceptable Use Policy, https://biohub.org/acceptable-use-policy/) and SaProt (MIT).
|
| 47 |
|
| 48 |
## Citation
|