From e399ba533e545978c7f3fef04e8403ffcbded5c2 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Thu, 5 Dec 2024 21:20:40 -0500 Subject: [PATCH] fix license header for fix_untrained_tokens from unsloth-zoo (#2129) [skip ci] --- src/axolotl/core/tokenizer_utils.py | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/axolotl/core/tokenizer_utils.py b/src/axolotl/core/tokenizer_utils.py index 8e5c9205b..1b86b9c49 100644 --- a/src/axolotl/core/tokenizer_utils.py +++ b/src/axolotl/core/tokenizer_utils.py @@ -3,18 +3,12 @@ helper functions for fixing the embeddings/tokenizer """ # Copyright 2023-present Daniel Han-Chen & the Unsloth team. All rights reserved. +# GNU LESSER GENERAL PUBLIC LICENSE +# Version 3, 29 June 2007 # -# 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. +# Copyright (C) 2007 Free Software Foundation, Inc. +# Everyone is permitted to copy and distribute verbatim copies +# of this license document, but changing it is not allowed. import gc import itertools