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
BenchPress
BenchPress-master/deeplearning/benchpress/models/telemetry.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
6,194
37.006135
131
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/bert_flags.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
1,617
33.425532
107
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/builders.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
12,534
31.72846
157
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/lm_data_generator.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
46,191
40.689531
164
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/from_pretrained.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
7,766
38.426396
146
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/language_models.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
26,387
38.621622
178
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/backends.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
3,511
34.12
80
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/tf_sequential/data_generator.py
"""This file defines the streaming generators for model training data. We train models on overlapping one-hot encoded text sequences. For a corpus of a reasonable size, the full training data may not fit in memory. This modules provides Python Generator classes for use by a sequential Keras model's fit_generator() met...
3,732
30.635593
100
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/tf_sequential/helper.py
import tensorflow_addons as tfa import tensorflow_probability as tfp from deeplearning.benchpress.util import logging as l from deeplearning.benchpress.util import tf as local_tf tf = local_tf.tf class CustomInferenceHelper(tfa.seq2seq.sampler.TrainingSampler): """An inference helper that takes a seed text""" ...
2,171
33.47619
91
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/tf_sequential/tf_sequential.py
# Copyright (c) 2016-2020 Chris Cummins. # # clgen is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # clgen is distributed in the hope...
23,354
34.493921
133
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/keras_sequential/data_generator.py
"""This file defines the streaming generators for model training data. We train models on overlapping one-hot encoded text sequences. For a corpus of a reasonable size, the full training data may not fit in memory. This modules provides Python Generator classes for use by a sequential Keras model's fit_generator() met...
5,942
34.16568
100
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/keras_sequential/keras_sequential.py
# Copyright (c) 2016-2020 Chris Cummins. # # clgen is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # clgen is distributed in the hope...
9,992
35.075812
94
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/hooks.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
11,232
35.470779
137
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/modeling_utils.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors, Facebook AI Research authors and The HuggingFace Inc. team and Foivos Tsimpourlas. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except i...
47,214
45.063415
180
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/data_generator.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
59,181
43.800908
205
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/model.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team and Foivos Tsimpourlas. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License....
44,186
39.316606
188
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/config.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team and Foivos Tsimpourlas. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License....
19,055
56.225225
273
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/compiler.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
22,498
44.178715
220
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/generation_utils.py
# coding=utf-8 # Copyright 2022 The Google AI Language Team Authors, Facebook AI Research authors and The HuggingFace Inc. team and Foivos Tsimpourlas. # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except i...
45,882
44.160433
242
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/datasets.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
17,820
39.410431
221
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/torch_bert.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
61,629
44.889799
238
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/activations.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
2,059
31.1875
111
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/torch_bert/optimizer.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team and Foivos Tsimpourlas. # # 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.apac...
12,217
40
129
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/incoder/example_api.py
import typing from deeplearning.benchpress.util import pytorch torch = pytorch.torch # signals the start of a document BOS = "<|endoftext|>" # signals the end of a generated infill EOM = "<|endofmask|>" def make_sentinel(i): # signals (1) a location to insert an infill and (2) the start of the infill generation ...
4,614
40.954545
136
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/incoder/incoder.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
17,189
41.339901
202
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/incoder/data_generator.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
7,533
48.565789
169
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/tf_bert/hooks.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
21,690
36.205832
130
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/tf_bert/data_generator.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
20,023
45.675991
237
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/tf_bert/model.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 ...
42,818
38.464516
130
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/tf_bert/tf_bert.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
33,831
45.281806
142
py
BenchPress
BenchPress-master/deeplearning/benchpress/models/tf_bert/optimizer.py
"""Functions and classes related to optimization (weight updates).""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import re from deeplearning.benchpress.util.tf import tf def create_optimizer(loss, init_lr, num_train_steps, num_warmup_steps, use_tpu): ...
5,642
34.26875
80
py
BenchPress
BenchPress-master/deeplearning/benchpress/github/bigQuery_database.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
11,405
32.745562
128
py
BenchPress
BenchPress-master/deeplearning/benchpress/github/storage.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
13,868
26.905433
98
py
BenchPress
BenchPress-master/deeplearning/benchpress/github/miner.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
32,978
32.686415
129
py
BenchPress
BenchPress-master/deeplearning/benchpress/github/datasets.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
14,558
30.997802
109
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/distributions.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
16,053
29.347826
150
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/environment.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
3,842
51.643836
118
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/fs.py
# coding=utf-8 # Copyright 2022 Chris Cummins. # # 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 law or agreed...
19,969
24.834411
94
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/memory.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
2,892
31.875
96
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/tf.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
3,176
31.752577
106
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/http_server.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
21,868
36.066102
140
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/logging.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
7,158
27.185039
86
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/pytorch.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
3,833
32.33913
107
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/proxy_bash.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
1,651
28.5
94
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/socket_server.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
6,885
26.110236
131
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/cldrive_server.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
11,555
33.912387
213
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/commit.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
1,141
33.606061
74
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/pbutil.py
# coding=utf-8 # Copyright 2022 Chris Cummins. # # 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 law or agreed...
19,217
29.699681
109
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/monitors.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
13,386
29.916859
135
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/cache.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
8,784
20.271186
82
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/distrib.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
7,491
28.380392
80
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/plotter.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
19,047
30.746667
136
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/process.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
1,112
36.1
82
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/crypto.py
# coding=utf-8 # Copyright 2022 Chris Cummins. # # 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 law or agreed...
3,703
17.994872
74
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/sqlutil.py
# coding=utf-8 # Copyright 2022 Chris Cummins. # # 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 law or agreed...
33,932
30.017367
90
py
BenchPress
BenchPress-master/deeplearning/benchpress/util/gpu.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
2,747
32.108434
215
py
BenchPress
BenchPress-master/deeplearning/benchpress/scratchpad/feature_transformer.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
13,876
35.518421
185
py
BenchPress
BenchPress-master/deeplearning/benchpress/scratchpad/parse_structs.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
1,588
30.156863
113
py
BenchPress
BenchPress-master/deeplearning/benchpress/scratchpad/pipe_clang.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
3,489
30.441441
123
py
BenchPress
BenchPress-master/deeplearning/benchpress/scratchpad/test_torch_sampler.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
2,289
33.179104
137
py
BenchPress
BenchPress-master/deeplearning/benchpress/scratchpad/analyze_feature_vals.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
3,469
33.7
135
py
BenchPress
BenchPress-master/deeplearning/benchpress/scratchpad/plot_pareto.py
from deeplearning.benchpress.util import plotter as plt import pathlib groups = { "BenchDirect": {}, "BenchPress": {}, } ## Grewe groups["BenchDirect"]['data'] = [[267*2048, 73.56], [266*1024, 77.79], [512*290, 81.56], [256*289, 82.94], [128*272, 85.30], [64*282, 87.62], [32*151, 96.24]] groups["BenchPress"]['data'...
7,529
32.171806
158
py
BenchPress
BenchPress-master/deeplearning/benchpress/scratchpad/cldrive.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
11,147
29.542466
135
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/downstream_data.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
20,020
41.963519
160
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/data_generator.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
6,852
31.478673
105
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/active_models.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
7,599
37.77551
130
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/downstream_tasks.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
32,769
35.451613
165
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/backends.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
1,639
32.469388
91
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/committee/active_committee.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
33,727
42.407979
324
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/committee/committee_database.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
9,469
37.811475
105
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/committee/config.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
9,649
33.71223
122
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/committee/models.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
8,757
31.557621
112
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/committee/optimizer.py
# coding=utf-8 # Copyright 2022 The Google AI Language Team Authors, The HuggingFace Inc. team and Foivos Tsimpourlas. # # 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....
12,214
39.989933
129
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/expected_error_reduction/eer_database.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
6,628
35.224044
99
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/expected_error_reduction/model.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
3,600
32.036697
94
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/expected_error_reduction/config.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
6,306
34.234637
111
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/expected_error_reduction/eer.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
34,761
45.164675
203
py
BenchPress
BenchPress-master/deeplearning/benchpress/active_models/expected_error_reduction/optimizer.py
# coding=utf-8 # Copyright 2022 The Google AI Language Team Authors, The HuggingFace Inc. team and Foivos Tsimpourlas. # # 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....
12,214
39.989933
129
py
BenchPress
BenchPress-master/deeplearning/benchpress/samplers/validation_database.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
7,215
56.269841
207
py
BenchPress
BenchPress-master/deeplearning/benchpress/samplers/samples_database.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
18,419
37.375
175
py
BenchPress
BenchPress-master/deeplearning/benchpress/samplers/samplers.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
24,541
37.527473
131
py
BenchPress
BenchPress-master/deeplearning/benchpress/samplers/sample_observers.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas and Chris Cummins. # # 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 a...
9,558
36.486275
201
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/clsmith.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
8,518
33.630081
176
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/workers.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
5,437
39.58209
186
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/public.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
1,462
33.023256
76
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/evaluators.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
57,585
40.911208
190
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/log_file.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
910
31.535714
74
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/comp_vs_mem.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
2,382
34.567164
89
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/mutec.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
12,379
37.209877
202
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/distance_score.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
18,825
45.830846
189
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/srciror.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
13,962
36.942935
204
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/cldrive.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
21,995
42.214145
236
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/benchmark_analysis.py
# coding=utf-8 # Copyright 2022 Foivos Tsimpourlas. # # 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 law or a...
11,531
36.320388
154
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/turing/db.py
# coding=utf-8 # Copyright 2023 Foivos Tsimpourlas. # # 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 law or a...
23,786
36.937799
136
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/turing/server.py
# coding=utf-8 # Copyright 2023 Foivos Tsimpourlas. # # 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 law or a...
12,964
30.240964
122
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/turing/analysis.py
# coding=utf-8 # Copyright 2023 Foivos Tsimpourlas. # # 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 law or a...
9,592
35.2
137
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/grewe/model.py
# # cgo13 - Implementation of the autotuner from: # # Grewe, D., Wang, Z., & O'Boyle, M. F. P. M. (2013). Portable # Mapping of Data Parallel Programs to OpenCL for Heterogeneous # Systems. In CGO. IEEE. # from __future__ import absolute_import from __future__ import division from __future__ import print_fu...
16,346
24.743307
99
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/grewe/api.py
# Copyright (c) Foivos Tsimpourlas. # # BenchPress is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # BenchPress is distributed in the...
23,483
36.335453
209
py
BenchPress
BenchPress-master/deeplearning/benchpress/experiments/grewe/preamble.py
# preamble import warnings import typing import pathlib import re from collections import Counter # code for the paper: import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns from numpy.random import RandomState from sklearn.neighbors import KNeighborsClassifier, NearestNeighbors ...
24,555
31.353096
207
py
DeepGlow
DeepGlow-main/example.py
from DeepGlow import Emulator import numpy as np model = Emulator(simtype='ism') observing_times=np.array([1e5,1e6,1e7]) observing_frequencies = np.array([1e9,1e12,1e15]) GRB_params = np.array([0,-1,0,0,0.1,0.1,2.2,-2,-2,0]) flux_values = model.flux(params=GRB_params,t_obs=observing_times,nu_obs=observing_frequencies...
393
29.307692
94
py