Disty0 commited on
Commit
0dafd30
1 Parent(s): 4871045

Upload 8 files

Browse files
Files changed (8) hide show
  1. LICENSE +110 -0
  2. config.json +24 -0
  3. merges.txt +0 -0
  4. model.safetensors +3 -0
  5. special_tokens_map.json +30 -0
  6. tokenizer.json +0 -0
  7. tokenizer_config.json +30 -0
  8. vocab.json +0 -0
LICENSE ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Fair AI Public License 1.0
2
+
3
+ Published by the [Freedom of Development Project](https://freedevproject.org).
4
+
5
+ *This license comes with special requirements if you intend to allow users
6
+ to access this software over a network. See [Notices](#notices) for more
7
+ information.*
8
+
9
+ ## Purpose
10
+ This license gives everyone as much permission to work with this software as
11
+ possible, while protecting contributors from liability and protecting the
12
+ freedom of end users.
13
+
14
+ ## Definitions
15
+ In this license, "model" refers to machine learning model weights, biases,
16
+ parameters, optimizer states, and any byproducts of a training or pretraining
17
+ process, whether in the form of checkpoints or any other form.
18
+
19
+ The term "derived model" refers to any model based on this model.
20
+
21
+ The term "software" also refers to any model along with documentation or
22
+ other resources provided with the software.
23
+
24
+ The term "source code" refers to the preferred form of making modifications
25
+ to software. It also includes any models, if applicable, but it does not
26
+ include any datasets used to train a model.
27
+
28
+ To "modify" also means to perform any training on a model or to combine a
29
+ model with another model.
30
+
31
+ ## Acceptance
32
+ In order to receive this license, you must agree to its rules. The rules of
33
+ this license are both obligations under that agreement and conditions to your
34
+ license. You must not do anything with this software that triggers a rule that
35
+ you cannot or will not follow. If you do not agree, then you cannot use this
36
+ software in any way.
37
+
38
+ ## Copyright
39
+ Each contributor licenses you to do everything with this software that would
40
+ otherwise infringe that contributor's copyright in it.
41
+
42
+ ## Freedom
43
+ Neither this software nor any work that is combined with this software will be
44
+ considered a technological protection measure under the WIPO Copyright Treaty
45
+ or any similar law. Reverse engineering of this software and of any work that
46
+ is combined with this software is always allowed.
47
+
48
+ ## Notices
49
+ You must ensure that everyone who gets a copy of any part of this software from
50
+ you, with or without changes, also gets the text of this license along with
51
+ the corresponding source code.
52
+
53
+ If you modify this software and allow users to interact with it through a
54
+ computer network, you must ensure they have a reasonable way to receive the
55
+ corresponding source code from you, whether that is via a download link or a
56
+ prominent written offer. As a special case, if you are only allowing users to
57
+ interact with a derived model, then you may choose to provide a download link
58
+ or written offer only for the derived model.
59
+
60
+ This software, all source code, and all modifications must be provided under
61
+ this license or another license that allows everything this license allows.
62
+ Note that this does not give you permission to change the license for this
63
+ software.
64
+
65
+ ## Excuse
66
+ If anyone notifies you in writing that you have not complied with
67
+ [Notices](#notices), you can keep your license by taking all practical steps
68
+ to comply within 30 days after the notice. If you do not do so, your license
69
+ ends immediately.
70
+
71
+ ## Output
72
+ The output of this software is not covered by this license, and no contributor
73
+ claims any rights to it.
74
+
75
+ ## Patent
76
+ Each contributor licenses you to do everything with this software that would
77
+ otherwise infringe any patent claims they can license or become able to license.
78
+
79
+ ## Reliability
80
+ No contributor can revoke this license.
81
+
82
+ ## Alternatives
83
+ You can also use this software under the terms of the GNU AGPL 3.0, or any later
84
+ version of that license. If you do, [No Harm](#no-harm) and
85
+ [No Liability](#no-liability) still apply.
86
+
87
+ ## Revisions
88
+ The Freedom of Development Project may publish revised or new versions of the
89
+ Fair AI Public License. Those new versions will be similar in spirit to this
90
+ license.
91
+
92
+ Unless a contributor specifies otherwise, you have the option of following the
93
+ terms of any later version of this license. Your choice to follow a later
94
+ version of the license will not impose additional obligations on any
95
+ contributor.
96
+
97
+ ## Survival
98
+ The provisions of [No Harm](#no-harm) and [No Liability](#no-liability) survive
99
+ the end of your license.
100
+
101
+ ## No Harm
102
+ You agree that no contributor's conduct in the creation of this software has
103
+ caused you any harm. As far as the law allows, you give up your right to pursue
104
+ any kind of legal claim against any contributor for actions related the
105
+ creation of this software, even if those actions broke a previous agreement.
106
+
107
+ ## No Liability
108
+ ***As far as the law allows, this software comes as is, without any warranty or
109
+ condition, and no contributor will be liable to anyone for any damages related
110
+ to this software or this license, under any kind of legal claim.***
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPTextModelWithProjection"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 49406,
7
+ "dropout": 0.0,
8
+ "eos_token_id": 49407,
9
+ "hidden_act": "gelu",
10
+ "hidden_size": 1280,
11
+ "initializer_factor": 1.0,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 5120,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 77,
16
+ "model_type": "clip_text_model",
17
+ "num_attention_heads": 20,
18
+ "num_hidden_layers": 32,
19
+ "pad_token_id": 1,
20
+ "projection_dim": 1280,
21
+ "torch_dtype": "float16",
22
+ "transformers_version": "4.36.2",
23
+ "vocab_size": 49408
24
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa33331a5693926ac7e3f55b0aa55220aa61cc8c8e75147694165987db824593
3
+ size 1389382176
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "49406": {
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49407": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": "<|startoftext|>",
22
+ "clean_up_tokenization_spaces": true,
23
+ "do_lower_case": true,
24
+ "eos_token": "<|endoftext|>",
25
+ "errors": "replace",
26
+ "model_max_length": 77,
27
+ "pad_token": "<|endoftext|>",
28
+ "tokenizer_class": "CLIPTokenizer",
29
+ "unk_token": "<|endoftext|>"
30
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff