Comments (5)
I don't see a bug. Line 131 loads from {$BAM_DIR}/models/{teachers[task]}/output/{task}_train_predictions_1.pkl
. Therefore it should work as long as you have the files
$BAM_DIR/models/mrpc-model/outputs/mrpc_train_predictions_1.pkl
$BAM_DIR/models/rte-model/outputs/rte_train_predictions_1.pkl
Based on the error message, it looks like the predictions file is present but incorrect in some way. Perhaps you trained the single-task models with {"debug": True} and are now training in non-debug-mode? Debug mode uses a tiny train set, so the written-out predictions won't cover the full train set.
from google-research.
Thanks for your reply, after another trying, it fixed.
But i wonder that when writting the test outputs in run_classifier.py
Line 269, the distill_input perhaps should be loaded from the corresponding files like: {$BAM_DIR}/models/{teachers[task]}/output/{task}_test_predictions_1.pkl
? Due to the testing examples are pickling from the test.tsv
Is there any mismatch between the testing examples and distill inputs during the prediction?
from google-research.
Distillation is only used during training, not at test time. So although we write out the test predictions because they might be useful for evaluation or error analysis, they are never needed for training a BAM model.
from google-research.
Thanks for the explanation
from google-research.
Thanks for your reply, after another trying, it fixed.
But i wonder that when writting the test outputs inrun_classifier.py
Line 269, the distill_input perhaps should be loaded from the corresponding files like:{$BAM_DIR}/models/{teachers[task]}/output/{task}_test_predictions_1.pkl
? Due to the testing examples are pickling from thetest.tsv
Is there any mismatch between the testing examples and distill inputs during the prediction?
May I know how you fix this? I am running BAM, and on one of my datasets, I am getting key_error and I am not sure why.
from google-research.
Related Issues (20)
- About the Synthetic Repetition HOT 3
- i3d model's input range for FVD calculation
- Finetuning deplot
- Redundancy of jnp.where operation in d3pm p_logits.
- IABOT
- [email protected]
- Proposal for Collaborative Research on New Supervised Contrastive Learning Loss Functions
- TFT is not sorting based on dates automatically.
- I want to know the AI basics
- your code
- Your code made me vomit
- Meth Whores down to fuckb in the greater flint michigan
- [HITNET] How can I train my own models?
- AttributeError: module 'tensorflow.compat.v1' has no attribute 'BinaryCrossentropy'
- rep
- flint town
- which version of keras is used by latest kws_streaming HOT 3
- readme message error
- Save me HOT 2
- issue with the protnlm_use_model_for_inference_uniprot_2022_04.ipynb colab notebook
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-research.