identifier
stringlengths
24
117
embedding
listlengths
2.56k
2.56k
tokens
listlengths
4
444
grounding_dino/modeling_grounding_dino.py:GroundingDinoConvEncoder
[ -0.00009389399201609194, 0.0072447555139660835, 0.024149185046553612, 0.005559928715229034, -0.00030186481308192015, 0.03437046706676483, -0.004998319782316685, -0.03908798098564148, 0.008031007833778858, 0.012523879297077656, 0.011344500817358494, 0.011849948205053806, 0.001010896055959165,...
[ "ModelConvEncoder", "Module", "None", "True", "__init__", "and", "append", "backbone", "backbone_config", "backbone_model_type", "bool", "channels", "class", "config", "def", "feature_map", "feature_maps", "features", "float", "for", "forward", "functional", "if", "in",...
grounding_dino/modeling_grounding_dino.py:GroundingDinoConvModel
[ -0.0001153953344328329, 0.01860419474542141, 0.00318526360206306, 0.01042962446808815, -0.0003928726655431092, 0.039688948541879654, 0.01928071118891239, -0.026271376758813858, 0.01042962446808815, 0.0056940107606351376, 0.012966559268534184, 0.027849914506077766, 0.0016912904102355242, -0...
[ "ModelConvModel", "Module", "__init__", "class", "conv_encoder", "def", "dtype", "feature_map", "for", "forward", "in", "mask", "nn", "out", "pixel_mask", "pixel_values", "pos", "position_embedding", "return", "self", "super", "to" ]
grounding_dino/modeling_grounding_dino.py:GroundingDinoSinePositionEmbedding
[ -0.00013023581414017826, 0.036268915981054306, 0.025906367227435112, 0.01914818584918976, -0.0006089404341764748, 0.006392114795744419, 0.052488554269075394, -0.012446320615708828, 0.014530093409121037, 0.015318548306822777, 0.0250052772462368, 0.02568109519779682, 0.0018585002981126308, -...
[ "ModelSinePositionEmbedding", "Module", "None", "__init__", "arange", "cat", "class", "config", "cos", "cumsum", "d_model", "def", "device", "dim", "dim_t", "div", "dtype", "embedding_dim", "eps", "flatten", "float32", "floor", "forward", "math", "nn", "permute", ...
grounding_dino/modeling_grounding_dino.py:GroundingDinoLearnedPositionEmbedding
[ -0.0002420648670522496, -0.00252032233402133, 0.014239110052585602, 0.023921703919768333, -0.0010892918799072504, 0.02984517440199852, 0.0366799458861351, -0.012872154824435711, 0.008828247897326946, 0.016859106719493866, 0.0010536941699683666, 0.02460518106818199, 0.001680215005762875, -0...
[ "Embedding", "ModelLearnedPositionEmbedding", "Module", "None", "__init__", "arange", "cat", "class", "column_embeddings", "config", "d_model", "def", "device", "dim", "embedding_dim", "forward", "height", "height_values", "nn", "permute", "pixel_mask", "pixel_values", "p...
grounding_dino/modeling_grounding_dino.py:build_position_encoding
[ -0.00015150618855841458, 0.05156201124191284, 0.004135227762162685, 0.027720285579562187, -0.0008341752691194415, 0.021788371726870537, 0.04882420599460602, 0.002110392088070512, 0.010608998127281666, 0.012091976590454578, 0.015742383897304535, 0.0045059723779559135, 0.004277821630239487, ...
[ "ModelLearnedPositionEmbedding", "ModelSinePositionEmbedding", "Model_position_encoding", "config", "def", "elif", "else", "if", "learned", "position_embedding", "position_embedding_type", "return", "sine" ]
grounding_dino/modeling_grounding_dino.py:GroundingDinoMultiscaleDeformableAttention
[ -0.0004500637296587229, 0.05034859478473663, 0.02212996408343315, -0.006937567610293627, -0.0016099840868264437, 0.0193198099732399, 0.022715412080287933, -0.04121559113264084, -0.00024515666882507503, 0.027399001643061638, -0.01042098831385374, 0.026930643245577812, -0.001229442423209548, ...
[ "CUDA", "F", "False", "Linear", "Make", "ModelMultiscaleDeformableAttention", "Module", "MultiScaleDeformableAttention", "None", "ValueError", "You", "_", "__init__", "a", "align", "and", "attention", "attention_mask", "attention_weights", "attn", "authors", "batch_size", ...
grounding_dino/modeling_grounding_dino.py:GroundingDinoTextEnhancerLayer
[ -0.0001712207740638405, 0.05664509907364845, 0.03708905354142189, -0.004327056463807821, -0.0005865409038960934, 0.04360773414373398, 0.01629670523107052, -0.006715366616845131, 0.0032031454611569643, 0.007867375388741493, 0.018319744616746902, 0.03124471753835678, 0.0037931986153125763, -...
[ "ACT2FN", "LayerNorm", "Linear", "ModelMultiheadAttention", "ModelTextEnhancerLayer", "Module", "None", "True", "__init__", "activation", "activation_function", "and", "attention_mask", "attention_masks", "attention_output", "attention_weights", "class", "config", "d_model", "d...
grounding_dino/modeling_grounding_dino.py:GroundingDinoBiMultiHeadAttention
[ -0.00010626846051309258, 0.04657270014286041, 0.05396163836121559, -0.007444914896041155, -0.00020204127940814942, 0.018248436972498894, 0.01768866926431656, -0.03627296909689903, 0.0033306197728961706, 0.03134701028466225, 0.03313826769590378, 0.027428632602095604, -0.0004338202124927193, ...
[ "Attention", "F", "Linear", "ModelBiMultiHeadAttention", "Module", "None", "True", "ValueError", "_", "__init__", "_reshape", "and", "attn_weights", "attn_weights_transposed", "batch_size", "be", "bmm", "but", "by", "clamp", "class", "config", "contiguous", "d_model", ...
grounding_dino/modeling_grounding_dino.py:GroundingDinoDropPath
[ 0, 0.02542765811085701, 0.046840421855449677, -0.026431381702423096, -0.00019603972032200545, 0.027769679203629494, 0.026877479627728462, -0.0419333316385746, 0.005046498030424118, 0.003763962537050247, 0.013606027700006962, -0.03434964269399643, 0.0007249112823046744, -0.01829006895422935...
[ "ModelDropPath", "Module", "__init__", "class", "def", "device", "div", "drop_prob", "dtype", "extra_repr", "f", "floor", "forward", "hidden_states", "if", "keep_prob", "ndim", "nn", "not", "or", "p", "rand", "random_tensor", "return", "self", "shape", "super", ...
grounding_dino/modeling_grounding_dino.py:GroundingDinoFusionLayer
[ -0.00011316964810248464, 0.055023256689310074, 0.03660731017589569, 0.017517607659101486, 0, 0.029196014627814293, 0.028746845200657845, -0.04356943815946579, 0.006793688051402569, 0.02268305793404579, 0.023019934073090553, 0.01965116336941719, 0.0031862957403063774, -0.0022598837967962027...
[ "Identity", "LayerNorm", "ModelBiMultiHeadAttention", "ModelDropPath", "ModelFusionLayer", "Module", "None", "Parameter", "True", "__init__", "attention_mask_text", "attention_mask_vision", "attn", "class", "config", "d_model", "def", "delta_t", "delta_v", "drop_path", "else"...
grounding_dino/modeling_grounding_dino.py:GroundingDinoDeformableLayer
[ -0.00035333563573658466, 0.06123035028576851, 0.02678827755153179, -0.004377738106995821, -0.0013626072322949767, 0.029339542612433434, 0.02609247900545597, -0.028527775779366493, 0.005218495614826679, 0.008639509789645672, 0.005682361777871847, 0.016815152019262314, 0.0005762088694609702, ...
[ "ACT2FN", "False", "LayerNorm", "Linear", "ModelDeformableLayer", "ModelMultiscaleDeformableAttention", "Module", "None", "__init__", "activation_dropout", "activation_fn", "activation_function", "all", "attention_mask", "attn_weights", "clamp", "clamp_value", "class", "config", ...
grounding_dino/modeling_grounding_dino.py:GroundingDinoEncoderLayer
[ -0.00020813177980016917, 0.049880772829055786, 0, 0.017458271235227585, -0.0005916256341151893, 0.038090772926807404, 0.02539384737610817, -0.03400961682200432, 0.004647980909794569, 0.0209725983440876, 0.012130096554756165, 0.04126500338315964, 0.0011265685316175222, 0.009466010145843029,...
[ "ModelDeformableLayer", "ModelEncoderLayer", "ModelFusionLayer", "ModelTextEnhancerLayer", "Module", "None", "_", "__init__", "and", "arange", "attention_mask", "attention_mask_text", "attention_mask_vision", "attention_masks", "batch_size", "class", "config", "d_model", "def", ...
grounding_dino/modeling_grounding_dino.py:GroundingDinoMultiheadAttention
[ -0.00018712965538725257, 0.022257836535573006, 0.047679223120212555, 0.0007273341179825366, -0.0007520493236370385, 0.01604371890425682, 0.037510666996240616, -0.016495654359459877, 0.0013204998103901744, 0.025647355243563652, 0.006807282567024231, 0.0056774429976940155, -0.00337539520114660...
[ "Dropout", "False", "Linear", "ModelMultiheadAttention", "Module", "None", "The", "ValueError", "_", "__init__", "a", "all_head_size", "and", "attention", "attention_dropout", "attention_head_size", "attention_mask", "attention_probs", "attention_scores", "batch_size", "class...
grounding_dino/modeling_grounding_dino.py:GroundingDinoDecoderLayer
[ -0.0001591103064129129, 0.06471899896860123, 0.015387734398245811, 0.0029559158720076084, -0.0006788706523366272, 0.03235949948430061, 0.044126592576503754, -0.045258041471242905, 0.007976730354130268, 0.0010465922532603145, 0.005968404468148947, 0.030775468796491623, -0.0015628167893737555,...
[ "ACT2FN", "False", "LayerNorm", "Linear", "ModelDecoderLayer", "ModelMultiheadAttention", "ModelMultiscaleDeformableAttention", "Module", "None", "True", "__init__", "activation_dropout", "activation_fn", "activation_function", "attention_mask", "class", "config", "cross_attn_weigh...
grounding_dino/modeling_grounding_dino.py:GroundingDinoContrastiveEmbedding
[ -0.00004467413964448497, 0.049763068556785583, 0.08033499866724014, 0.0025802040472626686, -0.00019090023124590516, 0.024658381938934326, 0.017182763665914536, -0.032803457230329514, 0.01573227159678936, 0.03302660956978798, 0.039498042315244675, 0.02231527678668499, 0.0013389167143031955, ...
[ "ModelContrastiveEmbedding", "Module", "None", "__init__", "class", "config", "def", "device", "float", "forward", "full", "inf", "masked_fill", "max_text_len", "new_output", "nn", "output", "return", "self", "shape", "super", "text_hidden_state", "text_token_mask", "to...
grounding_dino/modeling_grounding_dino.py:GroundingDinoPreTrainedModel
[ -0.00028066933737136424, 0.05743531137704849, 0.0014873686013743281, 0.013901175931096077, -0.0012942968169227242, 0.028488829731941223, 0.025742918252944946, -0.030662676319479942, 0.002817419357597828, 0.008981418795883656, 0.00486255157738924, 0.0002306136448169127, -0.00306054693646729, ...
[ "False", "ModelBiMultiHeadAttention", "ModelConfig", "ModelDecoder", "ModelFusionLayer", "ModelLearnedPositionEmbedding", "ModelMLPPredictionHead", "ModelMultiscaleDeformableAttention", "ModelPreTrainedModel", "PreTrainedModel", "True", "_init_weights", "_set_gradient_checkpointing", "abs"...
grounding_dino/modeling_grounding_dino.py:GroundingDinoEncoder
[ -0.0000452092572231777, 0.04809211567044258, 0.010955563746392727, 0.03056321293115616, -0.00009656346082920209, 0.04944049194455147, 0.025956258177757263, -0.04809211567044258, 0.010169010609388351, 0.02247295156121254, 0.015618700534105301, 0.035507261753082275, 0.0009902144083753228, 0....
[ "ModelEncoder", "ModelEncoderLayer", "ModelEncoderOutput", "ModelPreTrainedModel", "ModuleList", "None", "_", "__init__", "all_attn_deformable", "all_attn_enhanced_text", "all_attn_fused_text", "all_attn_fused_vision", "all_attns", "append", "attentions", "cat", "class", "config", ...
grounding_dino/modeling_grounding_dino.py:GroundingDinoDecoder
[ -0.00004596337748807855, 0.05961756408214569, 0.0023253089748322964, 0.007508226670324802, -0.00029591660131700337, 0.029808782041072845, 0.05110076814889908, -0.04370460286736488, 0.009469331242144108, -0.007228069007396698, -0.001673942431807518, 0.022188492119312286, -0.003922208212316036...
[ "False", "Last", "LayerNorm", "ModelDecoder", "ModelDecoderLayer", "ModelDecoderOutput", "ModelMLPPredictionHead", "ModelPreTrainedModel", "ModuleList", "None", "ValueError", "_", "__init__", "all_attns", "all_cross_attns_text", "all_cross_attns_vision", "all_hidden_states", "all_s...
grounding_dino/modeling_grounding_dino.py:generate_masks_with_special_tokens_and_transfer_map
[ -0.00005932864951319061, 0.010654362849891186, -0.014961445704102516, -0.07707411795854568, -0.0003063837648369372, 0.04284413903951645, 0.005072156898677349, -0.04692453518509865, 0.00861416570842266, 0.005213837139308453, 0.033323220908641815, 0.03808367997407913, 0.0012538711307570338, ...
[ "Model_masks_with_special_tokens_and_transfer_map", "SPECIAL_TOKENS", "arange", "attention_mask", "batch_size", "bool", "clamp", "cummax", "cummin", "def", "device", "dim", "dims", "dtype", "expand", "eye", "flip", "full", "identity", "indices", "input_ids", "isin", "long...
grounding_dino/modeling_grounding_dino.py:GroundingDinoModel
[ -0.0000466311612399295, 0.03648844361305237, 0.005828015506267548, 0.02038397639989853, -0.000299143313895911, 0.05360648036003113, 0.022636350244283676, -0.01520351879298687, 0.01379578560590744, 0.002731002401560545, 0.014640425331890583, 0.018244221806526184, -0.0008200046140700579, -0....
[ "AutoModel", "Conv2d", "Embedding", "False", "GroupNorm", "LayerNorm", "Linear", "ModelContrastiveEmbedding", "ModelConvEncoder", "ModelConvModel", "ModelDecoder", "ModelEncoder", "ModelEncoderOutput", "ModelMLPPredictionHead", "ModelModel", "ModelModelOutput", "ModelPreTrainedModel"...
grounding_dino/modeling_grounding_dino.py:GroundingDinoMLPPredictionHead
[ -0.0002314915764145553, -0.0008084397995844483, 0.027921445667743683, 0.042395010590553284, -0.0006731062894687057, 0.04057157039642334, 0.04604189470410347, -0.009630049578845501, -0.0012678615748882294, -0.012992019765079021, 0.021767331287264824, -0.05926184356212616, -0.00289186416193842...
[ "Linear", "ModelMLPPredictionHead", "Module", "ModuleList", "__init__", "class", "def", "else", "enumerate", "for", "forward", "functional", "h", "hidden_dim", "i", "if", "in", "input_dim", "k", "layer", "layers", "n", "nn", "num_layers", "output_dim", "relu", "re...
grounding_dino/modeling_grounding_dino.py:build_label_maps
[ -0.00019202101975679398, -0.002704222220927477, -0.016197016462683678, -0.015064358711242676, -0.0006194226443767548, 0.046212468296289444, 0.011553117074072361, -0.03624507412314415, 0.0048421151004731655, -0.03420628607273102, 0.06297581642866135, 0.0206143856048584, -0.0001022047363221645...
[ "F", "Model_label_maps", "None", "SPECIAL_TOKENS", "cumsum", "def", "delimiter_token_masks", "delimiter_tokens", "device", "dim", "for", "in", "input_ids", "int32", "isin", "label_group", "label_groups", "label_map", "label_maps", "logits", "max_seq_len", "num_labels", "p...
grounding_dino/modeling_grounding_dino.py:build_text_mask
[ 0.00013027754903305322, 0.0295201875269413, 0.03898467496037483, -0.02321052923798561, 0.0007394130807369947, 0.03605519235134125, 0.00585896847769618, -0.04754778370261192, 0.016675526276230812, -0.009464487433433533, 0.04574502259492874, 0.024787943810224533, 0.0006865978939458728, -0.00...
[ "Model_text_mask", "None", "attention_mask", "bool", "def", "device", "dtype", "logits", "return", "seq_len", "shape", "text_mask", "torch", "zeros_like" ]
grounding_dino/modeling_grounding_dino.py:GroundingDinoForObjectDetection
[ -0.00011099097173428163, 0.02875060960650444, 0.0018390282057225704, -0.0029480603989213705, -0.00031586363911628723, 0.03301827609539032, 0.032569050788879395, -0.0210014209151268, 0.010388404130935669, -0.004857280757278204, 0.013926076702773571, 0.05008895322680473, -0.001263454556465149,...
[ "FloatTensor", "LongTensor", "ModelContrastiveEmbedding", "ModelForObjectDetection", "ModelMLPPredictionHead", "ModelModel", "ModelObjectDetectionOutput", "ModelPreTrainedModel", "ModuleList", "None", "_", "__init__", "_keys_to_ignore_on_load_missing", "_keys_to_ignore_on_load_unexpected",...
gemma4/modeling_gemma4.py:Gemma4ModelOutputWithPast
[ -0.00014955044025555253, 0.03175395727157593, 0.008895611390471458, -0.0020549988839775324, -0.0010204617865383625, 0.02161971479654312, 0.03490683063864708, -0.060355037450790405, 0.01745341531932354, -0.007262872997671366, 0.039861347526311874, 0.02927669696509838, -0.0033358545042574406, ...
[ "BaseModelOutputWithPast", "ModelModelOutputWithPast", "None", "Tensor", "audio_hidden_states", "class", "image_hidden_states", "r", "shared_kv_states", "torch", "tuple" ]
gemma4/modeling_gemma4.py:Gemma4CausalLMOutputWithPast
[ -0.00022496595920529217, 0.027088390663266182, 0.017527781426906586, -0.0038413158617913723, -0.001401368877850473, 0.027316024526953697, 0.03505556285381317, -0.044160906225442886, 0.01684488169848919, -0.0013088928535580635, 0.03209632635116577, 0.022080453112721443, -0.0023190167266875505...
[ "ModelCausalLMOutputWithPast", "ModelOutput", "None", "Tensor", "attentions", "audio_hidden_states", "class", "hidden_states", "image_hidden_states", "logits", "loss", "past_key_values", "r", "shared_kv_states", "torch", "tuple" ]
gemma4/modeling_gemma4.py:Gemma4TextModelOutputWithPast
[ -0.00012154877185821533, 0.031116485595703125, 0.017587577924132347, -0.009639346040785313, -0.0009512512478977442, 0.02784699946641922, 0.04036123678088188, -0.04622376337647438, 0.01121771801263094, -0.005467933136969805, 0.03314582258462906, 0.02491573616862297, -0.0024802994448691607, ...
[ "BaseModelOutputWithPast", "ModelTextModelOutputWithPast", "None", "Tensor", "class", "shared_kv_states", "torch", "tuple" ]
gemma4/modeling_gemma4.py:Gemma4AudioModelOutput
[ 0, 0.041233040392398834, 0.024334251880645752, 0.008787369355559349, -0.0003467771748546511, 0.03312162309885025, 0.057455874979496, -0.022531716153025627, 0.018701324239373207, -0.02906591258943081, 0.028727937489748, 0.043711528182029724, -0.003661403665319085, -0.007773441728204489, 0...
[ "BaseModelOutputWithPooling", "ModelAudioModelOutput", "None", "attention_mask", "class", "r" ]
gemma4/modeling_gemma4.py:Gemma4ClippableLinear
[ -0.00013990722072776407, 0.019597571343183517, 0.023201722651720047, 0.019710199907422066, -0.0008939983672462404, 0.026805872097611427, 0.009123006835579872, -0.039645660668611526, 0.004899392835795879, 0.039195142686367035, 0.004448873922228813, -0.014529233798384666, 0.005012022331357002,...
[ "Linear", "ModelClippableLinear", "Module", "__init__", "clamp", "class", "config", "def", "float", "forward", "hidden_states", "if", "in_features", "inf", "input_max", "input_min", "linear", "nn", "out_features", "output_max", "output_min", "register_buffer", "return", ...
gemma4/modeling_gemma4.py:Gemma4RMSNorm
[ -0.00019166283891536295, 0.041115228086709976, 0.017263853922486305, 0.05111009255051613, -0.0007666513556614518, 0.036572109907865524, 0.017263853922486305, -0.024305688217282295, 0.005849265959113836, 0.050882935523986816, 0.021239083260297775, 0.0057924771681427956, 0.002938830293715, 0...
[ "ModelRMSNorm", "Module", "Parameter", "True", "__init__", "_norm", "class", "def", "dim", "eps", "float", "forward", "hidden_states", "if", "keepdim", "mean", "mean_squared", "nn", "normed_output", "ones", "pow", "requires_grad", "return", "self", "super", "torch",...
gemma4/modeling_gemma4.py:Gemma4AudioRelPositionalEncoding
[ -0.00028660453972406685, 0.033704694360494614, 0.022813722491264343, 0.0013255460653454065, -0.001476013450883329, 0.0010604368289932609, 0.05296451970934868, -0.033704694360494614, 0.0038978219963610172, 0.008426173590123653, 0.006907169707119465, 0.028660455718636513, -0.001103427493944764...
[ "False", "ModelAudioRelPositionalEncoding", "Module", "None", "Tensor", "__init__", "arange", "attention_chunk_size", "attention_context_left", "attention_context_right", "cat", "class", "config", "context_size", "cos", "def", "device", "dim", "dtype", "exp", "forward", "hi...
gemma4/modeling_gemma4.py:Gemma4AudioAttention
[ -0.0002501381968613714, 0.033834297209978104, 0.03224476799368858, -0.021458664909005165, -0.0008550824131816626, 0.01646299660205841, 0.030655235052108765, -0.03201768919825554, 0.0020152979996055365, -0.002824255498126149, 0.02043682336807251, 0.04291732981801033, 0.0010573217878118157, ...
[ "F", "False", "Linear", "ModelAudioAttention", "ModelClippableLinear", "Module", "None", "Parameter", "_", "__init__", "_convert_to_block", "_extract_block_context", "_rel_shift", "attention_chunk_size", "attention_context_left", "attention_context_right", "attention_invalid_logits_v...
gemma4/modeling_gemma4.py:Gemma4AudioSubSampleConvProjectionLayer
[ -0.00011497846571728587, 0.029883868992328644, 0.024491291493177414, 0.0019800872541964054, -0.00039145341725088656, 0.027749307453632355, 0.0078080035746097565, -0.05078011006116867, 0.008987629786133766, 0.0025979867205023766, 0.030782632529735565, 0.02201969362795353, -0.00076184206409379...
[ "Conv2d", "LayerNorm", "ModelAudioSubSampleConvProjectionLayer", "Module", "None", "ReLU", "True", "__init__", "act", "class", "contiguous", "conv", "def", "device", "dtype", "elementwise_affine", "eps", "forward", "hidden_states", "if", "in_channels", "is", "kernel_size"...
gemma4/modeling_gemma4.py:Gemma4AudioSubSampleConvProjection
[ -0.00020611156651284546, 0.031385816633701324, 0.021151309832930565, 0.02297077886760235, -0.0005863518454134464, 0.012167689390480518, 0.01427144929766655, -0.04867075756192207, 0.003667364362627268, -0.00227433443069458, 0.016488924622535706, 0.008869904093444347, -0.002629699185490608, ...
[ "Linear", "ModelAudioSubSampleConvProjection", "ModelAudioSubSampleConvProjectionLayer", "Module", "None", "_", "__init__", "batch_size", "class", "config", "contiguous", "def", "forward", "hidden_size", "hidden_states", "in_channels", "input_features", "input_features_mask", "in...
gemma4/modeling_gemma4.py:Gemma4AudioFeedForward
[ -0.00022667576558887959, 0.06122744455933571, 0.022046448662877083, 0.02284606173634529, -0.0009709576261229813, 0.014735709875822067, 0.025244897231459618, -0.04020906984806061, 0.0002284606161992997, -0.003826715284958482, 0.027301043272018433, 0.016677625477313995, 0.004911903291940689, ...
[ "ACT2FN", "ModelAudioFeedForward", "ModelClippableLinear", "ModelRMSNorm", "Module", "__init__", "act_fn", "clamp", "class", "config", "def", "dtype", "ffw_layer_1", "ffw_layer_2", "finfo", "forward", "gradient_clipping", "hidden_act", "hidden_size", "hidden_states", "max", ...
gemma4/modeling_gemma4.py:Gemma4AudioCausalConv1d
[ -0.00003458451828919351, 0.01445720437914133, 0.02084527164697647, -0.022414270788431168, -0.000197000423213467, 0.021181486546993256, 0.002115346724167466, -0.0537942498922348, 0.015241703949868679, 0.012271813116967678, 0.024543626233935356, 0.008237244561314583, 0.0021573735866695642, -...
[ "Conv1d", "ModelAudioCausalConv1d", "cached_property", "class", "def", "dilation", "effective_kernel_size", "forward", "functional", "kernel_size", "left_pad", "nn", "pad", "return", "self", "stride", "super", "x" ]
gemma4/modeling_gemma4.py:Gemma4AudioLightConv1d
[ -0.00016116966435220093, 0.02425692044198513, 0.025730472058057785, -0.003797228215262294, -0.0004923644592054188, 0.03717883303761482, 0.023236770182847977, -0.052821144461631775, 0.012468510307371616, 0.0030179463792592287, 0.031284626573324203, 0.001367285498417914, 0.0035421904176473618,...
[ "ACT2FN", "ModelAudioCausalConv1d", "ModelAudioLightConv1d", "ModelClippableLinear", "ModelRMSNorm", "Module", "True", "__init__", "act_fn", "clamp", "class", "config", "conv_kernel_size", "conv_norm", "def", "depthwise_conv1d", "dim", "dtype", "eps", "finfo", "forward", "f...
gemma4/modeling_gemma4.py:Gemma4AudioLayer
[ -0.00011288456880720332, 0.0334138348698616, 0.015465185977518559, 0.011739995330572128, -0.00048328706179745495, 0.044024981558322906, 0.03070460446178913, -0.031833451241254807, 0.010611149482429028, -0.0009171871352009475, 0.029124218970537186, 0.021560953930020332, 0.0016791580710560083,...
[ "ModelAudioAttention", "ModelAudioFeedForward", "ModelAudioLayer", "ModelAudioLightConv1d", "ModelRMSNorm", "Module", "_", "__init__", "attention_mask", "clamp", "class", "config", "def", "dtype", "feed_forward1", "feed_forward2", "finfo", "forward", "gradient_clipping", "hidde...
gemma4/modeling_gemma4.py:Gemma4VisionPatchEmbedder
[ -0.0002395339688519016, 0.010447230190038681, 0.012718366459012032, 0.010390451177954674, -0.0009226494003087282, 0.009141325950622559, 0.037927985191345215, -0.027480756863951683, 0.004343549255281687, 0.01425138395279646, -0.0015188228571787477, 0.016806412488222122, -0.0007239248952828348...
[ "F", "Linear", "ModelVisionPatchEmbedder", "Module", "Parameter", "__init__", "_position_embeddings", "clamp", "clamped_positions", "class", "config", "def", "dtype", "embedding", "forward", "hidden_size", "hidden_states", "if", "input_proj", "is_floating_point", "min", "nn...
gemma4/modeling_gemma4.py:Gemma4VisionPooler
[ -0.00029508097213692963, 0.016481613740324974, 0.005093276500701904, 0.0028900050092488527, -0.001259012147784233, 0.0037198085337877274, 0.03502342849969864, -0.0338788703083992, 0.007897439412772655, 0.022318851202726364, 0.01899963803589344, 0.01373467780649662, -0.00004336795973358676, ...
[ "Cannot", "Change", "F", "ModelVisionPooler", "Module", "None", "True", "ValueError", "__init__", "_avg_pool_by_positions", "all", "are", "be", "clamp", "clamped_positions", "class", "config", "def", "dim", "div", "dtype", "f", "float", "floor", "forward", "hidden_s...
gemma4/modeling_gemma4.py:Gemma4VisionMLP
[ -0.00024663947988301516, 0.03156985342502594, 0.014863179065287113, 0.03733077645301819, -0.0009037446579895914, 0.05530485138297081, 0.02915026620030403, -0.02154584974050522, -0.0014186271000653505, 0.0024915989488363266, 0.036639466881752014, -0.018895825371146202, 0.00026464235270395875,...
[ "ACT2FN", "ModelClippableLinear", "ModelVisionMLP", "Module", "__init__", "act_fn", "class", "config", "def", "down_proj", "forward", "gate_proj", "hidden_activation", "hidden_size", "intermediate_size", "nn", "return", "self", "super", "up_proj", "x" ]
gemma4/modeling_gemma4.py:Gemma4VisionRotaryEmbedding
[ -0.0003179724153596908, 0.05064433440566063, -0.005550064146518707, -0.0022113537415862083, -0.001467009074985981, 0.03399414196610451, 0.04440051317214966, -0.004971932154148817, -0.004596146754920483, 0.03399414196610451, 0.006099289283156395, 0.006561794318258762, -0.0016476752934977412, ...
[ "False", "ModelVisionRotaryEmbedding", "Module", "None", "ROPE_INIT_FUNCTIONS", "Tensor", "__init__", "all_cos", "all_sin", "and", "append", "arange", "attention_factor", "attention_scaling", "base", "cat", "class", "clone", "compute_default_rope_parameters", "config", "cos",...
gemma4/modeling_gemma4.py:rotate_half
[ 0, 0.014133960008621216, 0.03477402776479721, 0.002930553164333105, 0.00026290849200449884, 0.028492268174886703, 0.019854847341775894, -0.018733104690909386, 0.014470482245087624, 0.01862093061208725, -0.0018648974364623427, -0.013012217357754707, 0.0003610609855968505, 0.0099835116416215...
[ "Model_half", "cat", "def", "dim", "return", "shape", "torch", "x", "x1", "x2" ]
gemma4/modeling_gemma4.py:apply_rotary_pos_emb
[ -0.00012286963465157896, 0.031680915504693985, 0.03349125385284424, 0.017650796100497246, -0.0006682693492621183, 0.03462271764874458, 0.03801710158586502, -0.005855312570929527, 0.014143266715109348, 0.021271472796797752, 0.0054875873029232025, 0.00444098562002182, -0.0011243897024542093, ...
[ "Model_rotary_pos_emb", "cos", "def", "return", "rotate_half", "sin", "unsqueeze", "unsqueeze_dim", "x" ]
gemma4/modeling_gemma4.py:repeat_kv
[ -0.0002073117793770507, -0.001958739012479782, -0.003831693669781089, -0.009035934694111347, -0.00046823869342915714, 0.03202609717845917, 0.010179723612964153, -0.0571894571185112, 0.011380702257156372, 0.052156783640384674, 0.006176461465656757, -0.02207513153553009, 0.0006791247869841754,...
[ "Model_kv", "None", "batch", "def", "expand", "head_dim", "hidden_states", "if", "n_rep", "num_key_value_heads", "reshape", "return", "shape", "slen" ]
gemma4/modeling_gemma4.py:eager_attention_forward
[ -0.000098762808192987, 0.03521599620580673, 0.028669431805610657, -0.02697635628283024, -0.00046912333345972, 0.02054266445338726, 0.05914481356739998, -0.018736716359853745, 0.013713921420276165, 0.014560460112988949, 0.020204048603773117, 0.017156511545181274, 0.003005211241543293, -0.01...
[ "Model_attention_forward", "None", "attention_mask", "attn_output", "attn_weights", "contiguous", "def", "dim", "dropout", "dtype", "float32", "functional", "head_dim", "if", "is", "key", "key_states", "kwargs", "matmul", "module", "nn", "not", "num_key_value_groups", "...
gemma4/modeling_gemma4.py:apply_multidimensional_rope
[ -0.00024704093812033534, 0.01730002649128437, 0.02703845128417015, -0.017872873693704605, -0.0007733455277048051, 0.05522260069847107, 0.0307046826928854, -0.03780800476670265, 0.012029819190502167, 0.021195396780967712, -0.0018474365351721644, 0.0020192910451442003, -0.0020622548181563616, ...
[ "Invalid", "Model_multidimensional_rope", "Model_rotary_pos_emb", "ValueError", "cat", "configuration", "cos", "cos_parts", "def", "dim", "f", "for", "got", "if", "in", "k", "ndim", "num_input_channels", "num_rotated_channels_per_dim", "position_ids", "raise", "range", "r...
gemma4/modeling_gemma4.py:Gemma4VisionAttention
[ -0.00009096404392039403, 0.04499099403619766, 0.018539002165198326, 0.021025942638516426, -0.000291438220301643, 0.03866060450673103, 0.041147541254758835, -0.020121600478887558, 0.0061608268879354, 0.047025762498378754, 0.02385200932621956, 0.041599713265895844, 0.0020206382032483816, -0....
[ "ALL_ATTENTION_FUNCTIONS", "False", "ModelClippableLinear", "ModelRMSNorm", "ModelVisionAttention", "Module", "None", "__init__", "_attn_implementation", "apply_multidimensional_rope", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_weights", "class",...
gemma4/modeling_gemma4.py:Gemma4VisionEncoderLayer
[ -0.000043545078369788826, 0.03310481831431389, 0.013568471185863018, 0.040761712938547134, 0, 0.049544624984264374, 0.030177179723978043, -0.020718660205602646, 0.010528232902288437, 0.025898326188325882, 0.01317436620593071, 0.029726773500442505, 0.0016186453867703676, -0.0079383999109268...
[ "GradientCheckpointingLayer", "ModelRMSNorm", "ModelVisionAttention", "ModelVisionEncoderLayer", "ModelVisionMLP", "None", "_", "__init__", "attention_mask", "class", "config", "def", "eps", "forward", "hidden_size", "hidden_states", "input_layernorm", "kwargs", "layer_idx", "m...
gemma4/modeling_gemma4.py:Gemma4VisionEncoder
[ -0.000035009983548661694, 0.03360958397388458, 0.005937693174928427, 0.02890424244105816, -0.0002975848619826138, 0.04794967174530029, 0.026663603261113167, -0.04794967174530029, 0.009578731842339039, 0.024983124807476997, 0.024647029116749763, 0.012883673422038555, -0.00021268564159981906, ...
[ "BaseModelOutputWithPast", "ModelVisionEncoder", "ModelVisionEncoderLayer", "ModelVisionRotaryEmbedding", "Module", "ModuleList", "None", "__init__", "attention_mask", "class", "config", "create_bidirectional_mask", "decoder_layer", "def", "for", "forward", "hidden_states", "i", ...
gemma4/modeling_gemma4.py:Gemma4TextMLP
[ -0.0002989509957842529, 0.03158075362443924, 0.033194366842508316, 0.002622124506160617, -0.0008896493818610907, 0.05901220813393593, 0.020976996049284935, -0.03411643207073212, -0.0020890552550554276, -0.009508802555501461, 0.033194366842508316, -0.019248122349381447, -0.001138174906373024,...
[ "ACT2FN", "Linear", "ModelTextMLP", "Module", "__init__", "act_fn", "and", "class", "config", "def", "down_proj", "else", "first_kv_shared_layer_idx", "forward", "gate_proj", "hidden_activation", "hidden_size", "if", "intermediate_size", "is_kv_shared_layer", "layer_idx", "...
gemma4/modeling_gemma4.py:Gemma4TextRotaryEmbedding
[ -0.0003636219189502299, 0.051455240696668625, 0.0029382111970335245, -0.012454506941139698, -0.001666448195464909, 0.04958414286375046, 0.04069641977548599, -0.008244533091783524, -0.006051837932318449, 0.022804027423262596, 0.005934894550591707, -0.006958152167499065, -0.0013813978293910623...
[ "Callable", "False", "ModelTextRotaryEmbedding", "Module", "None", "ROPE_INIT_FUNCTIONS", "Tensor", "__init__", "_attention_scaling", "_inv_freq", "_original_inv_freq", "and", "arange", "attention_factor", "attention_scaling", "base", "cat", "class", "clone", "compute_default_r...
gemma4/modeling_gemma4.py:Gemma4TextAttention
[ -0.0001536715863039717, 0.04205302521586418, 0.03730510547757149, -0.007630589418113232, -0.0006040883017703891, 0.031200632452964783, 0.026565754786133766, -0.03074844926595688, -0.000953823677264154, 0.0008337125182151794, 0.03504418954253197, 0.038209468126297, 0.0003991928824689239, -0...
[ "ALL_ATTENTION_FUNCTIONS", "False", "Linear", "ModelRMSNorm", "ModelTextAttention", "Module", "None", "Tensor", "__init__", "_attn_implementation", "all", "and", "apply_rotary_pos_emb", "attention_dropout", "attention_interface", "attention_k_eq_v", "attention_mask", "attn_output",...
gemma4/modeling_gemma4.py:Gemma4TextExperts
[ -0.000367245840607211, 0.043031711131334305, -0.001534758717752993, -0.006694470997899771, -0.0014251330867409706, 0.059168603271245956, 0.05823313072323799, -0.016721561551094055, -0.005145095754414797, -0.022100524976849556, 0.021983591839671135, -0.014149012975394726, -0.00185632717330008...
[ "ACT2FN", "ModelTextExperts", "Module", "None", "Parameter", "__init__", "act_fn", "chunk", "class", "config", "continue", "current_hidden_states", "current_state", "def", "dim", "down_proj", "dtype", "empty", "expert_hit", "expert_idx", "expert_mask", "final_hidden_states"...
gemma4/modeling_gemma4.py:Gemma4TextRouter
[ -0.0003750987525563687, 0.049886304885149, -0.0037180520594120026, 0.008314384147524834, -0.0014930759789422154, 0.06370457261800766, 0.059957247227430344, -0.02915889583528042, -0.007553208153694868, 0.0032349980901926756, 0.025645775720477104, -0.0032349980901926756, -0.0008892585174180567...
[ "False", "Linear", "ModelRMSNorm", "ModelTextRouter", "Module", "Parameter", "True", "__init__", "class", "config", "def", "dim", "dtype", "eps", "expert_scores", "float32", "forward", "functional", "hidden_size", "hidden_states", "k", "keepdim", "nn", "norm", "num_ex...
gemma4/modeling_gemma4.py:Gemma4TextDecoderLayer
[ -0.00027293231687508523, 0.042470406740903854, 0.009590092115104198, -0.003524929750710726, -0.0010132389143109322, 0.044525425881147385, 0.03744702413678169, -0.05046214908361435, 0.0021406456362456083, -0.00861966609954834, 0.022262712940573692, 0.0007064130040816963, -0.002640129532665014...
[ "ACT2FN", "GradientCheckpointingLayer", "Linear", "ModelRMSNorm", "ModelTextAttention", "ModelTextDecoderLayer", "ModelTextExperts", "ModelTextMLP", "ModelTextRouter", "None", "Tensor", "_", "__init__", "act_fn", "attention_mask", "class", "config", "def", "enable_moe_block", "...
gemma4/modeling_gemma4.py:Gemma4TextScaledWordEmbedding
[ -0.0002056562079815194, 0.036762818694114685, 0.032678063958883286, 0.01123308390378952, -0.0009786399314180017, 0.016452496871352196, 0.04788243770599365, -0.032224200665950775, 0.004595352336764336, -0.009758032858371735, 0.0031203010585159063, 0.02450854703783989, 0.0017090740147978067, ...
[ "Embedding", "False", "ModelTextScaledWordEmbedding", "__init__", "class", "def", "dtype", "embed_scale", "embedding_dim", "forward", "input_ids", "nn", "num_embeddings", "padding_idx", "persistent", "register_buffer", "return", "scalar_embed_scale", "self", "super", "tensor"...
gemma4/modeling_gemma4.py:Gemma4PreTrainedModel
[ -0.00029266419005580246, 0.051166266202926636, -0.009993411600589752, 0, -0.0011421041563153267, 0.02672523818910122, 0.019301561638712883, -0.03266417980194092, -0.011021305806934834, 0.00431144330650568, 0.0071952566504478455, -0.0007245223387144506, -0.006338678300380707, 0.009879201650...
[ "ModelAudioAttention", "ModelAudioLayer", "ModelAudioRelPositionalEncoding", "ModelClippableLinear", "ModelConfig", "ModelPreTrainedModel", "ModelTextDecoderLayer", "ModelTextExperts", "ModelTextRotaryEmbedding", "ModelTextRouter", "ModelTextScaledWordEmbedding", "ModelVisionEncoderLayer", "...
gemma4/modeling_gemma4.py:Gemma4TextModel
[ -0.00008008136501302943, 0.04772324487566948, 0.013611206784844398, 0.0012322902912274003, -0.0004901154898107052, 0.03696871176362038, 0.0306952316313982, -0.0217331200838089, -0.0011552722426131368, -0.009914335794746876, 0.02744646742939949, 0.006161451805382967, -0.0032907752320170403, ...
[ "Attempting", "DynamicCache", "False", "It", "Linear", "Model", "ModelPreTrainedModel", "ModelRMSNorm", "ModelTextAttention", "ModelTextConfig", "ModelTextDecoderLayer", "ModelTextModel", "ModelTextModelOutputWithPast", "ModelTextRotaryEmbedding", "ModelTextRouter", "ModelTextScaledWor...
gemma4/modeling_gemma4.py:Gemma4ForCausalLM
[ -0.00033792800968512893, 0.04992706701159477, 0.012366726994514465, -0.004083896055817604, -0.0014020417584106326, 0.02116723544895649, 0.0391133688390255, 0, 0.0033073804806917906, 0.02116723544895649, 0.03336140513420105, -0.0026027646381407976, 0.0007405656506307423, 0.00156022084411233...
[ "GenerationMixin", "Linear", "ModelCausalLMOutputWithPast", "ModelForCausalLM", "ModelPreTrainedModel", "ModelTextConfig", "ModelTextModel", "None", "__init__", "_fsdp_plan", "_pp_plan", "_tied_weights_keys", "_tp_plan", "attention_mask", "attentions", "auto_docstring", "base_model_p...
gemma4/modeling_gemma4.py:sliding_window_mask_function
[ 0.00004592900222633034, -0.01567709818482399, 0.03135419636964798, -0.027098985388875008, 0.0003936771536245942, 0.0465833805501461, 0.02889065444469452, -0.049046922475099564, 0.013605481944978237, 0.02642711065709591, 0.0297864880412817, 0.006634772289544344, 0.004115238320082426, -0.007...
[ "Model_window", "Model_window_mask_function", "batch_idx", "def", "dist", "head_idx", "inner_mask", "int", "kv_idx", "left_mask", "left_window_size", "q_idx", "return", "right_mask", "right_window_size" ]
gemma4/modeling_gemma4.py:Gemma4AudioModel
[ -0.00011405398254282773, 0.030994608998298645, -0.0015792089980095625, -0.008927795104682446, -0.00029303101473487914, 0.015048107132315636, 0.036834172904491425, -0.05300527438521385, 0.006653734017163515, -0.030770009383559227, 0.018192488700151443, 0.026727234944701195, -0.003649727441370...
[ "Encodes", "F", "False", "Linear", "ModelAudioAttention", "ModelAudioConfig", "ModelAudioLayer", "ModelAudioModel", "ModelAudioModelOutput", "ModelAudioRelPositionalEncoding", "ModelAudioSubSampleConvProjection", "ModelPreTrainedModel", "ModuleList", "None", "_", "__init__", "_can_re...
gemma4/modeling_gemma4.py:Gemma4VisionModel
[ 0.0000446492776973173, 0.04146254435181618, -0.01187845878303051, 0.01860211417078972, 0.00037995658931322396, 0.008068387396633625, 0.043031398206949234, -0.03518713265657425, 0.011206093244254589, 0.02084333263337612, 0.019834784790873528, 0.022636307403445244, -0.0010505712125450373, -0...
[ "BaseModelOutputWithPast", "Encodes", "ModelPreTrainedModel", "ModelVisionAttention", "ModelVisionConfig", "ModelVisionEncoder", "ModelVisionEncoderLayer", "ModelVisionModel", "ModelVisionPatchEmbedder", "ModelVisionPooler", "__init__", "_can_record_outputs", "all", "attention_mask", "at...
gemma4/modeling_gemma4.py:Gemma4MultimodalEmbedder
[ -0.00024132110411301255, 0.04278712347149849, 0.051481835544109344, 0.04988017678260803, -0.0008437300566583872, 0.03363479673862457, 0.016130974516272545, -0.035922881215810776, -0.0011082894634455442, 0.020478330552577972, 0.027571382001042366, 0.018075844272971153, -0.004375956021249294, ...
[ "False", "Linear", "ModelMultimodalEmbedder", "ModelRMSNorm", "Module", "__init__", "class", "def", "embedding_pre_projection_norm", "embedding_projection", "embs_normed", "eps", "forward", "getattr", "hidden_size", "inputs_embeds", "multimodal_config", "multimodal_hidden_size", ...
gemma4/modeling_gemma4.py:create_masks_for_vision_model
[ 0.000047489807911915705, -0.00706366915255785, -0.010356295853853226, -0.0022654396016150713, 0.0007070704596117139, 0.047278739511966705, 0.0068103899247944355, -0.049079835414886475, 0.010468863882124424, 0.0141273383051157, 0.03579676151275635, 0.03039347566664219, 0.0005347000551410019, ...
[ "Model_causal_mask", "Model_masks_for_vision_model", "_", "_preprocess_mask_arguments", "and_mask_function", "attention_mask", "block_sequence_ids", "blockwise_overlay", "config", "def", "early_exit", "else", "full_attention", "full_mask", "if", "inputs_embeds", "kv_length", "kv_of...
gemma4/modeling_gemma4.py:get_block_sequence_ids_for_mask
[ 0.000023619730200152844, -0.03571479767560959, -0.04679090529680252, -0.038653358817100525, 0.00040440508746542037, 0.052668023854494095, 0.004351328127086163, -0.09584224224090576, 0.016614163294434547, 0.015823012217879295, 0.05040759593248367, 0.0291595496237278, 0.003433028468862176, -...
[ "False", "Model_block_sequence_ids_for_mask", "block_sequence_ids", "cumsum", "def", "device", "dim", "dims", "int", "is_prev_vision", "is_vision", "mm_token_type_ids", "new_vision_starts", "return", "roll", "shifts", "to", "torch", "vision_group_ids", "where" ]
gemma4/modeling_gemma4.py:Gemma4Model
[ -0.00010519183706492186, 0.04985223710536957, -0.01947353035211563, 0.011684117838740349, -0.00019908207468688488, 0.038279395550489426, 0.025482505559921265, -0.05029734596610069, 0.004228537902235985, 0.006175891030579805, 0.040059834718704224, 0.019918639212846756, -0.003227042034268379, ...
[ "Audio", "AutoModel", "Cannot", "False", "Image", "ModelModel", "ModelModelOutputWithPast", "ModelMultimodalEmbedder", "ModelPreTrainedModel", "None", "Projects", "True", "ValueError", "Video", "You", "__init__", "accepts_loss_kwargs", "all", "an", "and", "arange", "attenti...
gemma4/modeling_gemma4.py:Gemma4ForConditionalGeneration
[ -0.0002294385340064764, 0.04247083514928818, 0.005252377595752478, 0.012876796536147594, -0.0009318733937107027, 0.03659721091389656, 0.01558770053088665, -0.04224492982029915, 0.0004624068969860673, 0.011860206723213196, 0.040889475494623184, -0.0011366031831130385, 0.0012001399882137775, ...
[ "False", "GenerationMixin", "Linear", "ModelCausalLMOutputWithPast", "ModelForConditionalGeneration", "ModelModel", "ModelPreTrainedModel", "None", "True", "__init__", "_tied_weights_keys", "accepts_loss_kwargs", "and", "attention_mask", "attentions", "audio_hidden_states", "auto_doc...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextFlexibleLinear
[ -0.0000363040053343866, 0.01222278829663992, 0.03221859410405159, 0.014419510960578918, -0.00010341141023673117, 0.045511581003665924, 0.03221859410405159, -0.02298109605908394, -0.004365281667560339, -0.0006864757742732763, -0.0021967224311083555, -0.031767986714839935, -0.00133070687297731...
[ "ModelFlexibleLinear", "Module", "None", "Parameter", "__init__", "class", "def", "else", "forward", "if", "index_select", "input_size", "is", "layer_idx", "matmul", "nn", "not", "num_layers", "output_size", "randn", "return", "selected_weights", "self", "squeeze", "s...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextPreTrainedModel
[ -0.0002396970521658659, 0.046817272901535034, 0.007272586226463318, 0.004914677236229181, -0.0012286693090572953, 0.026249490678310394, 0.03204483166337013, -0.04477185755968094, 0, -0.0034942503552883863, 0.01727239228785038, 0.012897476553916931, -0.004289689473807812, -0.003082326613366...
[ "MimiTransformerLayer", "ModelConfig", "ModelDecoderLayer", "ModelEmbeddings", "ModelFlexibleLinear", "ModelPreTrainedModel", "PreTrainedModel", "True", "_init_weights", "_no_split_modules", "_supports_attention_backend", "_supports_flash_attn", "_supports_flex_attn", "_supports_sdpa", "...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextConv1dPaddingCache
[ -0.00024674038286320865, -0.004201636184006929, 0.01973923109471798, -0.007444509770721197, -0.0006344752619042993, 0.001142055494710803, -0.007218918763101101, -0.06000726297497749, 0.0037222548853605986, -0.001755381585098803, -0.0058089736849069595, -0.010038808919489384, 0.00210081809200...
[ "Expected", "ModelConv1dPaddingCache", "None", "ValueError", "__init__", "_cache_init", "and", "batch_size", "cat", "class", "constant", "current_cache", "def", "device", "dim", "dtype", "elif", "else", "empty", "f", "from_args_num_layers", "hidden_states", "if", "in", ...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextEmbeddings
[ -0.00008147103653755039, 0.014016522094607353, 0.014577182941138744, -0.01233453955501318, -0.0004940824001096189, 0.01166174653917551, 0.04485287144780159, -0.04911389201879501, 0.013455861248075962, -0.04373154789209366, 0.03745214641094208, 0.03677935525774956, -0.004204956814646721, -0...
[ "Embedding", "False", "ModelEmbeddings", "Module", "__init__", "arange", "audio_pad_token_id", "audio_tokens_offsets", "class", "codebook_vocab_size", "config", "def", "dim", "embed_tokens", "forward", "functional", "hidden_size", "input_ids", "inputs_embeds", "nn", "num_code...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextRMSNorm
[ -0.00006585347728105262, 0.04073192551732063, 0.02319456823170185, 0.05249892547726631, -0.00028109271079301834, 0.053404077887535095, 0.01832936517894268, -0.0079200966283679, 0.009900120086967945, 0.04299480840563774, 0.014312745071947575, 0.014369317330420017, 0.003168038558214903, 0.01...
[ "ModelRMSNorm", "Module", "Parameter", "True", "__init__", "_norm", "class", "def", "dim", "eps", "extra_repr", "f", "float", "forward", "keepdim", "mean", "nn", "ones", "output", "pow", "return", "rsqrt", "self", "shape", "super", "torch", "tuple", "type_as", ...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextLinear
[ -0.00011989394261036068, -0.0073911091312766075, 0.022116906940937042, 0.03520650416612625, -0.0003067874349653721, 0.046942003071308136, 0.036334916949272156, -0.0367862842977047, 0.0014457799261435866, 0.005952381528913975, 0.012863914482295513, -0.03746332973241806, 0, 0.001368201454170...
[ "False", "Linear", "ModelFlexibleLinear", "ModelLinear", "Module", "None", "__init__", "class", "def", "else", "forward", "if", "input_dim", "layer_idx", "nn", "not", "num_codebooks", "num_layers", "output_dim", "self", "super", "use_flexible_linear", "x" ]
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextRotaryEmbedding
[ -0.0003748119343072176, 0.04797592759132385, 0.00013228657189756632, -0.009054280817508698, -0.0019108060514554381, 0.0378633551299572, 0.04374275729060173, 0.0032630686182528734, -0.00473291939124465, 0.024105552583932877, -0.0011317851021885872, -0.0009921492310240865, -0.00199899706058204...
[ "False", "ModelRotaryEmbedding", "Module", "None", "ROPE_INIT_FUNCTIONS", "Tensor", "__init__", "and", "arange", "attention_factor", "attention_scaling", "base", "cat", "class", "clone", "compute_default_rope_parameters", "config", "cos", "cpu", "def", "default", "deprecate...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextGatingMLP
[ -0.00020673885592259467, 0.0021814515348523855, 0.016196921467781067, 0.017679737880825996, -0.0005204116459935904, 0.04813450947403908, 0.032621968537569046, -0.052012644708156586, 0.002452350687235594, -0.01790786348283291, 0.05269702151417732, -0.03695635497570038, 0.0023240300361067057, ...
[ "ACT2FN", "False", "Linear", "ModelFlexibleLinear", "ModelGatingMLP", "Module", "None", "_", "__init__", "activation_fn", "batch_size", "class", "config", "def", "else", "fc1", "fc2", "ffn_dim", "forward", "hidden_act", "hidden_size", "hidden_states", "if", "is", "lay...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:rotate_half
[ 0, 0.014133960008621216, 0.03477402776479721, 0.002930553164333105, 0.00026290849200449884, 0.028492268174886703, 0.019854847341775894, -0.018733104690909386, 0.014470482245087624, 0.01862093061208725, -0.0018648974364623427, -0.013012217357754707, 0.0003610609855968505, 0.0099835116416215...
[ "Model_half", "cat", "def", "dim", "return", "shape", "torch", "x", "x1", "x2" ]
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:apply_rotary_pos_emb
[ -0.00015525084745604545, 0.02736673317849636, 0.027593841776251793, 0.002838872605934739, -0.000663586484733969, 0.021348321810364723, 0.04633040353655815, -0.0014549222541972995, 0.013115591369569302, 0.03656468167901039, 0.007892065681517124, 0.0013200758257880807, -0.0007345583289861679, ...
[ "Model_rotary_pos_emb", "cos", "def", "k", "k_embed", "q", "q_embed", "return", "rotate_half", "sin", "unsqueeze", "unsqueeze_dim" ]
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:repeat_kv
[ -0.0002073117793770507, -0.001958739012479782, -0.003831693669781089, -0.009035934694111347, -0.00046823869342915714, 0.03202609717845917, 0.010179723612964153, -0.0571894571185112, 0.011380702257156372, 0.052156783640384674, 0.006176461465656757, -0.02207513153553009, 0.0006791247869841754,...
[ "Model_kv", "None", "batch", "def", "expand", "head_dim", "hidden_states", "if", "n_rep", "num_key_value_heads", "reshape", "return", "shape", "slen" ]
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:eager_attention_forward
[ -0.000020655716070905328, 0.020133469253778458, 0.01408211700618267, -0.01877615600824356, 0, 0.03845718875527382, 0.05293518677353859, -0.03461147099733353, 0.020359687507152557, 0.007861101999878883, 0.02805112488567829, 0.020246578380465508, 0.002516683656722307, -0.01832371950149536, ...
[ "Model_attention_forward", "None", "attention_mask", "attn_output", "attn_weights", "contiguous", "def", "dim", "dropout", "dtype", "float32", "functional", "if", "is", "key", "key_states", "kwargs", "matmul", "module", "nn", "not", "num_key_value_groups", "p", "query",...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextAttention
[ -0.00011849234579131007, 0.015506580471992493, 0.02241097018122673, -0.01409174595028162, -0.0004049962153658271, 0.02761755883693695, 0.045727431774139404, -0.023203276097774506, -0.000955012917984277, 0.011092298664152622, 0.02399558387696743, 0.014827460050582886, -0.0010328288190066814, ...
[ "ALL_ATTENTION_FUNCTIONS", "False", "ModelAttention", "ModelLinear", "ModelRotaryEmbedding", "Module", "None", "True", "ValueError", "__init__", "_attn_implementation", "and", "apply_rotary_pos_emb", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextDecoderLayer
[ -0.00021277221094351262, 0.02427205629646778, 0.008090685121715069, -0.001865985570475459, -0.000911626557353884, 0.04125110059976578, 0.048088300973176956, -0.041023194789886475, 0.004273249302059412, -0.010084868408739567, 0.00774882547557354, 0.01823252998292446, -0.0023502870462834835, ...
[ "False", "GradientCheckpointingLayer", "ModelAttention", "ModelDecoderLayer", "ModelGatingMLP", "ModelRMSNorm", "None", "True", "__init__", "_attn_implementation", "attention_mask", "class", "codebook_idx", "config", "def", "else", "eps", "forward", "hidden_size", "hidden_state...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextModel
[ -0.0000222440212382935, 0.0410895049571991, 0.0008304434013552964, 0.004494164604693651, -0.00018929225916508585, 0.03238031640648842, 0.03528337925672531, -0.02400609664618969, 0.01183556392788887, -0.0009420996648259461, 0.017306720837950706, 0.013398750685155392, 0.0010607345029711723, ...
[ "BaseModelOutputWithPast", "DynamicCache", "False", "ModelDecoderLayer", "ModelEmbeddings", "ModelModel", "ModelPreTrainedModel", "ModelRMSNorm", "ModuleList", "None", "Setting", "True", "__init__", "all_hidden_states", "all_self_attns", "and", "arange", "attention_mask", "attent...
kyutai_speech_to_text/modeling_kyutai_speech_to_text.py:KyutaiSpeechToTextForConditionalGeneration
[ -0.00020587947801686823, 0.03294071555137634, -0.0020587947219610214, 0.004117589443922043, -0.000830617209430784, 0.015675237402319908, 0.031804829835891724, -0.04066474735736847, 0.0004863015201408416, -0.009882215410470963, 0.045889824628829956, -0.0007241278071887791, -0.0035496461205184...
[ "AutoModel", "CausalLMOutputWithPast", "False", "GenerationConfig", "GenerationMixin", "Linear", "MethodType", "ModelConv1dPaddingCache", "ModelForConditionalGeneration", "ModelModel", "ModelPreTrainedModel", "None", "Setting", "Tensor", "__func__", "__init__", "_from_model_config", ...
siglip/modeling_siglip.py:SiglipVisionModelOutput
[ -0.000019277429601061158, 0.036115389317274094, 0.022095439955592155, 0.03342355787754059, -0.00016473440336994827, 0.03701266273856163, 0.049125898629426956, -0.018954969942569733, 0.023217035457491875, -0.004037745296955109, 0.03162900358438492, 0.04822862148284912, -0.00039431106415577233...
[ "ModelOutput", "ModelVisionModelOutput", "None", "attentions", "class", "hidden_states", "image_embeds", "last_hidden_state", "r" ]
siglip/modeling_siglip.py:SiglipTextModelOutput
[ 0, 0.033810973167419434, 0.041700199246406555, 0.008340040221810341, -0.0004261591238901019, 0.04147479310631752, 0.05161808431148529, -0.013806146569550037, 0.01769440807402134, -0.020850099623203278, 0.023104164749383926, 0.0387699156999588, -0.003296569688245654, 0.005156173370778561, ...
[ "ModelOutput", "ModelTextModelOutput", "None", "attentions", "class", "hidden_states", "last_hidden_state", "r", "text_embeds" ]
siglip/modeling_siglip.py:SiglipOutput
[ -0.00008383870590478182, 0.015956569463014603, 0.016181308776140213, 0.010843724943697453, -0.0005126890609972179, 0.033486321568489075, 0.04427386075258255, -0.009439096786081791, 0.015282347798347473, 0.005309492349624634, 0.02247404120862484, 0.018765823915600777, -0.003216597018763423, ...
[ "ModelOutput", "None", "class", "def", "else", "for", "if", "image_embeds", "in", "isinstance", "logits_per_image", "logits_per_text", "loss", "r", "return", "self", "text_embeds", "text_model_output", "to_tuple", "tuple", "v", "values", "vision_model_output" ]
siglip/modeling_siglip.py:SiglipVisionEmbeddings
[ -0.00013706197205465287, 0.019343310967087746, 0.009952807798981667, 0.02170499414205551, -0.0005377046763896942, 0.012539413757622242, 0.0348629429936409, -0.012708105146884918, 0.005510594230145216, 0.017319010570645332, 0.022829605266451836, 0.03823677822947502, -0.00040415709372609854, ...
[ "Conv2d", "Embedding", "False", "ModelVisionEmbeddings", "Module", "_", "__init__", "align_corners", "and", "arange", "bicubic", "class", "config", "def", "dim", "dtype", "else", "embed_dim", "embeddings", "expand", "flatten", "forward", "functional", "height", "hidde...
siglip/modeling_siglip.py:SiglipTextEmbeddings
[ -0.000186309713171795, 0.02191711962223053, 0.012491622939705849, -0.012605182826519012, -0.000986554310657084, 0.03883759304881096, 0.034295182675123215, 0.0035913416650146246, 0.011242460459470749, -0.003974607214331627, 0.03134261816740036, 0.02384764328598976, -0.0005713498103432357, 0...
[ "Embedding", "False", "ModelTextEmbeddings", "Module", "None", "Sequence", "ValueError", "__init__", "and", "arange", "be", "class", "config", "def", "else", "embed_dim", "embeddings", "expand", "f", "forward", "got", "hidden_size", "if", "input_ids", "inputs_embeds",...
siglip/modeling_siglip.py:eager_attention_forward
[ 0.00004155164788244292, 0.0314590185880661, 0.025235112756490707, -0.010920126922428608, 0.00008884980343282223, 0.03621181845664978, 0.059749502688646317, -0.021840253844857216, 0.02285871095955372, 0.01171226054430008, 0.02444297820329666, 0.031232694163918495, 0.002461272059008479, -0.0...
[ "Model_attention_forward", "None", "attention_mask", "attn_output", "attn_weights", "contiguous", "def", "dim", "dropout", "dtype", "float32", "functional", "if", "is", "key", "kwargs", "matmul", "module", "nn", "not", "p", "query", "return", "scaling", "softmax", "...
siglip/modeling_siglip.py:SiglipAttention
[ -0.00007781119347782806, 0.03578787297010422, 0.040289491415023804, 0, -0.00019079128105659038, 0.025884311646223068, 0.042990464717149734, -0.004389078821986914, 0.003137066029012203, 0.022733177989721298, 0.019919665530323982, 0.011479129083454609, -0.0027994445990771055, -0.014855343848...
[ "ALL_ATTENTION_FUNCTIONS", "False", "Linear", "ModelAttention", "Module", "None", "ValueError", "__init__", "_attn_implementation", "and", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_weights", "be", "by", "class", "config", "contiguous", ...
siglip/modeling_siglip.py:SiglipMLP
[ -0.00017006906273309141, 0.02815132774412632, 0.04376562684774399, 0.019489381462335587, -0.0006375364027917385, 0.04741276428103447, 0.03282422199845314, -0.027923382818698883, 0.005584676284343004, -0.008832906372845173, 0.04285384342074394, -0.033736005425453186, 0.0013106893748044968, ...
[ "ACT2FN", "Linear", "ModelMLP", "Module", "__init__", "activation_fn", "class", "config", "def", "fc1", "fc2", "forward", "hidden_act", "hidden_size", "hidden_states", "intermediate_size", "nn", "return", "self", "super" ]
siglip/modeling_siglip.py:SiglipEncoderLayer
[ -0.0000867400158313103, 0.02333262376487255, 0.03832411766052246, 0.01566779986023903, -0.00018492795061320066, 0.0466652475297451, 0.030433857813477516, -0.015555082820355892, 0.008904721587896347, 0.008566567674279213, 0.008059335872530937, 0.026714162901043892, -0.00027475011302158237, ...
[ "GradientCheckpointingLayer", "LayerNorm", "ModelAttention", "ModelEncoderLayer", "ModelMLP", "_", "__init__", "attention_mask", "auto_docstring", "class", "config", "def", "embed_dim", "eps", "forward", "hidden_size", "hidden_states", "kwargs", "layer_norm1", "layer_norm2", ...
siglip/modeling_siglip.py:SiglipPreTrainedModel
[ -0.00019565857655834407, 0.04600898176431656, 0.002578089479357004, 0.014731939882040024, -0.0009915728587657213, 0.03490336239337921, 0.014505294151604176, -0.021191328763961792, 0.00046391444629989564, 0.006572711281478405, 0.010085712186992168, 0.009859067387878895, -0.0026347506791353226...
[ "Conv2d", "Embedding", "Linear", "Model", "ModelAttention", "ModelConfig", "ModelEncoderLayer", "ModelForImageClassification", "ModelMLP", "ModelModel", "ModelMultiheadAttentionPoolingHead", "ModelPreTrainedModel", "ModelTextEmbeddings", "ModelVisionEmbeddings", "None", "PreTrainedMode...
siglip/modeling_siglip.py:SiglipEncoder
[ -0.00006592204590560868, 0.016876043751835823, 0.023626461625099182, 0.03622724115848541, -0.00018721861124504358, 0.0373523123562336, 0.010575653985142708, -0.01721356436610222, 0.007706726901233196, 0.0073129525408148766, 0.007256698794662952, 0.004106503911316395, -0.002109505468979478, ...
[ "BaseModelOutput", "False", "ModelEncoder", "ModelEncoderLayer", "Module", "ModuleList", "None", "_", "__init__", "attention_mask", "auto_docstring", "class", "config", "def", "encoder_layer", "for", "forward", "gradient_checkpointing", "hidden_states", "in", "inputs_embeds",...
siglip/modeling_siglip.py:SiglipTextModel
[ -0.00005370567669160664, 0.04135773703455925, 0.03062708117067814, 0.018443314358592033, -0.00045758980559185147, 0.029062192887067795, 0.023026200011372566, -0.007768547628074884, 0.006259549409151077, 0.009277545846998692, 0.03017996996641159, 0.000852304685395211, -0.0023613031953573227, ...
[ "BaseModelOutputWithPooling", "False", "LayerNorm", "Linear", "ModelEncoder", "ModelPreTrainedModel", "ModelTextConfig", "ModelTextEmbeddings", "ModelTextModel", "None", "__init__", "_input_embed_layer", "attention_mask", "auto_docstring", "base_model_prefix", "capture_outputs", "cla...
siglip/modeling_siglip.py:SiglipVisionModel
[ -0.00006692424358334392, 0.03941619396209717, 0.004731062799692154, 0.04927024245262146, -0.00018983740301337093, 0.01914820820093155, 0.03941619396209717, -0.016684696078300476, 0.005122985225170851, 0.038744326680898666, 0.027770500630140305, 0.008398336358368397, 0.00026594733935780823, ...
[ "BaseModelOutputWithPooling", "False", "LayerNorm", "ModelEncoder", "ModelMultiheadAttentionPoolingHead", "ModelPreTrainedModel", "ModelVisionConfig", "ModelVisionEmbeddings", "ModelVisionModel", "None", "True", "__init__", "_input_embed_layer", "auto_docstring", "base_model_prefix", "...
siglip/modeling_siglip.py:SiglipMultiheadAttentionPoolingHead
[ -0.0002757540496531874, 0.029566563665866852, 0.046527229249477386, 0.02120083011686802, -0.0012247776612639427, 0.02704538404941559, 0.02979576215147972, -0.008652230724692345, -0.004211516119539738, 0.011288009583950043, 0.01856505125761032, 0.017648259177803993, 0.0004046780231874436, -...
[ "LayerNorm", "ModelMLP", "ModelMultiheadAttentionPoolingHead", "Module", "MultiheadAttention", "Parameter", "True", "__init__", "attention", "batch_first", "batch_size", "class", "config", "def", "eps", "forward", "hidden_size", "hidden_state", "layer_norm_eps", "layernorm", ...
siglip/modeling_siglip.py:SiglipModel
[ 0.00006572214624611661, 0.05281449109315872, 0.02729862928390503, 0.021281788125634193, 0.0003725705901160836, 0.03186697140336037, 0.022730287164449692, -0.014373564161360264, 0.00902526080608368, 0.022841710597276688, 0.050808876752853394, 0.022396018728613853, -0.00015407708997372538, 0...
[ "False", "ModelConfig", "ModelModel", "ModelOutput", "ModelPreTrainedModel", "ModelTextModel", "ModelVisionModel", "None", "Parameter", "True", "__init__", "_from_config", "attention_mask", "auto_docstring", "can_return_tuple", "class", "config", "def", "device", "dim", "embe...
siglip/modeling_siglip.py:SiglipForImageClassification
[ -0.00011247264046687633, 0.04196188598871231, 0.007644651923328638, 0.04196188598871231, -0.0004324529436416924, 0.0017019115621224046, 0.028458192944526672, 0.007756252773106098, -0.0017995622474700212, 0.015958908945322037, 0.037944257259368896, 0, -0.00038014008896425366, -0.00608224142...
[ "False", "Identity", "ImageClassifierOutput", "Linear", "ModelForImageClassification", "ModelPreTrainedModel", "ModelVisionModel", "None", "__init__", "_from_config", "attentions", "auto_docstring", "can_return_tuple", "class", "classifier", "config", "def", "dim", "else", "emb...