application_vnd.jupyter.stderr_output_1.png
from catboost import CatBoostClassifier

import pickle

import torch

test_X = pickle.load(open('/kaggle/input/embedder/test_embedding', 'rb'))

multilayerperceptron = torch.load('/kaggle/input/nlptrain/mlp.pt', map_location=torch.device('cpu'))

test_X_tensor = torch.tensor(test_X)
multilayerperceptronprediction_proba = multilayerperceptron(test_X_tensor).detach().numpy()

catboostclassifier = CatBoostClassifier().load_model('/kaggle/input/nlptrain/catboost_model.bin')

catboostclassifierprediction_proba = catboostclassifier.predict_proba(test_X)

prediction_proba = multilayerperceptronprediction_proba + catboostclassifierprediction_proba

prediction = prediction_proba.argmax(1)

prediction.mean()