You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run ’scripts/run_biorex_exp.sh‘ to reproduce your results, but ran into the following trouble:
When I test directly with microsoft pre-trained models, the warning prompts:
When I run the ‘scripts/run_biorex_exp.sh’ and predict using the model I got from my own training, it warns again. No parameters are loaded in and the result is really poor:
Loaded 0 parameters in the TF 2.0 model.
But when I use your pre-trained weights to predict directly it is normal.
loading weights file pretrained_model_biolinkbert/tf_model.h5
[WARNING|modeling_tf_utils.py:2966] 2024-02-29 20:55:57,942 >> All model checkpoint layers were used when initializing TFBertForSequenceClassification.
[WARNING|modeling_tf_utils.py:2975] 2024-02-29 20:55:57,942 >> All the layers of TFBertForSequenceClassification were initialized from the model checkpoint at pretrained_model_biolinkbert.
If your task is similar to the task the model of the checkpoint was trained on, you can already use TFBertForSequenceClassification for predictions without further training.
The text was updated successfully, but these errors were encountered:
lou-yimin
changed the title
.h file in tf_model is not updated after the first save
out_biorex_results.txt is not consistent
Feb 29, 2024
lou-yimin
changed the title
out_biorex_results.txt is not consistent
the predictions are all ’Comparison‘
Feb 29, 2024
lou-yimin
changed the title
the predictions are all ’Comparison‘
Loaded 0 parameters in the TF 2.0 model. Some weights of the PyTorch model were not used when initializing the TF 2.0 model TFBertForSequenceClassification
Feb 29, 2024
lou-yimin
changed the title
Loaded 0 parameters in the TF 2.0 model. Some weights of the PyTorch model were not used when initializing the TF 2.0 model TFBertForSequenceClassification
Loaded 0 parameters in the TF 2.0 model. Some weights of the model were not used when initializing the TF 2.0 model TFBertForSequenceClassification
Feb 29, 2024
My apologies for the delayed response. If you are still interested in BioREx but are experiencing this issue. Could you please provide more information about this issue? For example, your environment and the complete output log while running the program. Please feel free to email me (laip2@nih,gov) with any questions you may have. Thank you very much.
I tried to run ’scripts/run_biorex_exp.sh‘ to reproduce your results, but ran into the following trouble:
When I test directly with microsoft pre-trained models, the warning prompts:
When I run the ‘scripts/run_biorex_exp.sh’ and predict using the model I got from my own training, it warns again. No parameters are loaded in and the result is really poor:
But when I use your pre-trained weights to predict directly it is normal.
The text was updated successfully, but these errors were encountered: