import pickle


def validate_summarizer():

    # loading
    with open('saved_model_data/x_tokenizer.pickle', 'rb') as handle:
        x_tokenizer = pickle.load(handle)
    with open('saved_model_data/y_tokenizer.pickle', 'rb') as handle:
        y_tokenizer = pickle.load(handle)

    reverse_target_word_index = y_tokenizer.index_word
    reverse_source_word_index = x_tokenizer.index_word
    target_word_index = y_tokenizer.word_index

b3f5a78ef8dc54ffeedd2f4b206c12aef201ca28
<mask token>

<mask token>


def validate_summarizer():
    with open('saved_model_data/x_tokenizer.pickle', 'rb') as handle:
        x_tokenizer = pickle.load(handle)
    with open('saved_model_data/y_tokenizer.pickle', 'rb') as handle:
        y_tokenizer = pickle.load(handle)
    reverse_target_word_index = y_tokenizer.index_word
    reverse_source_word_index = x_tokenizer.index_word
    target_word_index = y_tokenizer.word_index

import pickle


def validate_summarizer():
    with open('saved_model_data/x_tokenizer.pickle', 'rb') as handle:
        x_tokenizer = pickle.load(handle)
    with open('saved_model_data/y_tokenizer.pickle', 'rb') as handle:
        y_tokenizer = pickle.load(handle)
    reverse_target_word_index = y_tokenizer.index_word
    reverse_source_word_index = x_tokenizer.index_word
    target_word_index = y_tokenizer.word_index

import pickle


def validate_summarizer():

    # loading
    with open('saved_model_data/x_tokenizer.pickle', 'rb') as handle:
        x_tokenizer = pickle.load(handle)
    with open('saved_model_data/y_tokenizer.pickle', 'rb') as handle:
        y_tokenizer = pickle.load(handle)

    reverse_target_word_index = y_tokenizer.index_word
    reverse_source_word_index = x_tokenizer.index_word
    target_word_index = y_tokenizer.word_index
