AhmedSSabir commited on
Commit
35d45a8
·
verified ·
1 Parent(s): 90316bb

Use approved ModernBERT-CNN-Caption-Reranker name and loading example

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -9,7 +9,7 @@ tags:
9
  - text-classification
10
  - custom-code
11
  ---
12
- # ModernBERT-CNN Visual Caption Relatedness
13
 
14
  ModernBERT-base with a CNN head that scores the relatedness between **image-context
15
  words and a candidate caption**. The output is a probability from 0 to 1. Use it
@@ -24,7 +24,7 @@ Install the dependencies from `requirements.txt`, then run:
24
  from huggingface_hub import snapshot_download
25
  import sys
26
 
27
- path = snapshot_download("AhmedSSabir/modernbert-cnn-visual-relatedness-public")
28
  sys.path.insert(0, path)
29
  from inference import RelatednessScorer
30
 
 
9
  - text-classification
10
  - custom-code
11
  ---
12
+ # ModernBERT-CNN Caption Reranker
13
 
14
  ModernBERT-base with a CNN head that scores the relatedness between **image-context
15
  words and a candidate caption**. The output is a probability from 0 to 1. Use it
 
24
  from huggingface_hub import snapshot_download
25
  import sys
26
 
27
+ path = snapshot_download("AhmedSSabir/ModernBERT-CNN-Caption-Reranker")
28
  sys.path.insert(0, path)
29
  from inference import RelatednessScorer
30