diff --git a/privacy_guard/attacks/base_attack.py b/privacy_guard/attacks/base_attack.py index 182793a..4617374 100644 --- a/privacy_guard/attacks/base_attack.py +++ b/privacy_guard/attacks/base_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/calib_attack.py b/privacy_guard/attacks/calib_attack.py index 1e95291..e14cfaf 100644 --- a/privacy_guard/attacks/calib_attack.py +++ b/privacy_guard/attacks/calib_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/generation_attack.py b/privacy_guard/attacks/extraction/generation_attack.py index f833347..7a5bad3 100644 --- a/privacy_guard/attacks/extraction/generation_attack.py +++ b/privacy_guard/attacks/extraction/generation_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/logits_attack.py b/privacy_guard/attacks/extraction/logits_attack.py index 5d8851a..4d7f92a 100644 --- a/privacy_guard/attacks/extraction/logits_attack.py +++ b/privacy_guard/attacks/extraction/logits_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/logprobs_attack.py b/privacy_guard/attacks/extraction/logprobs_attack.py index 5155bdc..7b45132 100644 --- a/privacy_guard/attacks/extraction/logprobs_attack.py +++ b/privacy_guard/attacks/extraction/logprobs_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/predictors/__init__.py b/privacy_guard/attacks/extraction/predictors/__init__.py index 4178b9f..1654167 100644 --- a/privacy_guard/attacks/extraction/predictors/__init__.py +++ b/privacy_guard/attacks/extraction/predictors/__init__.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/predictors/base_predictor.py b/privacy_guard/attacks/extraction/predictors/base_predictor.py index f8aa5ff..5e6d2c4 100644 --- a/privacy_guard/attacks/extraction/predictors/base_predictor.py +++ b/privacy_guard/attacks/extraction/predictors/base_predictor.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/predictors/huggingface_predictor.py b/privacy_guard/attacks/extraction/predictors/huggingface_predictor.py index 5353ffa..433cd6d 100644 --- a/privacy_guard/attacks/extraction/predictors/huggingface_predictor.py +++ b/privacy_guard/attacks/extraction/predictors/huggingface_predictor.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/predictors/tests/test_huggingface_predictor.py b/privacy_guard/attacks/extraction/predictors/tests/test_huggingface_predictor.py index 564faeb..14da9b0 100644 --- a/privacy_guard/attacks/extraction/predictors/tests/test_huggingface_predictor.py +++ b/privacy_guard/attacks/extraction/predictors/tests/test_huggingface_predictor.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict import unittest diff --git a/privacy_guard/attacks/extraction/scripts/generation.py b/privacy_guard/attacks/extraction/scripts/generation.py index d923406..d26d3d6 100644 --- a/privacy_guard/attacks/extraction/scripts/generation.py +++ b/privacy_guard/attacks/extraction/scripts/generation.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/tests/test_generation_attack.py b/privacy_guard/attacks/extraction/tests/test_generation_attack.py index c9d3147..9a9322d 100644 --- a/privacy_guard/attacks/extraction/tests/test_generation_attack.py +++ b/privacy_guard/attacks/extraction/tests/test_generation_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict import os diff --git a/privacy_guard/attacks/extraction/tests/test_logits_attack.py b/privacy_guard/attacks/extraction/tests/test_logits_attack.py index 43c7590..4de4678 100644 --- a/privacy_guard/attacks/extraction/tests/test_logits_attack.py +++ b/privacy_guard/attacks/extraction/tests/test_logits_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict import tempfile diff --git a/privacy_guard/attacks/extraction/tests/test_logprobs_attack.py b/privacy_guard/attacks/extraction/tests/test_logprobs_attack.py index 77aaef6..b00dc91 100644 --- a/privacy_guard/attacks/extraction/tests/test_logprobs_attack.py +++ b/privacy_guard/attacks/extraction/tests/test_logprobs_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict import tempfile diff --git a/privacy_guard/attacks/extraction/utils/data_utils.py b/privacy_guard/attacks/extraction/utils/data_utils.py index 0b8b34e..d2e447f 100644 --- a/privacy_guard/attacks/extraction/utils/data_utils.py +++ b/privacy_guard/attacks/extraction/utils/data_utils.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/utils/model_inference.py b/privacy_guard/attacks/extraction/utils/model_inference.py index 3e98ea1..920ba4e 100644 --- a/privacy_guard/attacks/extraction/utils/model_inference.py +++ b/privacy_guard/attacks/extraction/utils/model_inference.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/extraction/utils/tests/test_data_utils.py b/privacy_guard/attacks/extraction/utils/tests/test_data_utils.py index 5d4241c..c9aa99a 100644 --- a/privacy_guard/attacks/extraction/utils/tests/test_data_utils.py +++ b/privacy_guard/attacks/extraction/utils/tests/test_data_utils.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict import os diff --git a/privacy_guard/attacks/extraction/utils/tests/test_model_inference.py b/privacy_guard/attacks/extraction/utils/tests/test_model_inference.py index 12bee63..f5489d3 100644 --- a/privacy_guard/attacks/extraction/utils/tests/test_model_inference.py +++ b/privacy_guard/attacks/extraction/utils/tests/test_model_inference.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict import unittest diff --git a/privacy_guard/attacks/lira_attack.py b/privacy_guard/attacks/lira_attack.py index 776172b..9b1f8fa 100644 --- a/privacy_guard/attacks/lira_attack.py +++ b/privacy_guard/attacks/lira_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict from typing import Tuple, Union diff --git a/privacy_guard/attacks/loss_attack.py b/privacy_guard/attacks/loss_attack.py index 6a6b918..1bcf531 100644 --- a/privacy_guard/attacks/loss_attack.py +++ b/privacy_guard/attacks/loss_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/rmia_attack.py b/privacy_guard/attacks/rmia_attack.py index e4e38b3..cb6042f 100644 --- a/privacy_guard/attacks/rmia_attack.py +++ b/privacy_guard/attacks/rmia_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict from typing import Optional diff --git a/privacy_guard/attacks/tests/test_calib_attack.py b/privacy_guard/attacks/tests/test_calib_attack.py index 1e4d986..c9b7813 100644 --- a/privacy_guard/attacks/tests/test_calib_attack.py +++ b/privacy_guard/attacks/tests/test_calib_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/tests/test_lira_attack.py b/privacy_guard/attacks/tests/test_lira_attack.py index 273f5ae..7758aa6 100644 --- a/privacy_guard/attacks/tests/test_lira_attack.py +++ b/privacy_guard/attacks/tests/test_lira_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/tests/test_loss_attack.py b/privacy_guard/attacks/tests/test_loss_attack.py index e7aad42..eb42c8e 100644 --- a/privacy_guard/attacks/tests/test_loss_attack.py +++ b/privacy_guard/attacks/tests/test_loss_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/tests/test_rmia_attack.py b/privacy_guard/attacks/tests/test_rmia_attack.py index e622147..ddeab59 100644 --- a/privacy_guard/attacks/tests/test_rmia_attack.py +++ b/privacy_guard/attacks/tests/test_rmia_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/tests/test_text_inclusion_attack.py b/privacy_guard/attacks/tests/test_text_inclusion_attack.py index 04b6543..a9523a6 100644 --- a/privacy_guard/attacks/tests/test_text_inclusion_attack.py +++ b/privacy_guard/attacks/tests/test_text_inclusion_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict diff --git a/privacy_guard/attacks/text_inclusion_attack.py b/privacy_guard/attacks/text_inclusion_attack.py index b1be3a2..3c6a7cf 100644 --- a/privacy_guard/attacks/text_inclusion_attack.py +++ b/privacy_guard/attacks/text_inclusion_attack.py @@ -1,7 +1,16 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. # -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. +# 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, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # pyre-strict