Download fairseq/model_parallel/modules/__init__.py from charlesnovak/EnzyGen: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/charlesnovak/EnzyGen/resolve/main/fairseq/model_parallel/modules/__init__.py
- Command line
-
hf download hf://charlesnovak/EnzyGen/fairseq/model_parallel/modules/__init__.py
-
curl -L -o __init__.py https://huggingface.co/charlesnovak/EnzyGen/resolve/main/fairseq/model_parallel/modules/__init__.py
526 Bytes
| # Copyright (c) Facebook, Inc. and its affiliates. | |
| # | |
| # This source code is licensed under the MIT license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| """isort:skip_file""" | |
| from .multihead_attention import ModelParallelMultiheadAttention | |
| from .transformer_layer import ( | |
| ModelParallelTransformerEncoderLayer, | |
| ModelParallelTransformerDecoderLayer, | |
| ) | |
| __all__ = [ | |
| "ModelParallelMultiheadAttention", | |
| "ModelParallelTransformerEncoderLayer", | |
| "ModelParallelTransformerDecoderLayer", | |
| ] | |