diff --git a/tests/feature_extraction_test.py b/tests/feature_extraction_test.py index cd2d86a..a408046 100644 --- a/tests/feature_extraction_test.py +++ b/tests/feature_extraction_test.py @@ -1,3 +1,14 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. +# -------------------------------------------------------- +# References: +# DeiT: https://github.com/facebookresearch/deit +# BEiT: https://github.com/microsoft/unilm/tree/master/beit +# -------------------------------------------------------- + import unittest from translation.feature_extraction_module import FeatureExtractionConfig, FeatureExtractionModule, LauncherConfig from unittest.mock import patch, MagicMock diff --git a/translation/feature_extraction_module.py b/translation/feature_extraction_module.py index c406bf8..28c0915 100644 --- a/translation/feature_extraction_module.py +++ b/translation/feature_extraction_module.py @@ -1,3 +1,14 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. +# -------------------------------------------------------- +# References: +# DeiT: https://github.com/facebookresearch/deit +# BEiT: https://github.com/microsoft/unilm/tree/master/beit +# -------------------------------------------------------- + import math import time from dataclasses import dataclass diff --git a/utils/download_model.py b/utils/download_model.py index d309029..8c71696 100644 --- a/utils/download_model.py +++ b/utils/download_model.py @@ -1,3 +1,14 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. +# -------------------------------------------------------- +# References: +# DeiT: https://github.com/facebookresearch/deit +# BEiT: https://github.com/microsoft/unilm/tree/master/beit +# -------------------------------------------------------- + import os import wget