Boynn commited on
Commit
27659c2
·
verified ·
1 Parent(s): bbf835e

Upload fine-tuned CLIP model

Browse files
Files changed (3) hide show
  1. README.md +18 -0
  2. config.json +25 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: mit
4
+ tags:
5
+ - clip
6
+ - vision
7
+ - text
8
+ - multimodal
9
+ ---
10
+
11
+ # Fine-tuned CLIP-ViT-bigG-14 Model
12
+
13
+ This model is a fine-tuned version based on laion/CLIP-ViT-bigG-14-laion2B-39B-b160k.
14
+
15
+ ## Usage Method
16
+
17
+ base_model = CLIPTextModelWithProjection.from_pretrained("Boynn/CLIP-ViT-bigG-14-laion2B-39B-b160k-sft")
18
+
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Boynn/CLIP-ViT-bigG-14-laion2B-39B-b160k-sft",
3
+ "architectures": [
4
+ "CLIPTextModelWithProjection"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "dropout": 0.0,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_size": 1280,
12
+ "initializer_factor": 1.0,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 5120,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 77,
17
+ "model_type": "clip_text_model",
18
+ "num_attention_heads": 20,
19
+ "num_hidden_layers": 32,
20
+ "pad_token_id": 1,
21
+ "projection_dim": 1280,
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.46.3",
24
+ "vocab_size": 49408
25
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27b35e803b219864bbb4da8070a97bdb37384ee65f034d21bd19c9e6284cbe56
3
+ size 2778702264