MCPcopy Create free account
hub / github.com/microsoft/Cream / CLIPTextCfg

Class CLIPTextCfg

TinyCLIP/src/open_clip/model.py:588–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586
587@dataclass
588class CLIPTextCfg:
589 context_length: int = 77
590 vocab_size: int = 49408
591 width: int = 512
592 teacher_width: int = -1
593 heads: int = 8
594 layers: int = 12
595
596
597class ImageEncoder(nn.Module):

Callers 2

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected