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 |
|---|---|---|---|---|---|---|
flaxformer | flaxformer-main/flaxformer/architectures/dual_encoder/single_tower_logit_functions.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 2,595 | 37.176471 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/dual_encoder/l2_norm.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 1,468 | 27.803922 | 74 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/hierarchical_relative_position_bias_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 2,070 | 31.873016 | 95 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/token_hierarchy.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 34,032 | 34.525052 | 89 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/h_attention.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 40,618 | 39.700401 | 126 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/h_transformer_1d_architecture_test_utils.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 11,786 | 38.159468 | 102 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/hierarchical_relative_position_bias.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 5,722 | 41.392593 | 127 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/h_transformer_1d_architecture.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 34,420 | 38.609896 | 106 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/h_transformer_utils.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 2,591 | 31 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/h_transformer_1d_architecture_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 14,614 | 35.5375 | 119 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/partitioning.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 6,712 | 29.103139 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/h_attention_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 11,252 | 37.145763 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/h_transformer/token_hierarchy_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 13,102 | 41.267742 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/rotary_embedding_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 4,786 | 31.344595 | 85 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/attention_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 6,168 | 40.682432 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/slicing.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 4,025 | 34.946429 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/perceiver_ar_architecture_test_utils.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 6,286 | 36.646707 | 105 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/dense_attention.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 57,763 | 44.41195 | 122 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/t5_models.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 31,087 | 40.176159 | 86 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/perceiver_ar_architecture_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 4,857 | 34.720588 | 113 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/attention.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 4,788 | 34.474074 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/decoder_layer.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 15,474 | 39.4047 | 104 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/parallel_fused_decoder.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 17,040 | 40.563415 | 104 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/rotary_embedding.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 5,084 | 31.388535 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/perceiver_ar_architecture.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 17,399 | 40.232227 | 128 | py |
flaxformer | flaxformer-main/flaxformer/architectures/perceiver_ar/t5_models_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 31,728 | 36.109942 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/fido/fido_architecture.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 5,930 | 33.888235 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/fido/fido_architecture_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 8,296 | 32.321285 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/common/param_remapping_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 10,190 | 31.559105 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/common/param_remapping.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 10,677 | 37 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/common/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/architectures/moe/moe_parallel_fused_decoder_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 10,187 | 29.872727 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/moe_enums.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 1,281 | 32.736842 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/moe_architecture_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 30,979 | 38.414758 | 108 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/routing_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 22,824 | 31.889049 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/moe_parallel_fused_decoder.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 11,725 | 33.589971 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/moe_layers_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 14,536 | 28.132265 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/scatter_utils_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 2,302 | 36.145161 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/scatter_utils.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 1,810 | 35.22 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/moe_architecture.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 25,449 | 40.517129 | 110 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/moe_layers.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 34,130 | 36.839246 | 110 | py |
flaxformer | flaxformer-main/flaxformer/architectures/moe/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/architectures/moe/routing.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 33,403 | 42.325551 | 110 | py |
flaxformer | flaxformer-main/flaxformer/architectures/bert/bert.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 31,705 | 35.824623 | 111 | py |
flaxformer | flaxformer-main/flaxformer/architectures/bert/bert_checkpoint_converter.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 7,555 | 37.55102 | 82 | py |
flaxformer | flaxformer-main/flaxformer/architectures/bert/bert_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 14,782 | 32.751142 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/bert/heads.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 14,583 | 34.312349 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/bert/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/architectures/bert/heads_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 10,381 | 33.491694 | 100 | py |
flaxformer | flaxformer-main/flaxformer/architectures/bert/configs.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 3,132 | 29.417476 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/t5/t5_1_0.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 4,088 | 26.628378 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/t5/t5_architecture_test_utils.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 17,616 | 33.408203 | 105 | py |
flaxformer | flaxformer-main/flaxformer/architectures/t5/t5_1_1.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 4,442 | 27.664516 | 79 | py |
flaxformer | flaxformer-main/flaxformer/architectures/t5/t5_architecture_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 21,698 | 35.653716 | 83 | py |
flaxformer | flaxformer-main/flaxformer/architectures/t5/t5_common_layers_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 10,371 | 36.444043 | 74 | py |
flaxformer | flaxformer-main/flaxformer/architectures/t5/t5_architecture.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 63,075 | 38.496556 | 110 | py |
flaxformer | flaxformer-main/flaxformer/architectures/t5/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/architectures/t5/t5_common_layers.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 7,623 | 35.830918 | 104 | py |
flaxformer | flaxformer-main/flaxformer/architectures/t5/parallel_fused_decoder.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 16,959 | 37.371041 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/t5/parallel_fused_decoder_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 12,093 | 33.067606 | 83 | py |
flaxformer | flaxformer-main/flaxformer/architectures/longt5/tensor_utils.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 14,661 | 34.936275 | 117 | py |
flaxformer | flaxformer-main/flaxformer/architectures/longt5/long_attention.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 56,450 | 42.059497 | 113 | py |
flaxformer | flaxformer-main/flaxformer/architectures/longt5/longt5_architecture_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 33,452 | 34.816916 | 111 | py |
flaxformer | flaxformer-main/flaxformer/architectures/longt5/longt5_architecture.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 30,917 | 40.224 | 124 | py |
flaxformer | flaxformer-main/flaxformer/architectures/longt5/__init__.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 577 | 35.125 | 74 | py |
flaxformer | flaxformer-main/flaxformer/architectures/longt5/tensor_utils_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 16,879 | 31.461538 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/longt5/relative_position_biases_general_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 3,959 | 37.446602 | 97 | py |
flaxformer | flaxformer-main/flaxformer/architectures/longt5/long_attention_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 33,226 | 33.432124 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/longt5/relative_position_biases_general.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 6,812 | 39.313609 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/calm_t5/components.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 18,386 | 43.306024 | 80 | py |
flaxformer | flaxformer-main/flaxformer/architectures/calm_t5/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/architectures/calm_t5/calm_architecture.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 41,532 | 39.28419 | 110 | py |
flaxformer | flaxformer-main/flaxformer/components/embedding.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 35,706 | 38.19539 | 115 | py |
flaxformer | flaxformer-main/flaxformer/components/relative_position_biases_export_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 3,830 | 32.313043 | 79 | py |
flaxformer | flaxformer-main/flaxformer/components/initializers.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 2,868 | 33.566265 | 79 | py |
flaxformer | flaxformer-main/flaxformer/components/dense.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 17,908 | 39.981693 | 109 | py |
flaxformer | flaxformer-main/flaxformer/components/layer_norm_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 1,843 | 29.733333 | 74 | py |
flaxformer | flaxformer-main/flaxformer/components/rich_attention_position_scores.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 1,331 | 27.956522 | 80 | py |
flaxformer | flaxformer-main/flaxformer/components/dense_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 20,540 | 30.552995 | 104 | py |
flaxformer | flaxformer-main/flaxformer/components/embedding_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 23,262 | 35.634646 | 80 | py |
flaxformer | flaxformer-main/flaxformer/components/initializers_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 6,579 | 32.74359 | 79 | py |
flaxformer | flaxformer-main/flaxformer/components/convolution.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 7,008 | 34.57868 | 81 | py |
flaxformer | flaxformer-main/flaxformer/components/relative_position_biases_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 7,197 | 33.605769 | 82 | py |
flaxformer | flaxformer-main/flaxformer/components/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/components/relative_position_biases.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 9,449 | 40.814159 | 84 | py |
flaxformer | flaxformer-main/flaxformer/components/layer_norm.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 3,570 | 33.669903 | 80 | py |
flaxformer | flaxformer-main/flaxformer/components/transforms.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 10,102 | 35.082143 | 97 | py |
flaxformer | flaxformer-main/flaxformer/components/attention/memory_efficient_attention_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 20,330 | 33.401015 | 81 | py |
flaxformer | flaxformer-main/flaxformer/components/attention/memory_efficient_attention.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 23,576 | 35.667185 | 80 | py |
flaxformer | flaxformer-main/flaxformer/components/attention/dense_attention.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 91,983 | 37.992794 | 105 | py |
flaxformer | flaxformer-main/flaxformer/components/attention/dense_attention_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 65,324 | 33.970557 | 104 | py |
flaxformer | flaxformer-main/flaxformer/components/attention/attention_benchmarks.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 7,573 | 27.473684 | 80 | py |
flaxformer | flaxformer-main/flaxformer/components/attention/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/t5x/checkpointing_util.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 4,551 | 36.619835 | 80 | py |
flaxformer | flaxformer-main/flaxformer/t5x/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/t5x/configs/__init__.py | 0 | 0 | 0 | py | |
flaxformer | flaxformer-main/flaxformer/t5x/configs/h_transformer/gin_configs_encoder_decoder_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 4,830 | 33.755396 | 79 | py |
flaxformer | flaxformer-main/flaxformer/t5x/configs/h_transformer/gin_configs_decoder_only_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 3,949 | 30.854839 | 79 | py |
flaxformer | flaxformer-main/flaxformer/t5x/configs/moe/gin_configs_test.py | # Copyright 2023 Google LLC.
#
# 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 to in writing, ... | 4,893 | 31.845638 | 79 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.