xiaobin-phd

Results comments of xiaobin-phd

Thank you for your quick response. I would like to work on a binary classification project, where the input is a protein sequence, and the goal is to determine whether...

OK, I WII TRY THESE MODEL, THANKS A LOT! BEST REGARDS

LucaOne team 的老师您好 1、我上午用了一个小样本测试,包括阴性数据设了9个分类。label.test.txt内容如下: # cat label.test.txt label NTF A B C D E F G H 2、同时我还修改了配置文件sefn_config.json,将 "num_labels": 设为了9。 但是运行建模脚本还是报错 loss 2.16663: : 999it [46:24, 2.79s/it] Epoch: 0%| |...

在predictor.py脚本155行插入了 print(out_label_ids) input("continue:") 信息提示如下: 2025/04/26 15:33:40-INFO-predictor | ***** Running test checkpoint-1000 ***** 2025/04/26 15:33:40-INFO-predictor | Num examples = 8 2025/04/26 15:33:40-INFO-predictor | Batch size = 16 Testing: 246it [07:11, 1.75s/it]...

我的label.txt和.CSV文件中都用了多个标签,回头看了一下建模的脚本,这个参数是不是也要对应修改呢? label_type: str, the label type name, such as "rdrp" 之前做二分类建模时,label_type 我填的.CSV文件中source列的内容,现在做多分类建模,是不是也要对应修改才行。

好的,我再试试,谢谢。

今天重新安装了更新后的lucaprot,使用以下代码测试了小样本的multi_class 建模,还是有点问题。 原始代码: export CUDA_VISIBLE_DEVICES=0 DATASET_NAME="tf_predict" DATASET_TYPE="protein" TASK_TYPE="multi_class" # sequence + structural embeddding MODEL_TYPE="sefn" CONFIG_NAME="0425_sefn_config.json" INPUT_MODE="single" LABEL_TYPE="TF" embedding_input_size=2560 embedding_type="matrix" SEQ_MAX_LENGTH="100" embedding_max_length="2048" TRUNCT_TYPE="right" # none, max, value_attention SEQ_POOLING_TYPE="value_attention" # max, value_attention...

谢谢老师的积极回复,目前使用小样本建模已经成功了,预测功能也正常,我再用大样本试试,再次感谢! 祝好!