Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 3p-integrations/vllm/inference.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion end-to-end-use-cases/RAFT-Chatbot/config.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion end-to-end-use-cases/RAFT-Chatbot/raft_utils.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion end-to-end-use-cases/coding/text2sql/csv2db.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion end-to-end-use-cases/coding/text2sql/txt2csv.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion getting-started/finetuning/datasets/custom_dataset.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion getting-started/finetuning/finetuning.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>"
]
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion getting-started/inference/local_inference/inference.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions getting-started/responsible_ai/llama_guard/__init__.py

This file was deleted.