SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2303.15389 · 2023

EVA-CLIP: Improved Training Techniques for CLIP at Scale

arXiv · PDF · Open in the Atlas

Code that ran

1 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 0 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2303.15389.json · badge: /api/ran/2303.15389.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
PaddlePaddle/PaddleMIX community (classifier label)
classifier basis not recorded on the link
1 ran · 3 no recorded run
FunctionStatusWhere it lives
create_ui Ran
ran on a synthesized input
PaddlePaddle/PaddleMIX/paddlemix/MULLM_WebUI/interface.py
code served (permissive licence) · get_code("00373b30be1d98cd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Blocks. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from unittest.mock import Mock, MagicMock, patch
import sys

torch.manual_seed(0)

# Mock gradio module since we can't import it directly
class MockGradio:
    class Blocks:
        def __init__(self, title=None, css=None):
            self.title = title
            self.css = css
            self._tabs = []
            self._callbacks = []
        
        def __enter__(self):
            return self
        
        def __exit__(self, *args):
            pass
        
        def load(self, fn, outputs=None, concurrency_limit=None):
            self._callbacks.append(('load', fn, outputs, concurrency_limit))
    
    class Tab:
        def __init__(self, label):
            self.label = label
        
        def __enter__(self):
            return self
        
        def __exit__(self, *args):
            pass
    
    class Dropdown:
        def __init__(self, **kwargs):
            self.kwargs = kwargs
        
        def change(self, fn, inputs, outputs, queue=False):
            pass

gr = MockGradio()
sys.modules['gradio'] = sys.modules[__name__ + '.gr'] = gr

# Mock Engine and related components
class MockElementManager:
    def __init__(self):
        self.elements = {}
    
    def add_elems(self, category, elems):
        if category not in self.elements:
            self.elements[category] = {}
        if isinstance(elems, dict):
            self.elements[category].update(elems)
        else:
            self.elements[category] = elems
    
    def get_elem_by_id(self, elem_id):
        parts = elem_id.split('.')
        if parts[0] == 'top' and parts[1] == 'lang':
            dropdown = gr.Dropdown(label='Language')
            return dropdown
        return gr.Dropdown()
    
    def get_elem_list(self):
        result = []
        for category in self.elements.values():
            if isinstance(category, dict):
                result.extend(category.values())
            else:
                result.append(category)
        return result

class MockEngine:
    def __init__(self, demo_mode=False, pure_chat=False):
        self.demo_mode = demo_mode
        self.pure_chat = pure_chat
        self.manager = MockElementManager()
    
    def resume(self):
        pass
    
    def change_lang(self, lang_value):
        pass

# Mock the helper functions
def create_top():
    return {'top.lang': gr.Dropdown(label='Language')}

def create_train_tab(engine):
    return {'train.button': Mock()}

def create_infer_tab(engine):
    return {'infer.button': Mock()}

CSS = "body { font-family: Arial; }"

# Patch Engine into the namespace
import sys
current_module = sys.modules[__name__]
current_module.Engine = MockEngine
current_module.create_top = create_top
current_module.create_train_tab = create_train_tab
current_module.create_infer_tab = create_infer_tab
current_module.CSS = CSS
current_module.gr = gr

ARGS = {
    'demo_mode': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Blocks — a Blocks output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Blocks output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_model_info Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleMIX/paddlemix/MULLM_WebUI/common.py
code served (permissive licence) · get_code("f523f7dc0633013b")
How it ran

no invocation recorded.

get_model_path Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleMIX/paddlemix/MULLM_WebUI/common.py
code served (permissive licence) · get_code("ac470b0ec166399d")
How it ran

no invocation recorded.

get_template Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleMIX/paddlemix/MULLM_WebUI/common.py
code served (permissive licence) · get_code("903eaa561fc807bb")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Contrastive language-image pre-training, CLIP for short, has gained increasing attention for its potential in various scenarios. In this paper, we propose EVA-CLIP, a series of models that significantly improve the efficiency and effectiveness of CLIP training. Our approach incorporates new techniques for representation learning, optimization, and augmentation, enabling EVA-CLIP to achieve superior performance compared to previous CLIP models with the same number of parameters but significantly smaller training costs. Notably, our largest 5.0B-parameter EVA-02-CLIP-E/14+ with only 9 billion seen samples achieves 82.0 zero-shot top-1 accuracy on ImageNet-1K val. A smaller EVA-02-CLIP-L/14+ with only 430 million parameters and 6 billion seen samples achieves 80.4 zero-shot top-1 accuracy on ImageNet-1K val. To facilitate open access and open research, we release the complete suite of EVA-CLIP to the community at https://github.com/baaivision/EVA/tree/master/EVA-CLIP.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2303.15389")
get_code_for_paper("2303.15389")
have("2303.15389")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2303.15389.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2303.15389.svg)](https://syntology.ai/paper/2303.15389)

Connect an agent — have() is free.