identifier
stringlengths
24
117
embedding
listlengths
2.56k
2.56k
tokens
listlengths
4
444
swin2sr/modeling_swin2sr.py:UpsampleOneStep
[ -0.00019677272939588875, 0.007228530012071133, -0.0017577187390998006, 0.013327602297067642, -0.0007059111376293004, 0.02721993252635002, 0.025751637294888496, -0.04856668785214424, 0.0056190527975559235, 0.022815048694610596, 0.01671597547829151, -0.044726528227329254, 0.0003706033458001911...
[ "Conv2d", "ModelOneStep", "Module", "PixelShuffle", "__init__", "class", "conv", "def", "forward", "in_channels", "nn", "out_channels", "pixel_shuffle", "return", "scale", "self", "super", "x" ]
swin2sr/modeling_swin2sr.py:PixelShuffleUpsampler
[ -0.00047616453957743943, 0.03236442431807518, 0.027167217805981636, 0.03874281421303749, -0.0019341878360137343, 0.04157765582203865, 0.0005204589106142521, -0.023741785436868668, -0.007972987368702888, 0.009980999864637852, 0.016654685139656067, -0.009449467062950134, 0.0003820389974862337,...
[ "Conv2d", "LeakyReLU", "ModelShuffleUpsampler", "Module", "True", "Upsample", "__init__", "activation", "class", "config", "conv_before_upsample", "def", "embed_dim", "final_convolution", "forward", "inplace", "nn", "num_channels_out", "num_features", "return", "self", "seq...
swin2sr/modeling_swin2sr.py:NearestConvUpsampler
[ -0.0003846375329885632, 0.03506733104586601, 0.03460286557674408, 0.0334416925907135, -0.0015458074631169438, 0.027868079021573067, 0.010798880830407143, -0.02601020596921444, -0.005689732730388641, -0.004673709161579609, 0.01672084629535675, 0.003367392811924219, 0.0007475031306967139, 0....
[ "Conv2d", "LeakyReLU", "Model", "ModelConvUpsampler", "Module", "The", "True", "ValueError", "__init__", "activation", "an", "at", "class", "config", "conv", "conv_before_upsample", "conv_hr", "conv_up1", "conv_up2", "def", "embed_dim", "factor", "final_convolution", "f...
swin2sr/modeling_swin2sr.py:PixelShuffleAuxUpsampler
[ -0.0005625758785754442, 0.022352008149027824, 0.028272269293665886, 0.02005639672279358, -0.002401330741122365, 0.046153876930475235, 0.0005285947700031102, -0.0427708700299263, -0.006463959347456694, 0.008578338660299778, 0.007128478493541479, 0.01135723665356636, -0.0016537465853616595, ...
[ "Conv2d", "LeakyReLU", "ModelShuffleAuxUpsampler", "Module", "Sequential", "True", "Upsample", "__init__", "activation", "aux", "bicubic", "class", "config", "conv_after_aux", "conv_aux", "conv_before_upsample", "conv_bicubic", "def", "embed_dim", "final_convolution", "forwar...
swin2sr/modeling_swin2sr.py:Swin2SRForImageSuperResolution
[ -0.0003685650590341538, 0.06243925541639328, 0.02092871442437172, 0.03676978498697281, -0.001611568732187152, 0.023010022938251495, 0.01023310050368309, -0.03145088627934456, -0.008267420344054699, 0.02555384486913681, 0.01560981385409832, 0.003526661777868867, 0.0010984684340655804, 0.022...
[ "Conv2d", "False", "ImageSuperResolutionOutput", "Model", "ModelForImageSuperResolution", "ModelModel", "ModelPreTrainedModel", "NearestConvUpsampler", "None", "PixelShuffleAuxUpsampler", "PixelShuffleUpsampler", "UpsampleOneStep", "__init__", "align_corners", "attentions", "auto_docst...
vipllava/modeling_vipllava.py:VipLlavaModelOutputWithPast
[ -0.00011365362297510728, 0.024697195738554, 0.014547663740813732, 0.017366977408528328, -0.0007929322309792042, 0.028869781643152237, 0.04307912662625313, -0.0383426807820797, 0.016577569767832756, -0.008232398889958858, 0.02762928418815136, 0.026163239032030106, -0.0024387072771787643, 0....
[ "BaseModelOutputWithPast", "ModelModelOutputWithPast", "None", "class", "image_hidden_states", "r" ]
vipllava/modeling_vipllava.py:VipLlavaCausalLMOutputWithPast
[ -0.0002024024142883718, 0.026021139696240425, 0.029543651267886162, 0.009260798804461956, -0.0011860071681439877, 0.03317979350686073, 0.037270452827215195, -0.03158898279070854, 0.017839821055531502, -0.004545177333056927, 0.019657891243696213, 0.019430631771683693, -0.000909035443328321, ...
[ "ModelCausalLMOutputWithPast", "ModelOutput", "None", "attentions", "class", "hidden_states", "image_hidden_states", "logits", "loss", "past_key_values", "r" ]
vipllava/modeling_vipllava.py:VipLlavaMultiModalProjector
[ -0.0002650970418471843, 0.042814064770936966, 0.03939804807305336, 0.043952733278274536, -0.0006903198082000017, 0.03894257918000221, 0.02630332112312317, -0.03552656248211861, 0, 0.02265956997871399, 0.03370468690991402, -0.0027470458298921585, -0.0013521728105843067, -0.00395688461139798...
[ "ACT2FN", "LayerNorm", "Linear", "ModelMultiModalProjector", "Module", "__init__", "act", "class", "config", "def", "else", "eps", "forward", "hidden_size", "hidden_states", "if", "int", "isinstance", "len", "linear_1", "linear_2", "nn", "num_feature_layers", "projector...
vipllava/modeling_vipllava.py:VipLlavaPreTrainedModel
[ -0.00041720393346622586, 0.03189948573708534, 0.018312668427824974, 0.019612276926636696, -0.002170937368646264, 0.03119060955941677, 0.026582906022667885, -0.03260836377739906, -0.004873532801866531, 0.017249351367354393, 0.015122720040380955, 0.007797652389854193, -0.004253264982253313, ...
[ "ModelConfig", "ModelPreTrainedModel", "PreTrainedModel", "True", "_can_compile_fullgraph", "_skip_keys_device_placement", "_supports_attention_backend", "_supports_flash_attn", "_supports_flex_attn", "_supports_sdpa", "base_model_prefix", "class", "config", "image", "input_modalities", ...
vipllava/modeling_vipllava.py:VipLlavaModel
[ -0.0001446805545128882, 0.038376953452825546, -0.0034444432239979506, 0.01829599030315876, -0.00038174749352037907, 0.03569949418306351, 0.028448032215237617, -0.03079081140458584, 0, 0.028559593483805656, 0.02811335027217865, 0.01216013915836811, 0.0000784412695793435, 0.01031938474625349...
[ "AutoModel", "Image", "ModelModel", "ModelModelOutputWithPast", "ModelMultiModalProjector", "ModelPreTrainedModel", "None", "Obtains", "True", "ValueError", "You", "__init__", "all", "and", "apply", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "cat", ...
vipllava/modeling_vipllava.py:VipLlavaForConditionalGeneration
[ -0.00019272933423053473, 0.03879816457629204, 0.008802474476397038, 0.020856818184256554, -0.0006798089016228914, 0.028481891378760338, 0.032518696039915085, -0.03857389837503433, -0.0004520378715824336, 0.022090286016464233, 0.03924670070409775, 0.010989075526595116, 0.0018922515446320176, ...
[ "GenerationMixin", "Linear", "ModelCausalLMOutputWithPast", "ModelForConditionalGeneration", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "_tied_weights_keys", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "config", "def", "else", "embe...
deberta/modeling_deberta.py:DebertaLayerNorm
[ -0.000020915822460665368, 0.030052203685045242, 0.03431333601474762, 0.04619965702295303, -0.00008935764344641939, 0.03700457885861397, 0.017493072897195816, -0.008914738893508911, 0.014016885310411453, 0.034537605941295624, 0.022987693548202515, 0.003097731852903962, 0.003153799334540963, ...
[ "ModelLayerNorm", "Module", "Parameter", "True", "__init__", "bias", "class", "def", "eps", "float", "forward", "hidden_states", "keepdim", "mean", "nn", "ones", "pow", "return", "self", "size", "sqrt", "super", "torch", "variance", "variance_epsilon", "weight", "...
deberta/modeling_deberta.py:DebertaSelfOutput
[ -0.00011141536379000172, 0.048702165484428406, 0.03404642269015312, 0.019841622561216354, -0.0006658498896285892, 0.05704466626048088, 0.019841622561216354, -0.018939731642603874, 0.0015712649328634143, 0.016797738149762154, 0.013753851875662804, 0.0022124536335468292, 0.003973961342126131, ...
[ "Dropout", "LayerNorm", "Linear", "ModelLayerNorm", "ModelSelfOutput", "Module", "__init__", "class", "config", "def", "dense", "dropout", "forward", "hidden_dropout_prob", "hidden_size", "hidden_states", "input_tensor", "layer_norm_eps", "nn", "return", "self", "super" ]
deberta/modeling_deberta.py:build_relative_position
[ -0.000019769146092585288, -0.010515429079532623, 0.012483557686209679, -0.03059033863246441, 0.00008434835763182491, 0.04903451353311539, 0.03216484189033508, -0.014170524664223194, 0.022830288857221603, 0.041161999106407166, 0.001616676920093596, 0.015632562339305878, 0.0035145150031894445,...
[ "Model_relative_position", "None", "arange", "def", "device", "dtype", "k_ids", "key_layer", "key_size", "long", "q_ids", "query_layer", "query_size", "rel_pos_ids", "repeat", "return", "size", "torch", "unsqueeze", "view" ]
deberta/modeling_deberta.py:c2p_dynamic_expand
[ -0.0003462379099801183, -0.0012464565224945545, 0.012712398543953896, 0.014578438363969326, -0.0011954319197684526, 0.0667109340429306, 0.037787310779094696, -0.03685429319739342, 0.01043816190212965, 0.022275853902101517, -0.010204906575381756, -0.015394831076264381, -0.0006086498033255339,...
[ "Model_dynamic_expand", "Model_pos", "def", "expand", "query_layer", "relative_pos", "return", "size" ]
deberta/modeling_deberta.py:p2c_dynamic_expand
[ -0.0003360025293659419, 0.0008363540982827544, 0.009700247086584568, 0.012797313742339611, -0.0013001837069168687, 0.05399414524435997, 0.040670912712812424, -0.04277458041906357, 0.014024453237652779, 0.023958440870046616, -0.0009860943537205458, -0.013147925026714802, 0.0001378705928800627...
[ "Model_dynamic_expand", "c2p_pos", "def", "expand", "key_layer", "query_layer", "return", "size" ]
deberta/modeling_deberta.py:pos_dynamic_expand
[ -0.00032601525890640914, -0.0057407827116549015, 0.009441693313419819, 0.0020398718770593405, -0.0013404872734099627, 0.05828205496072769, 0.03217169642448425, -0.04919005557894707, 0.012647205963730812, -0.0028995322063565254, -0.003249224741011858, -0.0035552054177969694, -0.00158090074546...
[ "Model_dynamic_expand", "Model_index", "def", "expand", "key_layer", "p2c_att", "return", "size" ]
deberta/modeling_deberta.py:scaled_size_sqrt
[ -0.0001464814558858052, -0.0006741676479578018, 0.00824531726539135, 0.011238480918109417, -0.00026825518580153584, 0.03930644690990448, 0.06144455820322037, -0.009600711986422539, 0.011577329598367214, 0.04811651259660721, 0.0036143858451396227, -0.017733080312609673, -0.0027813827618956566...
[ "Model_size_sqrt", "def", "dtype", "float", "query_layer", "return", "scale_factor", "size", "sqrt", "tensor", "torch" ]
deberta/modeling_deberta.py:build_rpos
[ -0.00021447714243549854, 0.0038353558629751205, 0.027799120172858238, 0.004354426637291908, -0.0007137222564779222, 0.06597965955734253, 0.026068884879350662, -0.012515371665358543, 0.011996300891041756, 0.04360194131731987, 0.002393492730334401, 0.006142336875200272, 0.004037216771394014, ...
[ "Model_relative_position", "Model_rpos", "def", "else", "if", "key_layer", "query_layer", "relative_pos", "return", "size" ]
deberta/modeling_deberta.py:compute_attention_span
[ -0.00008754651207709685, 0.0074140396900475025, 0.059765081852674484, -0.01414893101900816, -0.0003749466559384018, 0.052294448018074036, 0.0527472123503685, -0.024336161091923714, 0.019921693950891495, 0.038032326847314835, 0.027279138565063477, 0.015620419755578041, 0.00312691368162632, ...
[ "Model_attention_span", "def", "key_layer", "max", "max_relative_positions", "min", "query_layer", "return", "size", "tensor", "torch" ]
deberta/modeling_deberta.py:uneven_size_corrected
[ -0.00027798768132925034, 0.020448340103030205, 0.01917753927409649, -0.018253320828080177, -0.0010902893263846636, 0.0323476567864418, 0.04274512082338333, -0.03719980642199516, 0.018830958753824234, 0.02564707212150097, -0.015827246010303497, 0.03535136952996254, -0.00004084072497789748, ...
[ "Model_size_corrected", "def", "dim", "else", "gather", "if", "index", "key_layer", "p2c_att", "pos_dynamic_expand", "pos_index", "query_layer", "relative_pos", "return", "size", "torch", "unsqueeze" ]
deberta/modeling_deberta.py:DisentangledSelfAttention
[ -0.00004978729702997953, 0.05008382722735405, 0.02672634646296501, -0.012857843190431595, -0.0006351718329824507, 0.011454149149358273, 0.022683706134557724, -0.005670926533639431, 0.001494934898801148, 0.019539430737495422, 0.013419321738183498, 0.025603391230106354, 0.002007283503189683, ...
[ "Dropout", "False", "Linear", "ModelSelfAttention", "Model_att_bias", "Module", "None", "Parameter", "Relative", "The", "ValueError", "__init__", "a", "all_head_size", "and", "att_span", "attention", "attention_head_size", "attention_mask", "attention_probs", "attention_probs...
deberta/modeling_deberta.py:DebertaEmbeddings
[ -0.00028881840989924967, 0.02939130924642086, 0.01836956851184368, -0.009069974534213543, -0.001435122569091618, 0.03191712498664856, 0.029276499524712563, -0.005281250923871994, 0.003932235762476921, -0.003114215796813369, 0.027324732393026352, 0.03237636387348175, -0.0016073372680693865, ...
[ "Dropout", "Embedding", "False", "LayerNorm", "Linear", "ModelEmbeddings", "ModelLayerNorm", "Module", "None", "True", "__init__", "arange", "class", "config", "def", "device", "dim", "dropout", "dtype", "else", "embed_proj", "embedding_size", "embeddings", "expand", ...
deberta/modeling_deberta.py:DebertaAttention
[ 0.00005640268136630766, 0.029997482895851135, 0.028206588700413704, -0.0027003330178558826, -0.00009619061893317848, 0.03134065493941307, 0.025408316403627396, -0.01701349765062332, 0.006575940642505884, 0.02014756388962269, 0.008170955814421177, 0.024289006367325783, 0.0012172486167401075, ...
[ "DisentangledSelfAttention", "False", "ModelAttention", "ModelSelfOutput", "Module", "None", "__init__", "att_matrix", "attention_mask", "attention_output", "class", "config", "def", "else", "forward", "hidden_states", "if", "is", "nn", "output", "output_attentions", "query...
deberta/modeling_deberta.py:DebertaIntermediate
[ -0.00024281529476866126, 0.022624673321843147, 0.04022163897752762, 0.01268352847546339, -0.0009426947217434645, 0.03633659705519676, 0.03450834006071091, -0.020339353010058403, -0.0015568746021017432, -0.0032851481810212135, 0.023081736639142036, -0.02125347964465618, -0.0014354669256135821...
[ "ACT2FN", "Linear", "ModelIntermediate", "Module", "__init__", "class", "config", "def", "dense", "else", "forward", "hidden_act", "hidden_size", "hidden_states", "if", "intermediate_act_fn", "intermediate_size", "isinstance", "nn", "return", "self", "str", "super" ]
deberta/modeling_deberta.py:DebertaOutput
[ -0.0002640716847963631, 0.03791213035583496, 0.04613403603434563, 0.03220247104763985, -0.0011347945546731353, 0.05115853622555733, 0.035171493887901306, -0.024551529437303543, -0.00044428277760744095, 0.017814133316278458, 0.00850739050656557, 0.0024123305920511484, 0.0017128974432125688, ...
[ "Dropout", "LayerNorm", "Linear", "ModelLayerNorm", "ModelOutput", "Module", "__init__", "class", "config", "def", "dense", "dropout", "forward", "hidden_dropout_prob", "hidden_size", "hidden_states", "input_tensor", "intermediate_size", "layer_norm_eps", "nn", "return", "s...
deberta/modeling_deberta.py:DebertaLayer
[ 0, 0.009869694709777832, 0.02747812680900097, 0.009421071968972683, 0.0002803890674840659, 0.04732967168092728, 0.02691734954714775, 0.009364994242787361, 0.00681345397606492, 0.007065804209560156, 0.0023833068553358316, 0.006981687620282173, 0.001465032808482647, 0.008748138323426247, -...
[ "False", "GradientCheckpointingLayer", "ModelAttention", "ModelIntermediate", "ModelLayer", "ModelOutput", "None", "__init__", "att_matrix", "attention", "attention_mask", "attention_output", "class", "config", "def", "else", "forward", "hidden_states", "if", "intermediate", ...
deberta/modeling_deberta.py:DebertaEncoder
[ -0.00015584600623697042, 0.023121880367398262, 0.034229449927806854, 0.011900967918336391, -0.0006163001526147127, 0.04488365352153778, 0.005128750577569008, -0.0243686493486166, 0.002649382222443819, 0.02210179902613163, 0.02051500231027603, 0.01688804104924202, 0.0013388589723035693, 0.0...
[ "BaseModelOutput", "Embedding", "False", "ModelEncoder", "ModelLayer", "Module", "ModuleList", "None", "True", "_", "__init__", "all_attentions", "all_hidden_states", "and", "att_m", "attention_mask", "attentions", "build_relative_position", "class", "config", "def", "dim",...
deberta/modeling_deberta.py:DebertaPreTrainedModel
[ -0.00030470447381958365, 0.03877275064587593, -0.005620901472866535, -0.010438816621899605, -0.001505598658695817, 0.01571558229625225, 0.017321553081274033, -0.006882736459374428, 0, 0.002566687064245343, -0.0007456297753378749, 0.013994897715747356, -0.0013908863766118884, -0.00401492975...
[ "DisentangledSelfAttention", "LegacyModelLMPredictionHead", "Model", "ModelConfig", "ModelEmbeddings", "ModelLMPredictionHead", "ModelPreTrainedModel", "PreTrainedModel", "True", "_init_weights", "_keys_to_ignore_on_load_unexpected", "arange", "base_model_prefix", "bias", "class", "con...
deberta/modeling_deberta.py:DebertaModel
[ -0.00013497896725311875, 0.03590970113873482, 0.019309932366013527, 0.004008787218481302, -0.0005787333939224482, 0.047879599034786224, 0.009429119527339935, 0, 0, 0.009316195733845234, 0.028569666668772697, 0.002681935206055641, 0.00034935734583996236, 0.017503155395388603, -0.042910963...
[ "BaseModelOutput", "False", "ModelEmbeddings", "ModelEncoder", "ModelModel", "ModelPreTrainedModel", "None", "True", "_", "__init__", "and", "append", "attention_mask", "attentions", "auto_docstring", "class", "config", "def", "device", "dtype", "elif", "else", "embedding...
deberta/modeling_deberta.py:LegacyDebertaPredictionHeadTransform
[ -0.0003557292802724987, 0.042990874499082565, 0.0496937520802021, 0.034207794815301895, -0.0014734775759279728, 0.025193577632308006, 0.025771411135792732, -0.010574368759989738, -0.0052005089819431305, 0.016526062041521072, 0.011730036698281765, 0.008320814929902554, -0.00036475792876444757...
[ "ACT2FN", "LayerNorm", "Linear", "ModelModelPredictionHeadTransform", "Module", "__init__", "class", "config", "def", "dense", "else", "embedding_size", "eps", "forward", "getattr", "hidden_act", "hidden_size", "hidden_states", "if", "isinstance", "layer_norm_eps", "nn", ...
deberta/modeling_deberta.py:LegacyDebertaLMPredictionHead
[ -0.0003138293686788529, 0.03994061425328255, 0.034431565552949905, 0.0236430075019598, -0.001613979577086866, 0.024905497208237648, 0.05302460864186287, -0.026167988777160645, -0.001735924743115902, 0.0006133122369647026, 0.01813395693898201, 0.006828926969319582, -0.00015243139932863414, ...
[ "Linear", "ModelModelLMPredictionHead", "ModelModelPredictionHeadTransform", "Module", "Parameter", "__init__", "bias", "class", "config", "decoder", "def", "embedding_size", "forward", "getattr", "hidden_size", "hidden_states", "nn", "return", "self", "super", "torch", "tr...
deberta/modeling_deberta.py:LegacyDebertaOnlyMLMHead
[ -0.00033189868554472923, 0.018355440348386765, 0.01662379503250122, 0.03324759006500244, -0.0015151896513998508, 0.039019741117954254, 0.037172652781009674, -0.007272910326719284, -0.0035643032751977444, -0.007128606550395489, 0.0197407566010952, 0.01142885908484459, -0.002005822490900755, ...
[ "ModelModelLMPredictionHead", "ModelModelOnlyMLMHead", "Module", "__init__", "class", "config", "def", "forward", "nn", "prediction_scores", "predictions", "return", "self", "sequence_output", "super" ]
deberta/modeling_deberta.py:DebertaLMPredictionHead
[ -0.0004090818401891738, 0.03529791906476021, 0.041141945868730545, 0.023960508406162262, -0.0018043431919068098, 0.03786928951740265, 0.044180840253829956, -0.009701083414256573, -0.0029804534278810024, -0.007597234100103378, 0.020570972934365273, 0.0225579421967268, 0.002571371616795659, ...
[ "ACT2FN", "LayerNorm", "Linear", "ModelLMPredictionHead", "Module", "Parameter", "True", "__init__", "bias", "class", "config", "def", "dense", "elementwise_affine", "else", "eps", "forward", "hidden_act", "hidden_size", "hidden_states", "if", "isinstance", "layer_norm_ep...
deberta/modeling_deberta.py:DebertaOnlyMLMHead
[ -0.00038634115480817854, 0.018077850341796875, 0.025308990851044655, 0.023092996329069138, -0.0018442323198541999, 0.03825506195425987, 0.04455315321683884, -0.010846709832549095, -0.0017713377019390464, -0.010496816597878933, 0.012479548342525959, 0.022976364940404892, -0.001086128875613212...
[ "ModelLMPredictionHead", "ModelOnlyMLMHead", "Module", "__init__", "class", "config", "def", "forward", "lm_head", "nn", "prediction_scores", "return", "self", "sequence_output", "super", "word_embeddings" ]
deberta/modeling_deberta.py:DebertaForMaskedLM
[ -0.00018174844444729388, 0.027178382501006126, 0.02080320566892624, -0.004250117111951113, -0.0007339840522035956, 0.04115903005003929, 0.006151485722512007, -0.007717318367213011, 0.0010765099432319403, -0.011184519156813622, 0.013533268123865128, 0.03981688991189003, -0.0011324326042085886...
[ "CrossEntropyLoss", "LegacyModelOnlyMLMHead", "MaskedLMOutput", "Model", "ModelForMaskedLM", "ModelModel", "ModelOnlyMLMHead", "ModelPreTrainedModel", "None", "__init__", "_tied_weights_keys", "attention_mask", "attentions", "auto_docstring", "bias", "class", "cls", "config", "de...
deberta/modeling_deberta.py:ContextPooler
[ -0.0002489158068783581, 0.016499562188982964, 0.032543960958719254, 0.01325654424726963, -0.0008107543108053505, 0.038461048156023026, 0.03823346644639969, 0.0015503898030146956, -0.0016712917713448405, 0.00978594645857811, 0.013597914949059486, -0.013370334170758724, 0.00010045530507341027,...
[ "ACT2FN", "Dropout", "Linear", "ModelPooler", "Model_token", "Module", "__init__", "class", "config", "def", "dense", "dropout", "forward", "hidden_size", "hidden_states", "nn", "output_dim", "pooled_output", "pooler_dropout", "pooler_hidden_act", "pooler_hidden_size", "pro...
deberta/modeling_deberta.py:DebertaForSequenceClassification
[ -0.00030719544156454504, 0.029774874448776245, 0.003380925627425313, 0.02272891253232956, -0.0009233620367012918, 0.030002163723111153, 0.01176221203058958, 0.0022302744910120964, -0.004574193619191647, 0.008125586435198784, 0.056140411645174026, -0.0018041074508801103, 0.0008629884105175734...
[ "BCEWithLogitsLoss", "ContextPooler", "CrossEntropyLoss", "Dropout", "Linear", "LogSoftmax", "MSELoss", "Model", "ModelForSequenceClassification", "ModelModel", "ModelPreTrainedModel", "None", "SequenceClassifierOutput", "__init__", "attention_mask", "attentions", "auto_docstring", ...
deberta/modeling_deberta.py:DebertaForTokenClassification
[ -0.00023977170349098742, 0.03682893514633179, 0.0012290520826354623, -0.030463440343737602, -0.0009875042596831918, 0.037056274712085724, 0.040693700313568115, 0.01580006815493107, -0.0016837302828207612, 0.007729529403150082, 0.05728945508599281, 0.020460519939661026, -0.0009803998982533813...
[ "CrossEntropyLoss", "Dropout", "Linear", "Model", "ModelForTokenClassification", "ModelModel", "ModelPreTrainedModel", "None", "TokenClassifierOutput", "__init__", "attention_mask", "attentions", "auto_docstring", "class", "classifier", "config", "def", "dropout", "else", "forw...
deberta/modeling_deberta.py:DebertaForQuestionAnswering
[ -0.00020672639948315918, 0.029050776734948158, 0.012780089862644672, 0.013117888942360878, -0.0006087432266213, 0.04841795936226845, 0.03805876895785332, 0.024997180327773094, 0.003715796861797571, 0.03040197491645813, 0.023758580908179283, 0.02038058266043663, 0.0008937617531046271, 0.001...
[ "CrossEntropyLoss", "Linear", "Model", "ModelForQuestionAnswering", "ModelModel", "ModelPreTrainedModel", "None", "QuestionAnsweringModelOutput", "__init__", "and", "attention_mask", "attentions", "auto_docstring", "clamp", "class", "config", "contiguous", "def", "dim", "else",...
rembert/modeling_rembert.py:RemBertEmbeddings
[ -0.00020934236817993224, 0.019756242632865906, 0.010332288220524788, -0.003008852945640683, -0.001085741794668138, 0.03701457008719444, 0.030429154634475708, -0.010843224823474884, 0.008629163727164268, -0.009878121316432953, 0.02804478071630001, 0.027817698195576668, 0.00007761634333292022,...
[ "Dropout", "Embedding", "False", "LayerNorm", "ModelEmbeddings", "Module", "None", "__init__", "arange", "class", "config", "def", "device", "dropout", "dtype", "else", "embeddings", "eps", "expand", "forward", "hidden_dropout_prob", "if", "input_embedding_size", "input...
rembert/modeling_rembert.py:RemBertPooler
[ -0.00025695894146338105, 0.01159170363098383, 0.03723049536347389, 0.023526018485426903, -0.0011491774348542094, 0.03266233578324318, 0.036545272916555405, -0.006595279555767775, -0.0013490344863384962, 0.0014275496359914541, 0.013989986851811409, -0.016216963529586792, -0.001370447687804699...
[ "Linear", "ModelPooler", "Module", "Tanh", "__init__", "activation", "class", "config", "def", "dense", "first_token_tensor", "forward", "hidden_size", "hidden_states", "nn", "pooled_output", "return", "self", "super" ]
rembert/modeling_rembert.py:RemBertSelfAttention
[ -0.00003446821210673079, 0.040880173444747925, 0.033284951001405716, -0.00580811221152544, -0.0003944210766348988, 0.008432932198047638, 0.02434939332306385, -0.025578033179044724, 0.004858709406107664, 0.020998559892177582, 0.004411931149661541, 0.014241044409573078, 0.00006500966992462054,...
[ "Dropout", "EncoderDecoderCache", "False", "Linear", "ModelSelfAttention", "Module", "None", "The", "True", "ValueError", "__init__", "a", "all_head_size", "and", "attention", "attention_head_size", "attention_mask", "attention_probs", "attention_probs_dropout_prob", "attention...
rembert/modeling_rembert.py:RemBertSelfOutput
[ -0.00013246347953099757, 0.04747490957379341, 0.03797992691397667, 0.02125067450106144, -0.0007523925160057843, 0.05629167705774307, 0.023850489407777786, -0.019555142149329185, 0.0037866891361773014, 0.018198715522885323, 0.013451224192976952, 0.002840016968548298, 0.00370191247202456, -0...
[ "Dropout", "LayerNorm", "Linear", "ModelSelfOutput", "Module", "__init__", "class", "config", "def", "dense", "dropout", "eps", "forward", "hidden_dropout_prob", "hidden_size", "hidden_states", "input_tensor", "layer_norm_eps", "nn", "return", "self", "super" ]
rembert/modeling_rembert.py:RemBertAttention
[ 0.00016592058818787336, 0.03276049345731735, 0.03298642486333847, -0.00257000420242548, 0.0007978309295140207, 0.04157193377614021, 0.04315347597002983, -0.025078721344470978, 0.012652328237891197, -0.00044127818546257913, 0.019317394122481346, 0.034116096794605255, 0.0021322560496628284, ...
[ "False", "ModelAttention", "ModelSelfAttention", "ModelSelfOutput", "Module", "None", "__init__", "attention_mask", "attention_output", "class", "config", "def", "encoder_hidden_states", "forward", "hidden_states", "kwargs", "layer_idx", "nn", "output", "output_attentions", "...
rembert/modeling_rembert.py:RemBertIntermediate
[ -0.00024281529476866126, 0.022624673321843147, 0.04022163897752762, 0.01268352847546339, -0.0009426947217434645, 0.03633659705519676, 0.03450834006071091, -0.020339353010058403, -0.0015568746021017432, -0.0032851481810212135, 0.023081736639142036, -0.02125347964465618, -0.0014354669256135821...
[ "ACT2FN", "Linear", "ModelIntermediate", "Module", "__init__", "class", "config", "def", "dense", "else", "forward", "hidden_act", "hidden_size", "hidden_states", "if", "intermediate_act_fn", "intermediate_size", "isinstance", "nn", "return", "self", "str", "super" ]
rembert/modeling_rembert.py:RemBertOutput
[ -0.0002483437128830701, 0.03887740522623062, 0.04962586611509323, 0.030873233452439308, -0.0012577984016388655, 0.04985455423593521, 0.03727656975388527, -0.022983407601714134, 0.002272613113746047, 0.015436616726219654, 0.011205840855836868, 0.0015722480602562428, 0.0014007301069796085, 0...
[ "Dropout", "LayerNorm", "Linear", "ModelOutput", "Module", "__init__", "class", "config", "def", "dense", "dropout", "eps", "forward", "hidden_dropout_prob", "hidden_size", "hidden_states", "input_tensor", "intermediate_size", "layer_norm_eps", "nn", "return", "self", "su...
rembert/modeling_rembert.py:RemBertLayer
[ -0.00003435491817072034, 0.018037863075733185, 0.01826193742454052, 0.00445344764739275, 0, 0.04100532829761505, 0.0231915395706892, -0.0015054893447086215, 0.003921274561434984, 0.0008157651755027473, 0.0026188513729721308, 0.01579713448882103, 0.002016655635088682, 0.003277065232396126, ...
[ "False", "GradientCheckpointingLayer", "If", "ModelAttention", "ModelIntermediate", "ModelLayer", "ModelOutput", "None", "True", "ValueError", "__init__", "add_cross_attention", "and", "apply_chunking_to_forward", "are", "attention", "attention_mask", "attention_output", "be", ...
rembert/modeling_rembert.py:RemBertEncoder
[ -0.00016789458459243178, 0.023526448756456375, 0.023187125101685524, 0.017079297453165054, -0.0008164978353306651, 0.029408061876893044, 0.005938166286796331, -0.022734694182872772, 0.0031246065627783537, 0.011706670746207237, 0.009444511495530605, 0.006164382211863995, -0.001894557732157409...
[ "BaseModelOutputWithPastAndCrossAttentions", "DynamicCache", "EncoderDecoderCache", "False", "Linear", "ModelEncoder", "ModelLayer", "Module", "ModuleList", "None", "Setting", "True", "__init__", "add_cross_attention", "all_cross_attentions", "all_hidden_states", "all_self_attentions...
rembert/modeling_rembert.py:RemBertPredictionHeadTransform
[ -0.00030266144312918186, 0.04240841791033745, 0.04424229636788368, 0.03232209384441376, -0.0013395902933552861, 0.02704969421029091, 0.0293420422822237, -0.012034821324050426, -0.0017407509731128812, 0.02051650546491146, 0.016275662928819656, 0.005988756660372019, 0.00019878946477547288, 0...
[ "ACT2FN", "LayerNorm", "Linear", "ModelPredictionHeadTransform", "Module", "__init__", "class", "config", "def", "dense", "else", "eps", "forward", "hidden_act", "hidden_size", "hidden_states", "if", "isinstance", "layer_norm_eps", "nn", "return", "self", "str", "super"...
rembert/modeling_rembert.py:RemBertLMPredictionHead
[ -0.0003552473499439657, 0.03824283182621002, 0.03917558491230011, 0.04104108735918999, -0.0017999198753386736, 0.03614414110779762, 0.0559651218354702, -0.017605694010853767, 0.0012971082469448447, 0.008919441141188145, 0.01888822764158249, 0.01002708449959755, 0.0003169899573549628, -0.00...
[ "ACT2FN", "LayerNorm", "Linear", "ModelLMPredictionHead", "Module", "__init__", "activation", "class", "config", "decoder", "def", "dense", "eps", "forward", "hidden_act", "hidden_size", "hidden_states", "layer_norm_eps", "nn", "output_embedding_size", "return", "self", "...
rembert/modeling_rembert.py:RemBertOnlyMLMHead
[ -0.0003877650888171047, 0.019690457731485367, 0.019107898697257042, 0.03192417323589325, -0.0017039818922057748, 0.03705068305134773, 0.040779054164886475, -0.0058255791664123535, -0.0035681670997291803, -0.006524648517370224, 0.015263017266988754, 0.011651158332824707, -0.002344795502722263...
[ "ModelLMPredictionHead", "ModelOnlyMLMHead", "Module", "__init__", "class", "config", "def", "forward", "nn", "prediction_scores", "predictions", "return", "self", "sequence_output", "super" ]
rembert/modeling_rembert.py:RemBertPreTrainedModel
[ -0.00030871867784298956, 0.03170469030737877, -0.009591816924512386, 0.0037907781079411507, -0.001371285179629922, 0.029177503660321236, 0.024467749521136284, 0.00896002072840929, -0.0036759059876203537, -0.005083088763058186, 0.004250266123563051, -0.003618469927459955, -0.00170872197486460...
[ "Model", "ModelConfig", "ModelEmbeddings", "ModelPreTrainedModel", "PreTrainedModel", "True", "_init_weights", "arange", "base_model_prefix", "class", "config", "copy_", "def", "expand", "if", "init", "isinstance", "module", "position_ids", "self", "shape", "super", "supp...
rembert/modeling_rembert.py:RemBertModel
[ 0, 0.02164134941995144, 0.007793128024786711, 0.016146913170814514, 0, 0.03857317939400673, 0.005242140032351017, -0.004345089662820101, 0.010260017588734627, 0.0001568086736369878, 0.023323317989706993, -0.0028593491297215223, 0.0007498783525079489, 0.006980176083743572, -0.024108238518...
[ "BaseModelOutputWithPoolingAndCrossAttentions", "False", "ModelEmbeddings", "ModelEncoder", "ModelModel", "ModelPooler", "ModelPreTrainedModel", "None", "True", "__init__", "add_pooling_layer", "and", "attention_mask", "attentions", "auto_docstring", "batch_size", "class", "config"...
rembert/modeling_rembert.py:RemBertForMaskedLM
[ -0.00009615248563932255, 0.04210173711180687, 0.015704616904258728, -0.008019378408789635, -0.00036546646151691675, 0.04098793491721153, 0.012864419259130955, -0.014033912681043148, 0.0051513370126485825, -0.0013992144959047437, 0.02093948796391487, 0.03118647076189518, -0.000720491050742566...
[ "CrossEntropyLoss", "False", "If", "MaskedLMOutput", "Model", "ModelForMaskedLM", "ModelModel", "ModelOnlyMLMHead", "ModelPreTrainedModel", "None", "__init__", "add_pooling_layer", "attention", "attention_mask", "attentions", "auto_docstring", "bi", "class", "cls", "config", ...
rembert/modeling_rembert.py:RemBertForCausalLM
[ -0.00027641846099868417, 0.054556090384721756, 0.015179832465946674, 0.007475782185792923, -0.0012269413564354181, 0.026593239977955818, 0.019060391932725906, -0.013696089386940002, 0.0011056738439947367, 0.010785670019686222, 0.024196425452828407, 0.0026250837836414576, 0.000310302013531327...
[ "CausalLMOutputWithCrossAttentions", "False", "GenerationMixin", "Model", "ModelForCausalLM", "ModelModel", "ModelOnlyMLMHead", "ModelPreTrainedModel", "None", "True", "__init__", "add", "add_pooling_layer", "attention_mask", "attentions", "auto_docstring", "class", "cls", "confi...
rembert/modeling_rembert.py:RemBertForSequenceClassification
[ -0.00033411680487915874, 0.031560637056827545, 0.0038879048079252243, 0.01200676430016756, -0.0012435577809810638, 0.02721533365547657, 0.02092607505619526, 0.01200676430016756, -0.005860444623976946, 0.01109196338802576, 0.05900467187166214, -0.0004288130148779601, -0.00006119519093772396, ...
[ "BCEWithLogitsLoss", "CrossEntropyLoss", "Dropout", "Linear", "MSELoss", "Model", "ModelForSequenceClassification", "ModelModel", "ModelPreTrainedModel", "None", "SequenceClassifierOutput", "__init__", "and", "attention_mask", "attentions", "auto_docstring", "class", "classifier", ...
rembert/modeling_rembert.py:RemBertForMultipleChoice
[ -0.00023277733998838812, 0.05595185235142708, 0.01842317171394825, 0.030022945255041122, -0.0009950787061825395, 0.03934825584292412, 0.04480697214603424, -0.003056313144043088, -0.0009382170392200351, 0.012680145911872387, 0.041850168257951736, -0.007164566777646542, -0.0008244937635026872,...
[ "CrossEntropyLoss", "Dropout", "Linear", "Model", "ModelForMultipleChoice", "ModelModel", "ModelPreTrainedModel", "MultipleChoiceModelOutput", "None", "__init__", "attention_mask", "attentions", "auto_docstring", "class", "classifier", "classifier_dropout_prob", "config", "def", ...
rembert/modeling_rembert.py:RemBertForTokenClassification
[ -0.0002326416433788836, 0.03523366525769234, 0.0010229129111394286, -0.03000544384121895, -0.0010442235507071018, 0.03750680387020111, 0.038870688527822495, 0.018071461468935013, -0.001065534190274775, 0.00897890143096447, 0.05637386441230774, 0.021253855898976326, -0.00047949040890671313, ...
[ "CrossEntropyLoss", "Dropout", "False", "Linear", "Model", "ModelForTokenClassification", "ModelModel", "ModelPreTrainedModel", "None", "TokenClassifierOutput", "__init__", "add_pooling_layer", "attention_mask", "attentions", "auto_docstring", "class", "classifier", "classifier_dro...
rembert/modeling_rembert.py:RemBertForQuestionAnswering
[ -0.0001866683451225981, 0.02568836882710457, 0.009478895924985409, 0.014919445849955082, -0.0005188153008930385, 0.045767925679683685, 0.033652886748313904, 0.029390187934041023, 0.002201459603384137, 0.030287597328424454, 0.021762199699878693, 0.021201318129897118, 0.0008974102674983442, ...
[ "CrossEntropyLoss", "False", "Linear", "Model", "ModelForQuestionAnswering", "ModelModel", "ModelPreTrainedModel", "None", "QuestionAnsweringModelOutput", "__init__", "add_pooling_layer", "and", "attention_mask", "attentions", "auto_docstring", "clamp_", "class", "config", "def",...
glm_ocr/modeling_glm_ocr.py:GlmOcrRMSNorm
[ -0.00010937952902168036, 0.04177592322230339, 0.032291658222675323, 0.04855039715766907, -0.0003740074171219021, 0.03861450031399727, 0.024952644482254982, -0.030033500865101814, 0.008581000380218029, 0.042001739144325256, 0.0195330660790205, 0.005617167800664902, 0.002427519764751196, 0.0...
[ "ModelRMSNorm", "Module", "Parameter", "True", "__init__", "class", "def", "dtype", "eps", "extra_repr", "f", "float32", "forward", "hidden_size", "hidden_states", "input_dtype", "keepdim", "mean", "nn", "ones", "pow", "return", "rsqrt", "self", "shape", "super", ...
glm_ocr/modeling_glm_ocr.py:GlmOcrVisionMlp
[ -0.0002416162024019286, 0.02657420188188553, 0.018556123599410057, 0.03894495218992233, -0.000787489814683795, 0.04856664687395096, 0.03321775421500206, -0.02336697094142437, -0.0032358672469854355, 0.009278061799705029, 0.04123583063483238, -0.023710602894425392, -0.0003901654272340238, 0...
[ "ACT2FN", "Linear", "ModelVisionMlp", "Module", "__init__", "act_fn", "class", "config", "def", "down_proj", "forward", "gate_proj", "hidden_act", "hidden_size", "hidden_state", "intermediate_size", "nn", "return", "self", "super", "up_proj" ]
glm_ocr/modeling_glm_ocr.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" ]
glm_ocr/modeling_glm_ocr.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",...
glm_ocr/modeling_glm_ocr.py:rotate_half_llm
[ 0.000022452899429481477, 0.015553255565464497, 0.027161845937371254, 0.008058389648795128, 0.0004789952072314918, 0.042376987636089325, 0.01098871324211359, -0.016905713826417923, 0.014538913033902645, 0.025696683675050735, 0.011439532041549683, -0.008227447047829628, 0.0007889332482591271, ...
[ "Model_half_llm", "def", "dim", "flatten", "return", "stack", "torch", "x", "x1", "x2" ]
glm_ocr/modeling_glm_ocr.py:apply_rotary_pos_emb
[ -0.0001365561329293996, 0.030191319063305855, 0.020089711993932724, -0.006611444987356663, -0.000681007222738117, 0.023267745971679688, 0.039271414279937744, -0.0007483985391445458, 0.01123661920428276, 0.03268834576010704, 0.008399088867008686, 0.007235701661556959, -0.000320995575748384, ...
[ "Model_rotary_pos_emb", "cat", "cos", "def", "dim", "k", "k_embed", "k_pass", "k_rot", "q", "q_embed", "q_pass", "q_rot", "repeat_interleave", "return", "rotary_dim", "rotate_half_llm", "shape", "sin", "torch", "unsqueeze", "unsqueeze_dim" ]
glm_ocr/modeling_glm_ocr.py:GlmOcrTextAttention
[ -0.000033939060813281685, 0.03565046563744545, 0.03677155077457428, -0.011210838332772255, -0.00019443797646090388, 0.024775952100753784, 0.03901371732354164, -0.016367824748158455, -0.00045544031308963895, 0.007230990566313267, 0.02421541139483452, 0.03318408131599426, -0.002718628384172916...
[ "ALL_ATTENTION_FUNCTIONS", "Linear", "ModelTextAttention", "Module", "None", "Tensor", "True", "_", "__init__", "_attn_implementation", "apply_rotary_pos_emb", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_weights", "bsz", "class", "config", ...
glm_ocr/modeling_glm_ocr.py:GlmOcrTextMLP
[ -0.00033322133822366595, 0.01281900703907013, 0.03216405585408211, 0.016315100714564323, -0.0013765865005552769, 0.046148426830768585, 0.02423957735300064, -0.027036450803279877, -0.004632323049008846, -0.008099282160401344, 0.04381769523024559, -0.034261710941791534, -0.0005826821434311569,...
[ "ACT2FN", "Linear", "ModelTextMLP", "Module", "__init__", "activation_fn", "chunk", "class", "config", "def", "dim", "down_proj", "forward", "gate", "gate_up_proj", "hidden_act", "hidden_size", "hidden_states", "intermediate_size", "nn", "return", "self", "super", "up_s...
glm_ocr/modeling_glm_ocr.py:GlmOcrTextDecoderLayer
[ -0.00010807895887410268, 0.045850180089473724, 0.01648799702525139, 0.00403730059042573, -0.0005540701095014811, 0.03862256556749344, 0.031846676021814346, -0.038170840591192245, 0.009090984240174294, -0.006126532796770334, 0.01439876388758421, 0.03862256556749344, -0.002526841824874282, 0...
[ "False", "GradientCheckpointingLayer", "ModelRMSNorm", "ModelTextAttention", "ModelTextDecoderLayer", "ModelTextMLP", "None", "Tensor", "_", "__init__", "attention_mask", "auto_docstring", "class", "config", "def", "eps", "forward", "hidden_size", "hidden_states", "input_layern...
glm_ocr/modeling_glm_ocr.py:GlmOcrVisionRotaryEmbedding
[ -0.00023654653341509402, 0.038076821714639664, 0.006250562611967325, -0.005247032269835472, -0.0013475983869284391, 0.04518755525350571, 0.06973104923963547, -0.008142935112118721, 0.0040714675560593605, 0.02179095335304737, -0.0051323426887393, 0.0033403236884623766, -0.0018350275931879878,...
[ "False", "ModelVisionRotaryEmbedding", "Module", "Tensor", "__init__", "arange", "class", "def", "dim", "dtype", "flatten", "float", "forward", "inv_freq", "nn", "persistent", "position_ids", "register_buffer", "return", "self", "super", "theta", "torch", "unsqueeze" ]
glm_ocr/modeling_glm_ocr.py:GlmOcrPreTrainedModel
[ -0.0003474671975709498, 0.048900093883275986, 0.008382873609662056, 0.011177164502441883, -0.0017391551518812776, 0.031901489943265915, 0.025963621214032173, -0.03120291791856289, -0.003129023825749755, 0.015601458959281445, 0.007189478259533644, -0.00544304633513093, -0.00503554567694664, ...
[ "ModelConfig", "ModelPreTrainedModel", "ModelTextDecoderLayer", "ModelVisionBlock", "ModelVisionRotaryEmbedding", "PreTrainedModel", "True", "_can_compile_fullgraph", "_init_weights", "_keys_to_ignore_on_load_unexpected", "_no_split_modules", "_skip_keys_device_placement", "_supports_attenti...
glm_ocr/modeling_glm_ocr.py:GlmOcrModelOutputWithPast
[ -0.0001941061345860362, 0.017829008400440216, 0.00724662933498621, 0.006383934989571571, -0.0010424219071865082, 0.06993572413921356, 0.05728287622332573, -0.025420714169740677, 0.012250253930687904, 0.0007225061999633908, 0.023350249975919724, 0.023235224187374115, -0.0014593906234949827, ...
[ "BaseModelOutputWithPast", "ModelModelOutputWithPast", "None", "class", "r", "rope_deltas" ]
glm_ocr/modeling_glm_ocr.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" ]
glm_ocr/modeling_glm_ocr.py:apply_rotary_pos_emb_vision
[ -0.00007571609603473917, 0.03604617714881897, 0.01870320551097393, -0.0019269968615844846, -0.0004640378465410322, 0.016662854701280594, 0.060303665697574615, -0.009918365627527237, 0.016549501568078995, 0.0467013344168663, 0.009238249622285366, 0.019610026851296425, 0.001409824937582016, ...
[ "Model_rotary_pos_emb_vision", "cos", "def", "dtype", "float", "k", "k_embed", "orig_q_dtype", "q", "q_embed", "return", "rotate_half", "sin", "unsqueeze" ]
glm_ocr/modeling_glm_ocr.py:GlmOcrVisionAttention
[ -0.00008429665467701852, 0.04361182451248169, 0.01988518424332142, 0.03412116691470146, -0.00040956700104288757, 0.02429156005382538, 0.034347135573625565, -0.031409554183483124, 0.008417308330535889, 0.03999633714556694, 0.035928912460803986, 0.035251010209321976, 0.0021184501238167286, -...
[ "ALL_ATTENTION_FUNCTIONS", "False", "Linear", "ModelRMSNorm", "ModelVisionAttention", "Module", "None", "Tensor", "_", "__init__", "_attn_implementation", "apply_rotary_pos_emb_vision", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_outputs", "ca...
glm_ocr/modeling_glm_ocr.py:GlmOcrVisionBlock
[ -0.00017303139611613005, 0.014424607157707214, 0.00897278729826212, 0.022943075746297836, -0.00019698958203662187, 0.04588615149259567, 0.02930353209376335, -0.03407387435436249, 0.01181227620691061, 0.026804780587553978, 0.03066648729145527, 0.023738132789731026, 0.003222820581868291, -0....
[ "GradientCheckpointingLayer", "ModelRMSNorm", "ModelVisionAttention", "ModelVisionBlock", "ModelVisionMlp", "None", "Tensor", "__init__", "attn", "auto_docstring", "class", "config", "cu_seqlens", "def", "eps", "forward", "hidden_size", "hidden_states", "kwargs", "mlp", "norm...
glm_ocr/modeling_glm_ocr.py:GlmOcrVisionPatchMerger
[ -0.00019818021974060684, 0.015514679253101349, 0.013759369030594826, 0.019138546660542488, -0.0004989894805476069, 0.022762414067983627, 0.027065755799412727, -0.019138546660542488, 0, 0.0019959579221904278, 0.006143586710095406, -0.0009272003080695868, -0.0031708835158497095, 0.0056622917...
[ "ACT2FN", "GELU", "LayerNorm", "Linear", "ModelVisionPatchMerger", "Module", "__init__", "act1", "act_fn", "class", "context_dim", "def", "dim", "down_proj", "forward", "gate_proj", "hidden_act", "hidden_state", "nn", "post_projection_norm", "proj", "return", "self", "s...
glm_ocr/modeling_glm_ocr.py:GlmOcrVisionPatchEmbed
[ -0.00006804292206652462, 0.011069484986364841, 0.010282821953296661, 0.008259971626102924, -0.00019315409008413553, 0.009327586740255356, 0.02685895375907421, -0.03191607818007469, 0.014159951359033585, -0.0009271396556869149, 0.008878064341843128, -0.0011238056467846036, -0.0016154706245288...
[ "Conv3d", "ModelVisionPatchEmbed", "Module", "__init__", "class", "config", "def", "dtype", "embed_dim", "forward", "hidden_size", "hidden_states", "in_channels", "kernel_size", "nn", "patch_size", "proj", "return", "self", "stride", "super", "target_dtype", "temporal_pat...
glm_ocr/modeling_glm_ocr.py:GlmOcrVisionModel
[ -0.0001321189192822203, 0.040318142622709274, -0.017919175326824188, 0.023518918082118034, -0.0004094811447430402, 0.036958299577236176, 0.035838350653648376, -0.04166208207607269, 0.005767734721302986, 0.022510964423418045, 0.023742906749248505, 0.01444733515381813, -0.0003709829179570079, ...
[ "BaseModelOutputWithPooling", "Conv2d", "False", "FutureWarning", "ModelPreTrainedModel", "ModelRMSNorm", "ModelVisionAttention", "ModelVisionBlock", "ModelVisionConfig", "ModelVisionModel", "ModelVisionPatchEmbed", "ModelVisionPatchMerger", "ModelVisionRotaryEmbedding", "ModuleList", "U...
glm_ocr/modeling_glm_ocr.py:GlmOcrTextRotaryEmbedding
[ -0.00042103437590412796, 0.04534558951854706, 0.0025818494614213705, -0.020892208442091942, -0.001914129825308919, 0.051518287509679794, 0.0339498370885849, -0.012523454613983631, -0.008190695196390152, 0.03110090084373951, 0.010208692401647568, -0.004035994876176119, -0.0012909247307106853,...
[ "False", "ModelTextRotaryEmbedding", "Module", "None", "ROPE_INIT_FUNCTIONS", "Tensor", "__init__", "and", "apply_mrope", "arange", "attention_factor", "attention_scaling", "base", "cat", "chunk", "chunks", "class", "clone", "compute_default_rope_parameters", "config", "cos",...
glm_ocr/modeling_glm_ocr.py:GlmOcrTextModel
[ -0.000056842782214516774, 0.04858046770095825, 0.009794448502361774, -0.011697370558977127, -0.0005806708941236138, 0.02518572472035885, 0.042759764939546585, -0.027424456551671028, 0.00839524157345295, 0.002728453604504466, 0.017462102696299553, 0.012368990108370781, -0.003917779307812452, ...
[ "BaseModelOutputWithPast", "DynamicCache", "Embedding", "False", "ModelPreTrainedModel", "ModelRMSNorm", "ModelTextAttention", "ModelTextConfig", "ModelTextDecoderLayer", "ModelTextModel", "ModelTextRotaryEmbedding", "ModuleList", "None", "ValueError", "You", "__init__", "_can_record...
glm_ocr/modeling_glm_ocr.py:GlmOcrModel
[ -0.00005909576793783344, 0.04280810058116913, -0.01916278712451458, -0.004090302623808384, -0.00010111942538060248, 0.057824552059173584, 0.03137766569852829, -0.05199727416038513, 0.010197740979492664, 0.028912276029586792, 0.03698081895709038, 0.02174023911356926, 0.0013167413417249918, ...
[ "False", "H_grid", "Image", "M", "ModelModel", "ModelModelOutputWithPast", "ModelPreTrainedModel", "ModelTextDecoderLayer", "ModelTextModel", "ModelVisionBlock", "ModelVisionModel", "Multimodal", "None", "Please", "RoPE", "T_grid", "Tensor", "True", "ValueError", "Video", "W_...
glm_ocr/modeling_glm_ocr.py:GlmOcrCausalLMOutputWithPast
[ -0.00028211696189828217, 0.022714966908097267, 0.00961017794907093, 0.003625658107921481, -0.0015434528468176723, 0.05731160566210747, 0.051720231771469116, -0.028655802831053734, 0.01304654497653246, 0.010425587184727192, 0.01560925878584385, 0.02143360860645771, -0.001863792072981596, 0....
[ "CausalLMOutputWithPast", "ModelCausalLMOutputWithPast", "None", "class", "r", "rope_deltas" ]
glm_ocr/modeling_glm_ocr.py:GlmOcrForConditionalGeneration
[ -0.0003244820691179484, 0.030807966366410255, -0.007359681185334921, 0.011866772547364235, -0.0010839840397238731, 0.045185018330812454, 0.0351439043879509, -0.05522613227367401, 0.00022999003704171628, 0.01026932243257761, 0.038338802754879, 0.005961912218481302, 0.0012979282764717937, -0...
[ "False", "GenerationMixin", "Linear", "ModelCausalLMOutputWithPast", "ModelForConditionalGeneration", "ModelModel", "ModelPreTrainedModel", "None", "Tensor", "__init__", "_expand_dict_for_generation", "_expand_dict_for_generation_visual", "_expand_inputs_for_generation", "_get_image_nums_a...
exaone4_5/modeling_exaone4_5.py:Exaone4_5_PatchEmbed
[ -0.00011458333028713241, 0.015005127526819706, 0.009758974425494671, -0.005584615282714367, -0.0004900640924461186, 0.00925128161907196, 0.02188717946410179, -0.030010255053639412, 0.012410256080329418, -0.007051281630992889, -0.0031307691242545843, -0.0036384614650160074, -0.003299999982118...
[ "Conv3d", "ModelPatchEmbed", "Module", "__init__", "class", "def", "dtype", "embed_dim", "forward", "hidden_states", "in_channels", "int", "kernel_size", "nn", "patch_size", "proj", "return", "self", "stride", "super", "target_dtype", "temporal_patch_size", "view", "wei...
exaone4_5/modeling_exaone4_5.py:Exaone4_5_VisionRotaryEmbedding
[ -0.00023654653341509402, 0.038076821714639664, 0.006250562611967325, -0.005247032269835472, -0.0013475983869284391, 0.04518755525350571, 0.06973104923963547, -0.008142935112118721, 0.0040714675560593605, 0.02179095335304737, -0.0051323426887393, 0.0033403236884623766, -0.0018350275931879878,...
[ "False", "ModelVisionRotaryEmbedding", "Module", "Tensor", "__init__", "arange", "class", "def", "dim", "dtype", "flatten", "float", "forward", "inv_freq", "nn", "persistent", "position_ids", "register_buffer", "return", "self", "super", "theta", "torch", "unsqueeze" ]
exaone4_5/modeling_exaone4_5.py:Exaone4_5_RMSNorm
[ -0.00010937952902168036, 0.04177592322230339, 0.032291658222675323, 0.04855039715766907, -0.0003740074171219021, 0.03861450031399727, 0.024952644482254982, -0.030033500865101814, 0.008581000380218029, 0.042001739144325256, 0.0195330660790205, 0.005617167800664902, 0.002427519764751196, 0.0...
[ "ModelRMSNorm", "Module", "Parameter", "True", "__init__", "class", "def", "dtype", "eps", "extra_repr", "f", "float32", "forward", "hidden_size", "hidden_states", "input_dtype", "keepdim", "mean", "nn", "ones", "pow", "return", "rsqrt", "self", "shape", "super", ...
exaone4_5/modeling_exaone4_5.py:Exaone4_5_PatchMerger
[ -0.00021970111993141472, 0.02063773199915886, 0.005896494723856449, 0.009978683665394783, -0.0004960992955602705, 0.03356466069817543, 0.011055927723646164, -0.03243071958422661, 0.004649159032851458, 0.000985111459158361, 0.012246565893292427, 0.014174265787005424, -0.001041808514855802, ...
[ "GELU", "Linear", "ModelPatchMerger", "ModelRMSNorm", "Module", "Sequential", "__init__", "class", "context_dim", "def", "dim", "eps", "forward", "hidden_size", "ln_q", "mlp", "nn", "return", "self", "spatial_merge_size", "super", "view", "x" ]
exaone4_5/modeling_exaone4_5.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" ]
exaone4_5/modeling_exaone4_5.py:apply_rotary_pos_emb_vision
[ -0.00007571609603473917, 0.03604617714881897, 0.01870320551097393, -0.0019269968615844846, -0.0004640378465410322, 0.016662854701280594, 0.060303665697574615, -0.009918365627527237, 0.016549501568078995, 0.0467013344168663, 0.009238249622285366, 0.019610026851296425, 0.001409824937582016, ...
[ "Model_rotary_pos_emb_vision", "cos", "def", "dtype", "float", "k", "k_embed", "orig_q_dtype", "q", "q_embed", "return", "rotate_half", "sin", "unsqueeze" ]
exaone4_5/modeling_exaone4_5.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" ]
exaone4_5/modeling_exaone4_5.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",...
exaone4_5/modeling_exaone4_5.py:Exaone4_5_VisionAttention
[ -0.0001777557481545955, 0.0348648875951767, 0.020035991445183754, 0.01924360729753971, -0.0005058521637693048, 0.022752735763788223, 0.03848721459507942, -0.03192174807190895, 0.0064522684551775455, 0.03169535472989082, 0.031016167253255844, 0.026601457968354225, 0.0006508867372758687, -0....
[ "ALL_ATTENTION_FUNCTIONS", "False", "Linear", "ModelVisionAttention", "Module", "None", "Tensor", "_", "__init__", "_attn_implementation", "apply_rotary_pos_emb_vision", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_outputs", "cat", "class", "...
exaone4_5/modeling_exaone4_5.py:Exaone4_5_MLP
[ -0.00022323380107991397, 0.019967321306467056, 0.02868868038058281, 0.02100011520087719, -0.0008570743375457823, 0.04934453219175339, 0.03121328540146351, -0.011704981327056885, -0.002237717155367136, -0.0030123114120215178, 0.033278871327638626, -0.04980355128645897, -0.0016352548263967037,...
[ "ACT2FN", "Linear", "ModelMLP", "Module", "__init__", "act_fn", "class", "config", "def", "down_proj", "forward", "gate_proj", "hidden_act", "hidden_size", "hidden_state", "intermediate_size", "nn", "return", "self", "super", "up_proj" ]
exaone4_5/modeling_exaone4_5.py:Exaone4_5_VisionBlock
[ -0.00019617585348896682, 0.017384199425578117, 0.012441632337868214, 0.021701842546463013, -0.0002964829618576914, 0.043403685092926025, 0.029996264725923538, -0.031132487580180168, 0.009998754598200321, 0.021474597975611687, 0.02704208716750145, 0.0242015328258276, 0.002797947032377124, -...
[ "GradientCheckpointingLayer", "ModelMLP", "ModelRMSNorm", "ModelVisionAttention", "ModelVisionBlock", "None", "Tensor", "__init__", "attn", "attn_implementation", "auto_docstring", "class", "config", "cu_seqlens", "def", "eps", "forward", "hidden_size", "hidden_states", "kwargs...
exaone4_5/modeling_exaone4_5.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" ]
exaone4_5/modeling_exaone4_5.py:Exaone4_5_Attention
[ -0.00005853179027326405, 0.03154555335640907, 0.028165673837065697, 0.005999288521707058, -0.0002992602821905166, 0.038305316120386124, 0.041009221225976944, -0.013012540526688099, 0.005407809279859066, 0.011942245066165924, 0.02444780431687832, 0.03605206310749054, -0.0004277661500964314, ...
[ "ALL_ATTENTION_FUNCTIONS", "Linear", "ModelAttention", "ModelRMSNorm", "Module", "None", "Tensor", "True", "__init__", "_attn_implementation", "apply_rotary_pos_emb", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_weights", "class", "config", "...
exaone4_5/modeling_exaone4_5.py:Exaone4_5_DecoderLayer
[ -0.0001759473525453359, 0.04798499867320061, 0.013976763002574444, -0.0013156264321878552, -0.0007533022435382009, 0.03961025923490524, 0.045268867164850235, -0.03236724063754082, 0.0072996048256754875, -0.006054711062461138, -0.0013014799915254116, 0.02829304151237011, -0.000216618602280505...
[ "False", "GradientCheckpointingLayer", "ModelAttention", "ModelDecoderLayer", "ModelMLP", "ModelRMSNorm", "None", "Tensor", "_", "__init__", "attention_mask", "class", "config", "def", "eps", "forward", "hidden_size", "hidden_states", "kwargs", "layer_idx", "mlp", "past_key...
exaone4_5/modeling_exaone4_5.py:Exaone4_5_PreTrainedModel
[ -0.00039648974779993296, 0.043734461069107056, 0.007951720617711544, 0.025726154446601868, -0.0016517360927537084, 0.037887610495090485, 0.02888345532119274, -0.007659377995878458, -0.007542440667748451, 0.006490007042884827, 0.004999059718102217, -0.007893252186477184, -0.004034328740090132...
[ "Exaone4DecoderLayer", "ModelAttention", "ModelConfig", "ModelDecoderLayer", "ModelPreTrainedModel", "ModelVisionBlock", "ModelVisionRotaryEmbedding", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outputs", "_init_weights", "_keys_to_ignore_on_load_unexpected", "_no_spl...
exaone4_5/modeling_exaone4_5.py:Exaone4_5_VisionModel
[ -0.0000723759294487536, 0.03125244751572609, -0.022769641131162643, 0.021541867405176163, -0.00020579180272761732, 0.033484768122434616, 0.0408514142036438, -0.03303830325603485, 0.0033903326839208603, 0.02198833040893078, 0.022658025845885277, 0.02165348269045353, -0.0016114544123411179, ...
[ "BaseModelOutputWithPooling", "False", "FutureWarning", "ModelPatchEmbed", "ModelPatchMerger", "ModelPreTrainedModel", "ModelVisionAttention", "ModelVisionBlock", "ModelVisionConfig", "ModelVisionModel", "ModelVisionRotaryEmbedding", "ModuleList", "Use", "_", "__class__", "__init__", ...