Skip to content

Commit 9b2079e

Browse files
committed
Clarify copyright, clean up header comments
1 parent b6cc859 commit 9b2079e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+70
-206
lines changed

Examples/transformers-cli/Package.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// swift-tools-version: 6.2
2-
// The swift-tools-version declares the minimum version of Swift required to build this package.
32

43
import PackageDescription
54

Examples/transformers-cli/Sources/transformers-cli/Transformers.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright © Hugging Face SAS
2+
13
import ArgumentParser
24
import CoreML
35
import Foundation

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
identification within third-party archives.
188188

189189
Copyright 2022 Hugging Face SAS.
190+
Copyright © Anthony DePasquale.
190191

191192
Licensed under the Apache License, Version 2.0 (the "License");
192193
you may not use this file except in compliance with the License.

Package.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// swift-tools-version: 5.9
2-
// The swift-tools-version declares the minimum version of Swift required to build this package.
32

43
import PackageDescription
54

Sources/Generation/Decoders.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright © Hugging Face SAS
2+
13
#if canImport(CoreML)
24
import CoreML
35

Sources/Generation/Generation.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
//
2-
// Generation.swift
3-
//
4-
//
5-
// Created by Pedro Cuenca on 7/5/23.
6-
//
1+
// Copyright © Hugging Face SAS
72

83
/// Supported text generation modes.
94
public enum GenerationMode {

Sources/Generation/GenerationConfig.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
//
2-
// GenerationConfig.swift
3-
//
4-
//
5-
// Created by Pedro Cuenca on 7/5/23.
6-
//
1+
// Copyright © Hugging Face SAS
72

83
import Foundation
94

Sources/Generation/LogitsWarper/LogitsProcessor.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright © Hugging Face SAS
2+
13
#if canImport(CoreML)
24
import CoreML
35

Sources/Generation/LogitsWarper/MinPLogitsWarper.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright © Hugging Face SAS
2+
13
#if canImport(CoreML)
24
import CoreML
35

Sources/Generation/LogitsWarper/RepetitionPenaltyLogitsProcessor.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright © Hugging Face SAS
2+
13
#if canImport(CoreML)
24
import CoreML
35

0 commit comments

Comments
 (0)