Questions on Training LucaProt Model with New Data
Hi Team,
Thanks for your outstanding work! We are interested in updating your published LucaProt model by incorporating newly available data. Here are some questions we currently have:
-
If we fine-tune starting from the best checkpoint of the published LucaProt model, could using too little new data actually degrade performance? If so, is there a recommended minimum dataset size for effective updating? Do you have any suggestions regarding hyperparameter settings for that size?
-
While we are choosing the new dataset, Are there recommended proportions for different sequence categories (e.g., viral RdRP, bacterial RdRP, eukaryotic RdRP, viral non-RdRP, etc.)? Is there an expected ratio between positive (1) and negative (0) samples?
Hi Team,
Thanks for your outstanding work! We are interested in updating your published LucaProt model by incorporating newly available data. Here are some questions we currently have:
- If we fine-tune starting from the best checkpoint of the published LucaProt model, could using too little new data actually degrade performance? If so, is there a recommended minimum dataset size for effective updating? Do you have any suggestions regarding hyperparameter settings for that size?
- While we are choosing the new dataset, Are there recommended proportions for different sequence categories (e.g., viral RdRP, bacterial RdRP, eukaryotic RdRP, viral non-RdRP, etc.)? Is there an expected ratio between positive (1) and negative (0) samples?
Thank you for reaching out. We are glad to hear you are looking to update the LucaProt model with new data. Here are our detailed suggestions regarding your fine-tuning and dataset strategy:
-
Fine-tuning Strategy and Hyperparameters Sample Size: For a stable fine-tuning process, we recommend having at least 1,000 positive samples. Negative Ratio: Try to ensure that the number of negative samples does not exceed 100 times the number of positives. Learning Rate: We suggest decreasing the learning rate by an order of magnitude (e.g., shifting from 1e-4 down to 2e-5). Class Imbalance: To handle the imbalance, you can use the pos_weight parameter to increase the weight of positive samples. We recommend setting this value greater than 1 but less than your actual imbalance ratio—for example, 5 or 10, depending on the specific multiplier of your negatives. Loss Functions: You might also consider using specific loss functions such as Focal Loss rather than standard Cross-Entropy. Evaluation: Ultimately, we recommend experimenting with these various strategies and selecting the one that yields the best performance on your validation set.
-
Dataset Composition and Robustness As outlined in the LucaProt paper, the diversity of the negative set is critical for model performance: Related Negatives: Include sequences that are functionally or sequence-wise similar to viral RdRP, such as non-viral RdRP, DDRP (DNA-directed RNA polymerase), and RDDP (RNA-directed DNA polymerase). Unrelated Negatives: Include other non-redundant (de-duplicated) proteins. Goal: The objective is to expose the model to as much data diversity as possible. This ensures that the model is more robust when making predictions in an "unknown world" (i.e., on novel or highly divergent sequences).
-
Why RdRP for Deep Learning? Finally, it is worth noting why the RdRP problem is particularly well-suited for deep learning. The RdRP protein contains highly conserved structural regions (motifs). Deep learning models are exceptionally good at capturing these complex, conserved patterns across diverse sequences, which is why we have seen such success with this approach.
We hope these insights help with your model updates.
Hi Team, Thanks for your outstanding work! We are interested in updating your published LucaProt model by incorporating newly available data. Here are some questions we currently have:
- If we fine-tune starting from the best checkpoint of the published LucaProt model, could using too little new data actually degrade performance? If so, is there a recommended minimum dataset size for effective updating? Do you have any suggestions regarding hyperparameter settings for that size?
- While we are choosing the new dataset, Are there recommended proportions for different sequence categories (e.g., viral RdRP, bacterial RdRP, eukaryotic RdRP, viral non-RdRP, etc.)? Is there an expected ratio between positive (1) and negative (0) samples?
Thank you for reaching out. We are glad to hear you are looking to update the LucaProt model with new data. Here are our detailed suggestions regarding your fine-tuning and dataset strategy:
- Fine-tuning Strategy and Hyperparameters Sample Size: For a stable fine-tuning process, we recommend having at least 1,000 positive samples. Negative Ratio: Try to ensure that the number of negative samples does not exceed 100 times the number of positives. Learning Rate: We suggest decreasing the learning rate by an order of magnitude (e.g., shifting from 1e-4 down to 2e-5). Class Imbalance: To handle the imbalance, you can use the pos_weight parameter to increase the weight of positive samples. We recommend setting this value greater than 1 but less than your actual imbalance ratio—for example, 5 or 10, depending on the specific multiplier of your negatives. Loss Functions: You might also consider using specific loss functions such as Focal Loss rather than standard Cross-Entropy. Evaluation: Ultimately, we recommend experimenting with these various strategies and selecting the one that yields the best performance on your validation set.
- Dataset Composition and Robustness As outlined in the LucaProt paper, the diversity of the negative set is critical for model performance: Related Negatives: Include sequences that are functionally or sequence-wise similar to viral RdRP, such as non-viral RdRP, DDRP (DNA-directed RNA polymerase), and RDDP (RNA-directed DNA polymerase). Unrelated Negatives: Include other non-redundant (de-duplicated) proteins. Goal: The objective is to expose the model to as much data diversity as possible. This ensures that the model is more robust when making predictions in an "unknown world" (i.e., on novel or highly divergent sequences).
- Why RdRP for Deep Learning? Finally, it is worth noting why the RdRP problem is particularly well-suited for deep learning. The RdRP protein contains highly conserved structural regions (motifs). Deep learning models are exceptionally good at capturing these complex, conserved patterns across diverse sequences, which is why we have seen such success with this approach.
We hope these insights help with your model updates.
Thank you very much for your prompt response and detailed explanation. If I have any further questions, I will reach out again. Wishing you all the best.
Hi,
I’m back with a few additional questions and would really appreciate your advice.
-
Our current computational environment is a Linux server with 48 CPU cores, no GPU, and 768 GB of RAM. We are now exploring suitable compute resources for model training. Could you please advise on what kind of hardware configuration we should consider? For example, I understand that GPUs generally outperform CPUs for deep learning workloads, but I am not sure what type or level of GPU would be sufficient for training LucaProt.
-
During model training, would using datasets imported in TFRecord format negatively affect model performance compared to loading data separately from CSV files? I have observed worse performance in some of my practice runs when using TFRecords, but I am unsure whether this is inherent to the data format or the result of an error in my data pipeline.
Thank you very much for your time and help.
Hi,
I’m back with a few additional questions and would really appreciate your advice.
- Our current computational environment is a Linux server with 48 CPU cores, no GPU, and 768 GB of RAM. We are now exploring suitable compute resources for model training. Could you please advise on what kind of hardware configuration we should consider? For example, I understand that GPUs generally outperform CPUs for deep learning workloads, but I am not sure what type or level of GPU would be sufficient for training LucaProt.
- During model training, would using datasets imported in TFRecord format negatively affect model performance compared to loading data separately from CSV files? I have observed worse performance in some of my practice runs when using TFRecords, but I am unsure whether this is inherent to the data format or the result of an error in my data pipeline.
Thank you very much for your time and help.
-
Hardware: CPUs are too slow for LucaProt because it uses ESM2-3B (3B parameters) for embeddings. Incremental training is practically impossible without GPUs. You need at least 24GB VRAM (RTX 3090/4090), while A100/H100 (40GB/80GB) is highly recommended.
-
Data Format: The performance drop with TFRecords is likely due to data pipeline issues (e.g., poor shuffling or preprocessing logic) rather than the format itself.
-
Best Practice: LucaProt (2022) is an older implementation. Current development has shifted away from TFRecord to direct CSV loading. Check out the LucaPCycle project(https://github.com/LucaOne/LucaPCycle) for a more modern implementation of the LucaProt architecture.
Hello,
Thank you very much for your previous reply.
I would like to ask a few further questions regarding dataset preparation for LucaProt. Specifically, could you please describe in more detail the workflow for organizing protein sequences assembled and predicted from RNA sequences into the 9-column format required by LucaProt? May I use Amino Acid sequence directly-download from database (NCBI Protein for example) instead of following the pipline discribed in paper (RNA → contigs → AA)?
At this stage, I plan to use the SEFN setting, so I do not need to integrate structural information into the dataset, and I am following the same format as in your released dataset.
In addition, I would appreciate it if you could clarify the purpose of the scripts located in LucaProt/src/data_preprocess/, particularly data_preprocess_for_rdrp_{v1/v2/v3_extend}.py. Could you briefly explain what these scripts are used for and the main differences among the v1, v2, and v3_extend versions?
Thank you again for your time and assistance.
Hello,
Thank you very much for your previous reply.
I would like to ask a few further questions regarding dataset preparation for LucaProt. Specifically, could you please describe in more detail the workflow for organizing protein sequences assembled and predicted from RNA sequences into the 9-column format required by LucaProt? May I use Amino Acid sequence directly-download from database (NCBI Protein for example) instead of following the pipline discribed in paper (RNA → contigs → AA)?
At this stage, I plan to use the SEFN setting, so I do not need to integrate structural information into the dataset, and I am following the same format as in your released dataset.
In addition, I would appreciate it if you could clarify the purpose of the scripts located in LucaProt/src/data_preprocess/, particularly data_preprocess_for_rdrp_{v1/v2/v3_extend}.py. Could you briefly explain what these scripts are used for and the main differences among the v1, v2, and v3_extend versions?
Thank you again for your time and assistance.
Here is a draft for your GitHub issue response in English:
Hello,
Thank you for your interest in LucaProt! Regarding your questions about dataset preparation and the preprocessing scripts, here are the details:
1. Dataset Preparation Workflow
You do not need to follow the specific RNA-to-AA pipeline described in the paper if you already have protein sequences. You can certainly use Amino Acid sequences directly downloaded from databases like NCBI.
To organize your data for the SEFN setting, please follow these steps:
- Sequence Preparation: Prepare your protein sequences in a FASTA file. Each sequence must have a globally unique
prot_id(for example, simple auto-incrementing IDs or unique database accessions). - Generate Embeddings: Run the script
src/protein_structure/embedding_from_esmfold.pyto generate the embedding matrix for each sequence. This script will save each sequence's embedding as an individual file. - Construct CSV Files: Create CSV files for your training, validation, and test sets. Each row represents one sample and should include the following 9 columns:
prot_id: The unique ID assigned in step 1.seq: The protein sequence.seq_len: Length of the sequence.pdb_filename: (Can be left empty for SEFN).ptm: (Can be left empty for SEFN).mean_plddt: (Can be left empty for SEFN).emb_filename: The path/filename of the embedding file generated in step 2.label: The ground truth (1 for positive, 0 for negative).source: (Can be left empty).
- Convert to TFRecords: Once the CSVs are ready, convert them into
tfrecordsformat to be used by the model.
2. Preprocessing Scripts (V1/V2/V3)
The scripts data_preprocess_for_rdrp_{v1/v2/v3_extend}.py represent different iterations and versions of our internal data processing logic as the RdRp dataset evolved.
- Differences: The main differences lie in how we filtered specific samples, handled different data sources, or extended the negative/positive sets in later versions (v3_extend).
- Usage: You can refer to any of these versions as a template for your own processing. They serve as a reference for how we automated the transition from raw data to the final CSV format mentioned above.
I hope this clarifies the process. Let us know if you have further questions!
Best regards, [Your Name/Team Name]
Hi, thank you for your reply.
During the data collection process, I noticed that some of the sequences are partial coding sequences (as shown in the figure). I would like to ask for your advice on how to handle these cases. Specifically, would you recommend excluding these sequences, attempting to assemble or extend them, or including them in the dataset without any additional processing (for higher sensitivity while the model encountering the incomplete contigs of virus rdrp)? Or would it be reasonable to simply define a length threshold for sequence selection (Figure.1A of LucaProt paper indicates you applied those sequences that consist of more than 300 AA)? Similarly, what strategy should be applied while selecting negative samples?
Finally, when the sample size becomes sufficiently large, how should we determine which sequences should be included in the dataset?
Thank you very much for your time and guidance.
Hi, thank you for your reply.
During the data collection process, I noticed that some of the sequences are partial coding sequences (as shown in the figure). I would like to ask for your advice on how to handle these cases. Specifically, would you recommend excluding these sequences, attempting to assemble or extend them, or including them in the dataset without any additional processing (for higher sensitivity while the model encountering the incomplete contigs of virus rdrp)? Or would it be reasonable to simply define a length threshold for sequence selection (Figure.1A of LucaProt paper indicates you applied those sequences that consist of more than 300 AA)? Similarly, what strategy should be applied while selecting negative samples?
Finally, when the sample size becomes sufficiently large, how should we determine which sequences should be included in the dataset?
Thank you very much for your time and guidance.
As my background is primarily in computer science and machine learning rather than virology, my recommendations below are based on data-driven and model-optimization perspectives. For the specific biological validation of these sequences, I would highly recommend consulting with a domain expert.
Here are my thoughts on how to handle these cases:
- Handling Partial Coding Sequences If the total number of your positive samples is relatively small, I recommend including these partial sequences in your dataset. Including them can significantly improve the model's recall (sensitivity) when encountering real-world data, as metagenomic sequencing or clinical samples often yield incomplete viral contigs. If the model is only trained on perfect, full-length sequences, it might fail to recognize fragmented RdRp targets in practice.
The Risk: You must ensure that these partial sequences are genuinely RdRp and contain enough features (e.g., conserved motifs) to be meaningful. Including too much "noise" could harm precision. Recommendation: If computational resources allow, the best approach is to conduct an ablation study: train two separate versions of the model—one strict version (excluding partials) and one relaxed version (including partials). You can then compare their performance on a held-out test set containing fragmented contigs to see which generalizes better. 2. Regarding Length Thresholds (e.g., >300 AA) Yes, applying a length threshold is a very reasonable and standard practice. A sequence that is too short (e.g., < 50 AA) may lack the core functional structural motifs (like Motif A-F in RdRp) required for the model to extract meaningful patterns. Setting a threshold (like the >300 AA used in the LucaProt paper) ensures a high signal-to-noise ratio in your training data. For partial sequences, you could perhaps set a slightly lower, but still biologically justifiable, minimum length (e.g., >=100 or 150 AA) to keep the fragments but discard uselessly short ones.
- Strategy for Selecting Negative Samples Selecting the right negative samples is crucial to prevent the model from taking "shortcuts."
Hard Negatives: Do not just use random proteins. Include proteins that are structurally or functionally similar but are not viral RdRp. For example: DNA-dependent RNA polymerases, Reverse Transcriptases (RT), or other viral non-structural proteins (helicases, proteases). Host Background: Include proteins from common host genomes (human, bacteria, plants) to reduce false positives in metagenomic analysis. Length Matching: Ensure the length distribution of your negative samples roughly matches your positive samples. If all positive samples are ~500 AA and negatives are ~100 AA, the model will simply learn to classify based on length rather than biological sequence features. 4. Filtering Large-Scale Datasets When your sample size becomes sufficiently large, quality and diversity become more important than sheer quantity. You should apply:
Homology Reduction (Clustering): Use tools like CD-HIT or MMseqs2 to cluster your sequences (e.g., at 90% or 50% identity) and keep only representative sequences. This prevents the model from being biased toward highly studied viral families (like Coronaviridae) while ignoring rare ones. Quality Control: Exclude sequences with too many ambiguous amino acids (e.g., 'X') to maintain data cleanliness.
Hi,
We selected 44,084 sequences spanning from January 26, 2023 (the date when the published model was trained) to February 16, 2026. Among them, there are 1,281 positive samples, corresponding to an approximate 1:34 ratio between viral RdRPs and non-viral RdRPs.
Following your previous suggestion, we identified a cloud service equipped with an A100 GPU (80 GB VRAM). I selected the 20 longest sequences as a test set to evaluate the performance of embedding_from_esmfold.py under different --truncation_seq_length settings. While the job completes successfully with a truncation length of 1024, it starts to fail due to insufficient VRAM at 2048 and above.
The attached logs show GPU memory usage monitored using:
while true; do sleep 15; nvidia-smi --query-gpu=memory.total,memory.used | grep -v memory.used >> truncation_A100_<truncation_size>.log; done &
To enable larger truncation sizes, I am also exploring GPUs with higher VRAM.
I would greatly appreciate your advice on possible solutions. For example, do you think utilizing multiple GPUs for this task can solve this problem? If that is not practical, would it be reasonable to manually split longer sequences into chunks (e.g., length 1024) and feed them into the model separately?
Additionally, I would like to ask:
How much information is typically lost when reducing the truncation size from 4096 to 2048 or 1024? Would it still be meaningful to use embeddings generated with a truncation size of 1024 for incremental training of the published model?
Thank you very much for your time and guidance.
truncation_A100_1024.log truncation_A100_4096.log truncation_A100_2048_2nd.log truncation_A100_2048.log
Hi,
We selected 44,084 sequences spanning from January 26, 2023 (the date when the published model was trained) to February 16, 2026. Among them, there are 1,281 positive samples, corresponding to an approximate 1:34 ratio between viral RdRPs and non-viral RdRPs.
Following your previous suggestion, we identified a cloud service equipped with an A100 GPU (80 GB VRAM). I selected the 20 longest sequences as a test set to evaluate the performance of
embedding_from_esmfold.pyunder different--truncation_seq_lengthsettings. While the job completes successfully with a truncation length of 1024, it starts to fail due to insufficient VRAM at 2048 and above.The attached logs show GPU memory usage monitored using:
while true; do sleep 15; nvidia-smi --query-gpu=memory.total,memory.used | grep -v memory.used >> truncation_A100_<truncation_size>.log; done &To enable larger truncation sizes, I am also exploring GPUs with higher VRAM.
I would greatly appreciate your advice on possible solutions. For example, do you think utilizing multiple GPUs for this task can solve this problem? If that is not practical, would it be reasonable to manually split longer sequences into chunks (e.g., length 1024) and feed them into the model separately?
Additionally, I would like to ask:
How much information is typically lost when reducing the truncation size from 4096 to 2048 or 1024? Would it still be meaningful to use embeddings generated with a truncation size of 1024 for incremental training of the published model?
Thank you very much for your time and guidance.
truncation_A100_1024.log truncation_A100_4096.log truncation_A100_2048_2nd.log truncation_A100_2048.log
Normally, 80GB of VRAM should be sufficient to handle lengths not greater than 3072. Are you currently required to truncate to 1024 to make the task run successfully?
Hi, We selected 44,084 sequences spanning from January 26, 2023 (the date when the published model was trained) to February 16, 2026. Among them, there are 1,281 positive samples, corresponding to an approximate 1:34 ratio between viral RdRPs and non-viral RdRPs. Following your previous suggestion, we identified a cloud service equipped with an A100 GPU (80 GB VRAM). I selected the 20 longest sequences as a test set to evaluate the performance of
embedding_from_esmfold.pyunder different--truncation_seq_lengthsettings. While the job completes successfully with a truncation length of 1024, it starts to fail due to insufficient VRAM at 2048 and above. The attached logs show GPU memory usage monitored using:while true; do sleep 15; nvidia-smi --query-gpu=memory.total,memory.used | grep -v memory.used >> truncation_A100_<truncation_size>.log; done &To enable larger truncation sizes, I am also exploring GPUs with higher VRAM. I would greatly appreciate your advice on possible solutions. For example, do you think utilizing multiple GPUs for this task can solve this problem? If that is not practical, would it be reasonable to manually split longer sequences into chunks (e.g., length 1024) and feed them into the model separately? Additionally, I would like to ask: How much information is typically lost when reducing the truncation size from 4096 to 2048 or 1024? Would it still be meaningful to use embeddings generated with a truncation size of 1024 for incremental training of the published model? Thank you very much for your time and guidance. truncation_A100_1024.log truncation_A100_4096.log truncation_A100_2048_2nd.log truncation_A100_2048.logNormally, 80GB of VRAM should be sufficient to handle lengths not greater than 3072. Are you currently required to truncate to 1024 to make the task run successfully?
Yes, currently only truncation to 1024 can run successfully. This is also what I find confusing. I recently tried running with truncation set to 4096 on an H200 GPU (~140 GB VRAM), but it still failed (please see attachment). May I ask whether you encountered similar issues when using cloud services?
Hi, We selected 44,084 sequences spanning from January 26, 2023 (the date when the published model was trained) to February 16, 2026. Among them, there are 1,281 positive samples, corresponding to an approximate 1:34 ratio between viral RdRPs and non-viral RdRPs. Following your previous suggestion, we identified a cloud service equipped with an A100 GPU (80 GB VRAM). I selected the 20 longest sequences as a test set to evaluate the performance of
embedding_from_esmfold.pyunder different--truncation_seq_lengthsettings. While the job completes successfully with a truncation length of 1024, it starts to fail due to insufficient VRAM at 2048 and above. The attached logs show GPU memory usage monitored using:while true; do sleep 15; nvidia-smi --query-gpu=memory.total,memory.used | grep -v memory.used >> truncation_A100_<truncation_size>.log; done &To enable larger truncation sizes, I am also exploring GPUs with higher VRAM. I would greatly appreciate your advice on possible solutions. For example, do you think utilizing multiple GPUs for this task can solve this problem? If that is not practical, would it be reasonable to manually split longer sequences into chunks (e.g., length 1024) and feed them into the model separately? Additionally, I would like to ask: How much information is typically lost when reducing the truncation size from 4096 to 2048 or 1024? Would it still be meaningful to use embeddings generated with a truncation size of 1024 for incremental training of the published model? Thank you very much for your time and guidance. truncation_A100_1024.log truncation_A100_4096.log truncation_A100_2048_2nd.log truncation_A100_2048.logNormally, 80GB of VRAM should be sufficient to handle lengths not greater than 3072. Are you currently required to truncate to 1024 to make the task run successfully?
Yes, currently only truncation to 1024 can run successfully. This is also what I find confusing. I recently tried running with truncation set to 4096 on an H200 GPU (~140 GB VRAM), but it still failed (please see attachment). May I ask whether you encountered similar issues when using cloud services?
please show me the cmd of embedding?
"make_emb.sh" is the embedding cmd we are currently using, derived from the 9.2).I section of the README.
Some information that might be useful for trouble shoting: We are using the "Campus Cluster" serves, and below is the hardwares information from its website https://campuscluster.illinois.edu/access/illinois-computes/
Previously, I was trying to use one A100 or H200 and the full VRAM for the embbeding work.
And here is the manual for the campus cluster: https://docs.ncsa.illinois.edu/systems/icc/en/latest/getting_started.html
Thank you so much for your help! Please let me know if more information and codes are needed.
"make_emb.sh" is the embedding cmd we are currently using, derived from the 9.2).I section of the README.
Some information that might be useful for trouble shoting: We are using the "Campus Cluster" serves, and below is the hardwares information from its website https://campuscluster.illinois.edu/access/illinois-computes/
Previously, I was trying to use one A100 or H200 and the full VRAM for the embbeding work.
And here is the manual for the campus cluster: https://docs.ncsa.illinois.edu/systems/icc/en/latest/getting_started.html
Thank you so much for your help! Please let me know if more information and codes are needed.
Please set: --include per_tok, only retain 'per_tok' and try again, because of the model only need the embedding matrix of the protein(where one row stands for one token).
if the issue persists, please use the LucaOneApp project for protein embedding: https://github.com/LucaOne/LucaOneApp/blob/master/algorithms/inference_embedding_esm.py, which has been optimized.
"make_emb.sh" is the embedding cmd we are currently using, derived from the 9.2).I section of the README. make_emb.sh Some information that might be useful for trouble shoting: We are using the "Campus Cluster" serves, and below is the hardwares information from its website https://campuscluster.illinois.edu/access/illinois-computes/
Previously, I was trying to use one A100 or H200 and the full VRAM for the embbeding work. And here is the manual for the campus cluster: https://docs.ncsa.illinois.edu/systems/icc/en/latest/getting_started.html Thank you so much for your help! Please let me know if more information and codes are needed.
Please set: --include per_tok, only retain 'per_tok' and try again, because of the model only need the embedding matrix of the protein(where one row stands for one token).
if the issue persists, please use the LucaOneApp project for protein embedding: https://github.com/LucaOne/LucaOneApp/blob/master/algorithms/inference_embedding_esm.py, which has been optimized.
I set the embedding cmd following your suggestion (make_emb_A100.sh), and it works well. Thanks for your help!
As the log file suggests, it only takes ~33GB VRAM of A100 to process sequence truncated to 4096 AA. Does this relatively low occupancy rate look reasonable (you've mentioned 'Normally, 80GB of VRAM should be sufficient to handle lengths not greater than 3072')? Considering the total VRAM is 80GB, should we retain more AA sequence (set a higher --truncation_seq_length value)?
"make_emb.sh" is the embedding cmd we are currently using, derived from the 9.2).I section of the README. make_emb.sh Some information that might be useful for trouble shoting: We are using the "Campus Cluster" serves, and below is the hardwares information from its website https://campuscluster.illinois.edu/access/illinois-computes/
Previously, I was trying to use one A100 or H200 and the full VRAM for the embbeding work. And here is the manual for the campus cluster: https://docs.ncsa.illinois.edu/systems/icc/en/latest/getting_started.html Thank you so much for your help! Please let me know if more information and codes are needed.
Please set: --include per_tok, only retain 'per_tok' and try again, because of the model only need the embedding matrix of the protein(where one row stands for one token).
if the issue persists, please use the LucaOneApp project for protein embedding: https://github.com/LucaOne/LucaOneApp/blob/master/algorithms/inference_embedding_esm.py, which has been optimized.
I set the embedding cmd following your suggestion (
make_emb_A100.sh), and it works well. Thanks for your help!As the log file suggests, it only takes ~33GB VRAM of A100 to process sequence truncated to 4096 AA. Does this relatively low occupancy rate look reasonable (you've mentioned 'Normally, 80GB of VRAM should be sufficient to handle lengths not greater than 3072')? Considering the total VRAM is 80GB, should we retain more AA sequence (set a higher
--truncation_seq_lengthvalue)?
Use as large a value as possible to ensure the protein sequence is not truncated.
Hi, I have recently obtained a model through incremental training, and I would like to ask for your advice on how to compare it with the original model to evaluate the training results and determine whether there has been any improvement.
Could you please advise me on the recommended evaluation methods or metrics for this comparison?
Thank you very much for your help!
Hi, I have recently obtained a model through incremental training, and I would like to ask for your advice on how to compare it with the original model to evaluate the training results and determine whether there has been any improvement.
Could you please advise me on the recommended evaluation methods or metrics for this comparison?
Thank you very much for your help!
You can use the benchmarks in our papers.
Thank you very much for your time and guidance.
Previously, I was trying to use one A100 or H200 and the full VRAM for the embbeding work.