yejunyoon commited on
Commit
f7100ec
·
verified ·
1 Parent(s): 72d8ecd

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Model Details
2
+ The CFT-CLIP was developed by HUMANE Lab researchers at Soongsil University to understand news thumbnail representativeness by counterfactual text-guided contrastive language-image pretraining.
3
+
4
+ # Model Date
5
+ January 2024
6
+
7
+ # Model Type
8
+ The model uses a ViT-L/14 transformer architecture as an image encoder and a causal text transformer as a text encoder. These encoders initialized weight for openai/clip-vit-large-patch14 before training. It is trained that the similarity of positive (image, text) pairs is high, and the similarity of in-batch negatives and hard negatives is low via contrastive loss.
9
+
10
+ Input: image and text
11
+
12
+ output: image and text representation
13
+
14
+
15
+ # Intended Use
16
+ The model is intended as a research output for research communities.
17
+
18
+ # Primary intended uses
19
+ The primary intended users of these models are AI researchers.
20
+
21
+ # Out-of-Scope Use Cases
22
+ The model was not intentionally trained or evaluated in any language other than English. Therefore, use of the model should be limited to English use cases.
23
+
24
+ # Factors
25
+ # Environment
26
+ This model was trained on a machine equipped with AMD Ryzen Threadripper Pro 5975WX CPU, three Nvidia RTX A6000 GPUs (48GB per GPU), and 256GB RAM. The experiments were conducted on Python 3.9, Pytorch 1.10.1, Transformers 4.29.2, LAVIS 1.0.2, and SentenceTransformer 2.2.2. Five random seeds were used for repeated experiments: 0, 1, 2, 3, and 4. The temperature used for adjusting the masked token prediction is set as 2.0.
27
+
28
+ # Card Prompts
29
+ # Relevant factors
30
+ We trained the models with the AdamW optimizer with the initial learning rate of 1e-4, updated by the cosine annealing scheduler.The minibatch size is 128. The temperature τ in the loss equation is 0.05. Other hyperparameters were optimized by random search using a validation set. Model training was early-stopped when the validation loss was not decreased five times consecutively, measured for every 20 iterations.
31
+
32
+ # Evaluation factors
33
+
34
+ # Metrics
35
+ Model performance measures: F1-score between model predictions and labels and Spearman between cosine similarity of models between labels.
36
+
37
+ Decision thresholds: validation
38
+
39
+ Approaches to uncertainty and variability: Measure by changing the random seed 5 times
40
+
41
+
42
+ # Data
43
+ # Training Data
44
+ The model was trained using the summary text and thumbnail image for the image in the first paragraph of the publicly available BBC English Dataset.
45
+ The original implementation had two variants: one using a NELA-GT-2021 and the other using the titles instead of summary text from BBC Dataset.
46
+
47
+ # Evaluation Data
48
+ In NELA-GT-2021, annotation was performed by randomly sampling 1,000 in 10,000 samples not included in the train and valid set.
49
+ Ethical Considerations
50
+ Because CLIP's weights are used, potential bias in CLIP and potential bias in the data used for learning may also be included.
51
+
52
+
53
+ # Caveats and Recommendations