forked from alfianlosari/GPTEncoder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGPTEncoder.podspec
35 lines (26 loc) · 1.22 KB
/
GPTEncoder.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Pod::Spec.new do |s|
s.name = "GPTEncoder"
s.version = "1.0.3"
s.summary = "A programmatic interface for tokenizing text for OpenAI GPT API."
s.description = <<-DESC
You can use the tool below to understand how a piece of text would be tokenized by the API, and the total count of tokens in that piece of text.
DESC
s.homepage = "https://github.com/alfianlosari/GPTEncoder"
s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "alfianlosari" => "[email protected]" }
s.social_media_url = "https://github.com/alfianlosari"
s.swift_versions = ['5.5']
s.source = { :git => "https://github.com/alfianlosari/GPTEncoder.git", :tag => s.version }
s.source_files = ["Sources/GPTEncoder/**/*.swift"]
s.resource_bundles = {
'GPTEncoder_GPTEncoder' => [
'Sources/GPTEncoder/Resources/vocab.bpe',
'Sources/GPTEncoder/Resources/encoder.json'
]
}
s.ios.deployment_target = "12.0"
s.osx.deployment_target = "10.13"
# s.tvos.deployment_target = "12.0"
# s.watchos.deployment_target = "7.0"
s.requires_arc = true
end