MCPcopy Create free account
hub / github.com/pytorch/pytorch / CategoryConfig

Class CategoryConfig

scripts/release_notes/classifier.py:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56@dataclass
57class CategoryConfig:
58 categories: List[str]
59 input_dim: int = 768
60 inner_dim: int = 128
61 dropout: float = 0.1
62 activation = nn.ReLU
63 embedding_dim: int = 8
64 file_embedding_dim: int = 32
65
66
67class CommitClassifier(nn.Module):

Callers 2

__init__Method · 0.90
trainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…