Parcourir la source

update license for new recipes that use Llama 3 or newer

Igor Kasianenko il y a 3 jours
Parent
commit
a549cb0747

+ 1 - 1
3p-integrations/vllm/inference.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import uuid
 import asyncio

+ 1 - 1
end-to-end-use-cases/RAFT-Chatbot/config.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import yaml
 

+ 1 - 1
end-to-end-use-cases/RAFT-Chatbot/raft_utils.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import os
 import logging

+ 1 - 1
end-to-end-use-cases/benchmarks/inference/cloud/azure/chat_azure_api_benchmark.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import csv
 import json

+ 1 - 1
end-to-end-use-cases/benchmarks/inference/on_prem/vllm/chat_vllm_benchmark.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import csv
 import json

+ 1 - 1
end-to-end-use-cases/benchmarks/inference/on_prem/vllm/pretrained_vllm_benchmark.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import csv
 import json

+ 1 - 1
end-to-end-use-cases/coding/text2sql/csv2db.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import sqlite3
 import csv

+ 1 - 1
end-to-end-use-cases/coding/text2sql/txt2csv.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import csv
 

+ 1 - 1
getting-started/finetuning/datasets/custom_dataset.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 # For dataset details visit: https://huggingface.co/datasets/samsum
 

+ 1 - 1
getting-started/finetuning/finetuning.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import fire
 from llama_cookbook.finetuning import main

+ 1 - 1
getting-started/finetuning/quickstart_peft_finetuning.ipynb

@@ -6,7 +6,7 @@
    "metadata": {},
    "source": [
     "Copyright (c) Meta Platforms, Inc. and affiliates.\n",
-    "This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.\n",
+    "This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.\n",
     "\n",
     "<a href=\"https://colab.research.google.com/github/meta-llama/llama-cookbook/blob/main/getting-started/finetuning/quickstart_peft_finetuning.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
    ]

+ 1 - 1
getting-started/inference/local_inference/chat_completion/chat_completion.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 # from accelerate import init_empty_weights, load_checkpoint_and_dispatch
 

+ 1 - 1
getting-started/inference/local_inference/inference.py

@@ -1,5 +1,5 @@
 # Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+# This software may be used and distributed according to the terms of the Llama 3 Community License Agreement.
 
 import os
 import sys

+ 0 - 3
getting-started/responsible_ai/llama_guard/__init__.py

@@ -1,3 +0,0 @@
-# Copyright (c) Meta Platforms, Inc. and affiliates.
-# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
-