repo stringlengths 2 99 | file stringlengths 13 225 | code stringlengths 0 18.3M | file_length int64 0 18.3M | avg_line_length float64 0 1.36M | max_line_length int64 0 4.26M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
sequer | sequer-main/code/tensor2tensor/tensor2tensor/rl/dopamine_connector.py | # coding=utf-8
# Copyright 2019 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 28,976 | 33.537545 | 94 | py |
sequer | sequer-main/code/tensor2tensor/tensor2tensor/rl/envs/in_graph_batch_env.py | # coding=utf-8
# Copyright 2019 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 2,960 | 26.416667 | 85 | py |
sequer | sequer-main/code/tensor2tensor/tensor2tensor/rl/envs/simulated_batch_gym_env.py | # coding=utf-8
# Copyright 2019 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 3,143 | 30.44 | 80 | py |
sequer | sequer-main/code/tensor2tensor/tensor2tensor/rl/envs/simulated_batch_env.py | # coding=utf-8
# Copyright 2019 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 11,741 | 38.270903 | 107 | py |
sequer | sequer-main/code/tensor2tensor/tensor2tensor/rl/envs/py_func_batch_env.py | # coding=utf-8
# Copyright 2019 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 4,574 | 32.639706 | 85 | py |
sequer | sequer-main/code/tensor2tensor/tensor2tensor/rl/envs/__init__.py | # coding=utf-8
# Copyright 2019 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 606 | 36.9375 | 74 | py |
sequer | sequer-main/code/tensor2tensor/tensor2tensor/rl/envs/tf_atari_wrappers.py | # coding=utf-8
# Copyright 2019 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 5,054 | 32.7 | 78 | py |
sequer | sequer-main/code/tensor2tensor/QueryReformulation/query_reformulation.py | from tensor2tensor.data_generators import problem, text_encoder, generator_utils
from tensor2tensor.data_generators import text_problems
from tensor2tensor.utils import registry
from tensor2tensor.models import transformer
import os
FILE_PATH = os.path.dirname(os.path.abspath(__file__)) + os.path.sep
@registry.regis... | 2,434 | 27.988095 | 105 | py |
sequer | sequer-main/code/tensor2tensor/QueryReformulation/__init__.py | from . import query_reformulation
| 34 | 16.5 | 33 | py |
sequer | sequer-main/code/DatasetExtraction/eventList_extraction.py | import json
import pandas as pd
from os.path import join
PROJECT_PATH = '../../'
event = pd.read_csv(join(PROJECT_PATH, 'data', 'LinearSearchThreadEvent.csv'),
header=None,
names=['Id', 'RootEventId', 'UserIdentifier', 'CreationDate', 'DiffSeconds', 'EventSource',
... | 1,645 | 40.15 | 111 | py |
sequer | sequer-main/code/DatasetExtraction/post_extraction.py |
import json
import re
import pandas as pd
from os.path import join
PROJECT_PATH = '../../'
event = pd.read_csv(join(PROJECT_PATH, 'data', 'LinearSearchThreadEvent.csv'),
header=None,
names=['Id', 'RootEventId', 'UserIdentifier', 'CreationDate', 'DiffSeconds', 'EventSource',
... | 4,142 | 44.527473 | 115 | py |
sequer | sequer-main/code/DatasetExtraction/search_extraction.py |
import json
import pandas as pd
from os.path import join
from urllib import parse
PROJECT_PATH = '../../'
event = pd.read_csv(join(PROJECT_PATH, 'data', 'LinearSearchThreadEvent.csv'),
header=None,
names=['Id', 'RootEventId', 'UserIdentifier', 'CreationDate', 'DiffSeconds', 'E... | 4,134 | 42.072917 | 117 | py |
dict2vec | dict2vec-master/evaluate.py | #!/usr/bin/env python3
#
# Copyright (c) 2017-present, All rights reserved.
# Written by Julien Tissier <30314448+tca19@users.noreply.github.com>
#
# This file is part of Dict2vec.
#
# Dict2vec is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by... | 6,102 | 34.277457 | 79 | py |
dict2vec | dict2vec-master/dict-dl/downloader.py | #!/usr/bin/env python3
#
# Copyright (c) 2017-present, All rights reserved.
# Written by Julien Tissier <30314448+tca19@users.noreply.github.com>
#
# This file is part of Dict2vec.
#
# Dict2vec is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by... | 13,842 | 36.719346 | 87 | py |
dict2vec | dict2vec-master/dict-dl/clean_definitions.py | #!/usr/bin/env python3
#
# Copyright (c) 2017-present, All rights reserved.
# Written by Julien Tissier <30314448+tca19@users.noreply.github.com>
#
# This file is part of Dict2vec.
#
# Dict2vec is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by... | 3,114 | 34 | 80 | py |
dict2vec | dict2vec-master/dict-dl/download_definitions.py | #!/usr/bin/env python3
#
# Copyright (c) 2017-present, All rights reserved.
# Written by Julien Tissier <30314448+tca19@users.noreply.github.com>
#
# This file is part of Dict2vec.
#
# Dict2vec is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by... | 9,433 | 38.308333 | 80 | py |
dict2vec | dict2vec-master/dict-dl/generate_pairs.py | #!/usr/bin/env python3
#
# Copyright (c) 2017-present, All rights reserved.
# Written by Julien Tissier <30314448+tca19@users.noreply.github.com>
#
# This file is part of Dict2vec.
#
# Dict2vec is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by... | 10,196 | 37.479245 | 80 | py |
nlp-architect | nlp-architect-master/setup.py | #!/usr/bin/env python
# ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
... | 3,486 | 31.287037 | 112 | py |
nlp-architect | nlp-architect-master/examples/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/inference.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 10,514 | 35.510417 | 98 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/nmt.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 36,892 | 34.304306 | 100 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt_model.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 14,276 | 37.901907 | 99 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/train.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 31,285 | 33.917411 | 100 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/model.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 39,402 | 38.80101 | 99 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/attention_model.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 8,639 | 38.272727 | 99 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/model_helper.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 29,803 | 35.346341 | 100 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/utils/misc_utils.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 6,961 | 33.127451 | 99 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/utils/standard_hparams_utils.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 3,944 | 31.336066 | 80 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/utils/vocab_utils.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 7,618 | 34.769953 | 96 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/utils/iterator_utils.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 10,796 | 36.103093 | 97 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/utils/evaluation_utils.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 7,577 | 37.080402 | 105 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/utils/bleu.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 5,070 | 38.929134 | 94 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/utils/rouge.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 11,780 | 31.634349 | 96 | py |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/utils/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/sparse_gnmt/gnmt/utils/nmt_utils.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 4,930 | 35.798507 | 89 | py |
nlp-architect | nlp-architect-master/examples/cross_doc_coref/cross_doc_coref_sieves.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 5,580 | 36.206667 | 100 | py |
nlp-architect | nlp-architect-master/examples/cross_doc_coref/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/cross_doc_coref/relation_extraction_example.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 4,356 | 39.719626 | 98 | py |
nlp-architect | nlp-architect-master/examples/most_common_word_sense/inference.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 6,090 | 34.619883 | 99 | py |
nlp-architect | nlp-architect-master/examples/most_common_word_sense/prepare_data.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 6,978 | 30.295964 | 97 | py |
nlp-architect | nlp-architect-master/examples/most_common_word_sense/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/most_common_word_sense/feature_extraction.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 11,546 | 26.169412 | 99 | py |
nlp-architect | nlp-architect-master/examples/most_common_word_sense/train.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 3,452 | 29.289474 | 97 | py |
nlp-architect | nlp-architect-master/examples/np2vec/inference.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 2,456 | 33.125 | 97 | py |
nlp-architect | nlp-architect-master/examples/np2vec/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/np2vec/train.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 7,488 | 32.137168 | 99 | py |
nlp-architect | nlp-architect-master/examples/intent_extraction/train_mtl_model.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 6,041 | 37 | 100 | py |
nlp-architect | nlp-architect-master/examples/intent_extraction/train_seq2seq_model.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 5,153 | 36.620438 | 99 | py |
nlp-architect | nlp-architect-master/examples/intent_extraction/interactive.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 3,880 | 34.935185 | 100 | py |
nlp-architect | nlp-architect-master/examples/np_semantic_segmentation/inference.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 4,679 | 33.925373 | 98 | py |
nlp-architect | nlp-architect-master/examples/np_semantic_segmentation/data.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 12,032 | 31.433962 | 96 | py |
nlp-architect | nlp-architect-master/examples/np_semantic_segmentation/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/np_semantic_segmentation/feature_extraction.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 6,058 | 28.129808 | 96 | py |
nlp-architect | nlp-architect-master/examples/np_semantic_segmentation/train.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 2,872 | 38.356164 | 99 | py |
nlp-architect | nlp-architect-master/examples/np_semantic_segmentation/preprocess_tratz2011.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 8,822 | 18.519912 | 96 | py |
nlp-architect | nlp-architect-master/examples/word_language_model_with_tcn/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/word_language_model_with_tcn/adding_problem/adding_with_tcn.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 4,478 | 30.992857 | 99 | py |
nlp-architect | nlp-architect-master/examples/word_language_model_with_tcn/adding_problem/adding_model.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 5,526 | 37.922535 | 97 | py |
nlp-architect | nlp-architect-master/examples/word_language_model_with_tcn/adding_problem/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/word_language_model_with_tcn/toy_data/adding.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 3,118 | 33.655556 | 98 | py |
nlp-architect | nlp-architect-master/examples/word_language_model_with_tcn/mle_language_model/language_modeling_with_tcn.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 7,011 | 29.889868 | 99 | py |
nlp-architect | nlp-architect-master/examples/word_language_model_with_tcn/mle_language_model/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/word_language_model_with_tcn/mle_language_model/lm_model.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 11,502 | 39.503521 | 99 | py |
nlp-architect | nlp-architect-master/examples/memn2n_dialogue/babi_dialog.py | #!/usr/bin/env python
# ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
... | 27,767 | 38.611983 | 100 | py |
nlp-architect | nlp-architect-master/examples/memn2n_dialogue/train_model.py | #!/usr/bin/env python
# ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
... | 9,365 | 36.766129 | 99 | py |
nlp-architect | nlp-architect-master/examples/memn2n_dialogue/interactive.py | #!/usr/bin/env python
# ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
... | 3,725 | 35.529412 | 97 | py |
nlp-architect | nlp-architect-master/examples/memn2n_dialogue/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/memn2n_dialogue/interactive_utils.py | #!/usr/bin/env python
# ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
... | 6,438 | 32.020513 | 100 | py |
nlp-architect | nlp-architect-master/examples/memn2n_dialogue/memn2n_dialogue.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 9,380 | 35.933071 | 99 | py |
nlp-architect | nlp-architect-master/examples/supervised_sentiment/test_ensembler.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 1,121 | 39.071429 | 89 | py |
nlp-architect | nlp-architect-master/examples/supervised_sentiment/example_ensemble.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 5,238 | 33.24183 | 100 | py |
nlp-architect | nlp-architect-master/examples/supervised_sentiment/supervised_sentiment.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 4,413 | 35.180328 | 97 | py |
nlp-architect | nlp-architect-master/examples/supervised_sentiment/optimize_example.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 4,985 | 34.112676 | 100 | py |
nlp-architect | nlp-architect-master/examples/supervised_sentiment/amazon_reviews.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 3,654 | 36.295918 | 95 | py |
nlp-architect | nlp-architect-master/examples/supervised_sentiment/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/supervised_sentiment/ensembler.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 1,661 | 42.736842 | 96 | py |
nlp-architect | nlp-architect-master/examples/chunker/inference.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 4,077 | 35.088496 | 95 | py |
nlp-architect | nlp-architect-master/examples/chunker/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/chunker/train.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 6,774 | 33.92268 | 100 | py |
nlp-architect | nlp-architect-master/examples/absa/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/absa/train/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/absa/train/train.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 2,266 | 32.338235 | 86 | py |
nlp-architect | nlp-architect-master/examples/absa/inference/inference.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 1,991 | 38.84 | 95 | py |
nlp-architect | nlp-architect-master/examples/absa/inference/interactive.py | import argparse
from nlp_architect.models.absa.inference.inference import SentimentInference
from nlp_architect.utils.io import validate_existing_path
def main() -> None:
parser = argparse.ArgumentParser(description="ABSA Inference")
parser.add_argument(
"--aspects", type=validate_existing_path, help... | 786 | 26.137931 | 100 | py |
nlp-architect | nlp-architect-master/examples/absa/inference/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/ner/interactive.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 3,361 | 32.959596 | 100 | py |
nlp-architect | nlp-architect-master/examples/ner/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/ner/train.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 6,991 | 35.994709 | 100 | py |
nlp-architect | nlp-architect-master/examples/crosslingembs/evaluate.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 16,790 | 39.754854 | 100 | py |
nlp-architect | nlp-architect-master/examples/crosslingembs/train.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 5,863 | 33.292398 | 99 | py |
nlp-architect | nlp-architect-master/examples/reading_comprehension/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/reading_comprehension/match_lstm_mrc/prepare_data.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 9,512 | 33.718978 | 96 | py |
nlp-architect | nlp-architect-master/examples/reading_comprehension/match_lstm_mrc/machine_comprehension_api.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 9,401 | 37.219512 | 96 | py |
nlp-architect | nlp-architect-master/examples/reading_comprehension/match_lstm_mrc/__init__.py | 0 | 0 | 0 | py | |
nlp-architect | nlp-architect-master/examples/reading_comprehension/match_lstm_mrc/train.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 8,149 | 29.871212 | 100 | py |
nlp-architect | nlp-architect-master/examples/reading_comprehension/match_lstm_mrc/matchlstm_ansptr.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 24,044 | 38.289216 | 100 | py |
nlp-architect | nlp-architect-master/examples/reading_comprehension/match_lstm_mrc/mrc_utils.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 5,822 | 26.861244 | 95 | py |
nlp-architect | nlp-architect-master/solutions/start_ui.py | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apa... | 2,209 | 34.079365 | 99 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.