Dear all
I was trying to understand the differences in results in TFIDF, Omikuji & NN_Ensemble (sources are TFIDF & Omikuji) on the basis of the same vocabulary backend (LCSH) and same training & test datasets.
In case of NN_ensemble, the train and learn command for a small training data set of 5000 records always giving me this warning :
/annif/annif-venv/lib/python3.8/site-packages/keras/engine/functional.py:1410: CustomMaskWarning: Custom mask layers require a config and must override get_config. When loading, the custom mask layer must be passed to the custom_objects argument.
layer_config = serialize_layer_fn(layer)
I then added the line layer_config = serialize_layer_fn(layer) in the NN_ensemble section of the project configuration (desperately :)) but with no effect.
But this is a harmless waring as the call for suggestion from the nn_ensemble project is working (but again with a few warnings) -
My NN_ensemble config is -
[lcsh-nn-ensemble-en]
name=LCSH NN ensemble English
language=en
backend=nn_ensemble
sources=lcsh-tfidf-en,lcsh-omikuji-parabel-en
limit=100
vocab=lcsh-en
nodes=100
dropout_rate=0.2
epochs=10
lmdb_map_size=
2147483648
How to stop these warnings? Nobody likes warnings :)
And if anyone here could point me to some published works on comparative studies of results from different language models and backend algorithms, I'd be grateful.
Best regards
| Parthasarathi Mukhopadhyay Professor, Department of Library and Information Science, University of Kalyani, Kalyani - 741 235 (WB), India |