identifier
stringlengths
24
117
embedding
listlengths
2.56k
2.56k
tokens
listlengths
4
444
videomt/modeling_videomt.py:eager_attention_forward
[ 0.000041531115130055696, 0.03166968375444412, 0.025335747748613358, -0.010858177207410336, 0.00008880589302862063, 0.035741500556468964, 0.0592675507068634, -0.02182946167886257, 0.02262120321393013, 0.011593366973102093, 0.024204688146710396, 0.03144347295165062, 0.002544885268434882, -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", "...
videomt/modeling_videomt.py:VideomtAttention
[ -0.00008971013448899612, 0.036249931901693344, 0.04052787274122238, -0.00027792551554739475, -0.00019085391249973327, 0.02600538544356823, 0.043229732662439346, -0.004390519578009844, 0.0029129409231245518, 0.021952597424387932, 0.019475894048810005, 0.011764341033995152, -0.0028425799682736...
[ "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", ...
videomt/modeling_videomt.py:VideomtSwiGLUFFN
[ -0.00014908294542692602, 0.03339457884430885, 0.007553535513579845, 0.014993484131991863, -0.0002928414905909449, 0.0265793576836586, 0.03362175077199936, -0.027601640671491623, 0.003890354884788394, -0.003890354884788394, 0.03135001286864281, -0.018401093780994415, 0.0020871611777693033, ...
[ "Linear", "ModelSwiGLUFFN", "Module", "__init__", "chunk", "class", "config", "def", "dim", "forward", "functional", "hidden", "hidden_features", "hidden_size", "hidden_state", "in_features", "int", "mlp_ratio", "nn", "out_features", "return", "self", "silu", "super", ...
videomt/modeling_videomt.py:VideomtDropPath
[ 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", ...
videomt/modeling_videomt.py:VideomtLayer
[ 0, 0.02233736962080002, 0.02110264077782631, 0.010944188572466373, 0.00029114348581060767, 0.04759318754076958, 0.008867599070072174, -0.002230930607765913, 0.0038725589402019978, 0.006257830653339624, 0.020765895023941994, 0.001122480840422213, 0.001824031351134181, -0.00290441932156682, ...
[ "GradientCheckpointingLayer", "Identity", "LayerNorm", "ModelAttention", "ModelDropPath", "ModelLayer", "ModelLayerScale", "ModelMLP", "ModelSwiGLUFFN", "None", "_", "__init__", "attention", "attention_mask", "class", "config", "def", "drop_path", "drop_path_rate", "else", "e...
videomt/modeling_videomt.py:VideomtLayerScale
[ -0.000023226379198604263, 0.023110684007406235, 0.023671623319387436, 0.02120349183678627, -0.00019808157230727375, 0.03253445774316788, 0.030963830649852753, -0.018959736451506615, 0.005581342615187168, 0.03365633636713028, 0.0025242252741008997, -0.027149444445967674, 0.0016687933821231127...
[ "ModelLayerScale", "Module", "Parameter", "__init__", "class", "config", "def", "forward", "hidden_size", "hidden_state", "lambda1", "layerscale_value", "nn", "ones", "return", "self", "super", "torch" ]
videomt/modeling_videomt.py:VideomtForUniversalSegmentationOutput
[ -0.0002681754995137453, 0.04073407128453255, -0.005492234602570534, 0.016133438795804977, -0.00114421546459198, 0.05126085504889488, 0.04279366135597229, -0.014188271947205067, 0.012471948750317097, -0.011442155577242374, 0.02391410432755947, 0.02231220342218876, -0.004977337550371885, -0....
[ "ModelForUniversalSegmentationOutput", "ModelOutput", "None", "attentions", "class", "class_queries_logits", "hidden_states", "last_hidden_state", "loss", "masks_queries_logits", "r" ]
videomt/modeling_videomt.py:sample_point
[ -0.00004477175752981566, 0.006489270832389593, -0.01921498402953148, -0.010000781156122684, -0.00009524971392238513, 0.02337261289358139, 0.05753258615732193, -0.029889974743127823, 0.01118064858019352, 0.005140851251780987, 0.0036519707646220922, 0.00022122514201328158, 0.00139758107252419,...
[ "False", "Model_point", "True", "add_dim", "def", "dim", "functional", "grid_Model", "if", "input_features", "kwargs", "nn", "point_coordinates", "point_features", "return", "squeeze", "torch", "unsqueeze" ]
videomt/modeling_videomt.py:pair_wise_dice_loss
[ 0.00008515366062056273, 0.030339282006025314, 0.015394376590847969, -0.003356985514983535, 0.0007268786430358887, 0.03595766797661781, 0.001713607576675713, 0.00418569752946496, 0.023821955546736717, -0.009663623757660389, 0.03348558023571968, -0.020001452416181564, 0.0021630784031003714, ...
[ "Model_wise_dice_loss", "None", "T", "def", "denominator", "flatten", "inputs", "labels", "loss", "matmul", "numerator", "return", "sigmoid", "sum", "torch" ]
videomt/modeling_videomt.py:pair_wise_sigmoid_cross_entropy_loss
[ -0.000021200899936957285, 0.02439546026289463, 0.038495589047670364, 0.0009651873842813075, 0.00009048631181940436, 0.041181325912475586, 0.012085824273526669, 0.032005053013563156, 0.017121585085988045, -0.009232226759195328, 0.03558603674173355, -0.022157344967126846, 0.0020562687423080206...
[ "BCEWithLogitsLoss", "Model_wise_sigmoid_cross_entropy_loss", "T", "criterion", "cross_entropy_loss_neg", "cross_entropy_loss_pos", "def", "height_and_width", "inputs", "labels", "loss", "loss_neg", "loss_pos", "matmul", "nn", "none", "ones_like", "r", "reduction", "return", ...
videomt/modeling_videomt.py:VideomtHungarianMatcher
[ -0.00016744773893151432, 0.0107727637514472, 0.012960981577634811, -0.01537363138049841, -0.00041029081330634654, 0.030073964968323708, 0.029625099152326584, -0.03433818370103836, 0.011502169072628021, 0.006873247679322958, 0.012175466865301132, 0.00785514060407877, -0.0040678405202925205, ...
[ "All", "False", "ModelHungarianMatcher", "Module", "None", "ValueError", "__init__", "align_corners", "and", "append", "as_tensor", "assigned_indices", "batch_size", "be", "can", "class", "class_labels", "class_queries_logits", "cost_class", "cost_dice", "cost_mask", "cost_...
videomt/modeling_videomt.py:dice_loss
[ 0.0000644981992081739, 0.03257070854306221, 0.04207049682736397, -0.012722932733595371, 0.00027566353674046695, 0.06695090234279633, -0.0030676405876874924, 0.0076903062872588634, 0.02284473367035389, -0.004862987902015448, 0.03211833909153938, -0.013966953381896019, 0.0039299726486206055, ...
[ "Model_loss", "def", "denominator", "flatten", "inputs", "labels", "loss", "num_masks", "numerator", "probs", "r", "return", "sigmoid", "sum" ]
videomt/modeling_videomt.py:sigmoid_cross_entropy_loss
[ 0.00011913910566363484, 0.03319075331091881, 0.048664819449186325, -0.002915404038503766, 0.00025404663756489754, 0.054719891399145126, 0.0018221274949610233, 0.024108149111270905, 0.01738029345870018, -0.004513269755989313, 0.030723873525857925, -0.013736038468778133, 0.0022566348779946566,...
[ "BCEWithLogitsLoss", "Model_cross_entropy_loss", "criterion", "cross_entropy_loss", "def", "inputs", "labels", "loss", "mean", "nn", "none", "num_masks", "r", "reduction", "return", "sum" ]
videomt/modeling_videomt.py:VideomtLoss
[ -0.0001019366318359971, 0.036578696221113205, 0.0051578194834291935, -0.008587072603404522, -0.0003275912313256413, 0.0441620871424675, 0.0013243049615994096, 0.015055256895720959, 0.00591058237478137, -0.00027183102793060243, 0.004042615182697773, 0.017620226368308067, -0.003303792327642441...
[ "CrossEntropyLoss", "False", "ModelHungarianMatcher", "ModelLoss", "Module", "None", "PartialState", "Tensor", "_", "__init__", "_get_predictions_permutation_indices", "_get_targets_permutation_indices", "_max_by_axis", "_pad_images_to_max_in_batch", "_shared_state", "abs", "align_co...
videomt/modeling_videomt.py:VideomtPreTrainedModel
[ -0.00019671785412356257, 0.055553827434778214, -0.015807999297976494, 0.008694400079548359, -0.0007480571512132883, 0.029583541676402092, 0.03364845737814903, -0.03364845737814903, 0.0010938571067526937, 0.009146057069301605, 0.017275884747505188, -0.008016914129257202, -0.003316857153549790...
[ "Conv2d", "ConvTranspose2d", "Embedding", "False", "Linear", "Model", "ModelAttention", "ModelConfig", "ModelEmbeddings", "ModelForUniversalSegmentation", "ModelLayer", "ModelLayerScale", "ModelLoss", "ModelPreTrainedModel", "None", "PreTrainedModel", "True", "_", "_calculate_fan...
videomt/modeling_videomt.py:VideomtLayerNorm2d
[ 0.000021402438505901955, 0.029671024531126022, 0.032593172043561935, 0.03529053553938866, 0.000273951212875545, 0.025287805125117302, 0.006040975451469421, -0.035964880138635635, 0.020117854699492455, 0.046529561281204224, 0.015060292556881905, 0.00660292711108923, 0.0015313171315938234, 0...
[ "F", "LayerNorm", "ModelLayerNorm2d", "True", "__init__", "affine", "bias", "class", "def", "elementwise_affine", "eps", "forward", "hidden_state", "layer_norm", "nn", "normalized_shape", "num_channels", "permute", "return", "self", "super", "weight" ]
videomt/modeling_videomt.py:VideomtScaleLayer
[ -0.00011256355355726555, 0.0221750196069479, 0.023863473907113075, -0.0044744014739990234, -0.0003851784276776016, 0.033769067376852036, 0.02375091053545475, -0.05448076128959656, 0.014633262529969215, 0.03511982783675194, 0.016771970316767693, 0.006894517689943314, 0.0023638347629457712, ...
[ "ACT2FN", "Conv2d", "ConvTranspose2d", "ModelLayerNorm2d", "ModelScaleLayer", "Module", "__init__", "activation", "class", "config", "conv1", "conv2", "def", "forward", "groups", "hidden_act", "hidden_size", "hidden_states", "kernel_size", "layernorm2d", "nn", "padding", ...
videomt/modeling_videomt.py:VideomtScaleBlock
[ -0.00011292663839412853, -0.019423382356762886, 0.0023996911477297544, 0.022924106568098068, -0.00019321042054798454, 0.03816920518875122, 0.02360166795551777, -0.04901016131043434, 0.007029683329164982, 0.0033736831974238157, 0.015019242651760578, -0.03636237606406212, 0.0006705019040964544...
[ "ModelScaleBlock", "ModelScaleLayer", "Module", "ModuleList", "_", "__init__", "block", "class", "config", "def", "for", "forward", "hidden_states", "in", "nn", "num_blocks", "num_upscale_blocks", "range", "return", "self", "super" ]
videomt/modeling_videomt.py:VideomtMaskHead
[ -0.00013907828542869538, 0.015307470224797726, 0.03991280868649483, -0.014627138152718544, -0.0006909621879458427, 0.04580901935696602, 0.028460554778575897, -0.0371914841234684, 0.009071093052625656, -0.005272572860121727, 0.02063673734664917, 0.005045795813202858, 0.0013039696495980024, ...
[ "ACT2FN", "Linear", "ModelMaskHead", "Module", "__init__", "activation", "class", "config", "def", "fc1", "fc2", "fc3", "forward", "hidden_act", "hidden_size", "hidden_states", "nn", "return", "self", "super" ]
videomt/modeling_videomt.py:VideomtForUniversalSegmentation
[ -0.0002546618052292615, 0.04572594165802002, -0.028974855318665504, 0.025805730372667313, -0.0007286157342605293, 0.039614059031009674, 0.02965395338833332, -0.04708413779735565, -0.0017118932446464896, 0.006026996299624443, 0.02829575724899769, 0.005772334523499012, -0.004499025177210569, ...
[ "Embedding", "EomtForUniversalSegmentation", "Flatten", "LayerNorm", "Linear", "ModelEmbeddings", "ModelForUniversalSegmentation", "ModelForUniversalSegmentationOutput", "ModelLayer", "ModelLoss", "ModelMaskHead", "ModelPreTrainedModel", "ModelScaleBlock", "ModuleList", "None", "Tensor...
sew_d/modeling_sew_d.py:_compute_mask_indices
[ 0, -0.009242817759513855, 0.007450271397829056, -0.013836218044161797, 0, 0.02363920584321022, -0.0003973711282014847, -0.051983848214149475, 0.013444098643958569, -0.020054113119840622, 0.04100450128316879, 0.03024922125041485, -0.006217895541340113, -0.011875620111823082, 0.00548967346...
[ "False", "None", "ValueError", "_", "_compute_mask_indices", "and", "append", "arange", "array", "attention_mask", "batch_size", "be", "bigger", "bool", "broadcast_to", "but", "choice", "compute_num_masked_span", "concatenate", "def", "detach", "dtype", "dummy_mask_idx", ...
sew_d/modeling_sew_d.py:make_log_bucket_position
[ -0.000238738430198282, -0.04378534108400345, -0.007041002158075571, -0.03283900395035744, -0.0008729987312108278, 0.03397924825549126, 0.03261095657944679, 0.0029931385070085526, 0.009863103739917278, 0.025655472651124, 0.013169809244573116, -0.009464018978178501, 0.0009264476248063147, 0....
[ "Model_log_bucket_position", "abs", "abs_pos", "bucket_pos", "bucket_size", "ceil", "def", "log", "log_pos", "max_position", "mid", "relative_pos", "return", "sign", "tensor", "torch", "type_as", "where" ]
sew_d/modeling_sew_d.py:build_relative_position
[ -0.00012505256745498627, -0.020093552768230438, 0.012373995035886765, -0.0465443879365921, -0.0003547590458765626, 0.048587799072265625, 0.04609029367566109, -0.012317233718931675, 0.021569348871707916, 0.0465443879365921, 0.011636096984148026, 0.000411520479246974, 0.003136069979518652, 0...
[ "Model_relative_position", "None", "and", "arange", "bucket_size", "def", "device", "if", "k_ids", "key_size", "long", "make_log_bucket_position", "max_position", "q_ids", "query_size", "rel_pos_ids", "return", "to", "torch", "unsqueeze" ]
sew_d/modeling_sew_d.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" ]
sew_d/modeling_sew_d.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" ]
sew_d/modeling_sew_d.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" ]
sew_d/modeling_sew_d.py:get_mask
[ -0.000139172887429595, -0.0010424669599160552, 0.01701986975967884, -0.032905079424381256, -0.0007907147519290447, 0.05355585739016533, 0.009984990581870079, -0.04629404470324516, 0.006268985103815794, 0.0019714683294296265, 0.036762919276952744, -0.0020707508083432913, 0.0003918115689884871...
[ "DropoutContext", "Model_mask", "None", "and", "bernoulli_", "bool", "def", "dropout", "else", "empty_like", "if", "input", "is", "isinstance", "local_context", "mask", "not", "return", "reuse_mask", "scale", "to", "torch" ]
sew_d/modeling_sew_d.py:SEWDNoLayerNormConvLayer
[ -0.00008774136222200468, 0.016818122938275337, 0.008860554546117783, -0.006179813761264086, 0, 0.03611946105957031, 0.032056018710136414, -0.030250048264861107, 0.012359627522528172, -0.01591513678431511, 0.032056018710136414, -0.006969926878809929, 0.0024691037833690643, -0.00750607531517...
[ "ACT2FN", "Conv1d", "GradientCheckpointingLayer", "Model", "__init__", "activation", "class", "config", "conv", "conv_dim", "conv_kernel", "conv_stride", "def", "else", "feat_extract_activation", "forward", "hidden_states", "if", "in_conv_dim", "kernel_size", "layer_id", "n...
sew_d/modeling_sew_d.py:SEWDLayerNormConvLayer
[ -0.00007887824904173613, 0.019741594791412354, 0.011224506422877312, 0.0016709849005565047, -0.00019124669779557735, 0.036098916083574295, 0.030684078112244606, -0.027074186131358147, 0.012860238552093506, -0.010491247288882732, 0.02955598756670952, 0.0022279799450188875, 0.00188955257181078...
[ "ACT2FN", "Conv1d", "GradientCheckpointingLayer", "LayerNorm", "Model", "True", "__init__", "activation", "class", "config", "conv", "conv_dim", "conv_kernel", "conv_stride", "def", "elementwise_affine", "else", "feat_extract_activation", "forward", "hidden_states", "if", "...
sew_d/modeling_sew_d.py:SEWDGroupNormConvLayer
[ -0.000066572887590155, 0.01670406199991703, 0.0027087668422609568, 0.00155189773067832, 0, 0.03814846649765968, 0.027539130300283432, -0.029570704326033592, 0.014446756802499294, -0.011004365049302578, 0.032279472798109055, -0.0015377895906567574, 0.002116224030032754, -0.01455962192267179...
[ "ACT2FN", "Conv1d", "GradientCheckpointingLayer", "GroupNorm", "Model", "True", "__init__", "activation", "affine", "class", "config", "conv", "conv_dim", "conv_kernel", "conv_stride", "def", "else", "feat_extract_activation", "forward", "hidden_states", "if", "in_conv_dim"...
sew_d/modeling_sew_d.py:SEWDPositionalConvEmbedding
[ -0.0001316718989983201, 0.03348177671432495, -0.007522088475525379, -0.004750792868435383, -0.0005125483148731291, 0.027599843218922615, 0.02986212633550167, -0.04072108119726181, 0.012272881343960762, -0.010293384082615376, 0.028278527781367302, 0, 0.004807349760085344, -0.019003171473741...
[ "ACT2FN", "Conv1d", "GatheredParameters", "Model", "ModelSamePadLayer", "Module", "__init__", "activation", "class", "config", "conv", "deepspeed", "def", "dim", "else", "feat_extract_activation", "forward", "groups", "hasattr", "hidden_size", "hidden_states", "if", "is_d...
sew_d/modeling_sew_d.py:SEWDSamePadLayer
[ -0.0001261395518667996, 0.04087274521589279, 0.03251754119992256, 0.0006633352604694664, -0.0007833002018742263, 0.013323159888386726, 0.019533107057213783, -0.039066214114427567, 0.017952393740415573, -0.011742445640265942, 0.005193774122744799, 0.004770368803292513, 0.0040929196402430534, ...
[ "Model", "Module", "__init__", "class", "def", "else", "forward", "hidden_states", "if", "nn", "num_conv_pos_embeddings", "num_pad_remove", "return", "self", "super" ]
sew_d/modeling_sew_d.py:SEWDUpsampling
[ -0.00026442253147251904, 0.01646566204726696, 0.028814909979701042, 0.01154883299022913, -0.0007932675653137267, 0.018638215959072113, 0.024012424051761627, -0.05374209210276604, 0.0013935782480984926, 0.012120557017624378, 0.0037733810022473335, -0.014864834025502205, 0.0012149143731221557,...
[ "ACT2FN", "Linear", "Model", "Module", "__init__", "activation", "bsz", "class", "config", "def", "feat_extract_activation", "forward", "hidden_size", "hidden_states", "if", "nn", "projection", "reshape", "return", "self", "size", "squeeze_factor", "src_embed_dim", "src...
sew_d/modeling_sew_d.py:SEWDFeatureEncoder
[ -0.00009159640467260033, 0.03945691138505936, -0.022321339696645737, 0.03314380720257759, 0.00019552309822756797, 0.021306732669472694, -0.004058425314724445, -0.019390253350138664, 0.007102244067937136, 0.0013316707918420434, 0.03021272085607052, -0.0011273403652012348, 0.00262106629088521,...
[ "False", "Model", "ModelGroupNormConvLayer", "ModelLayerNormConvLayer", "ModelNoLayerNormConvLayer", "Module", "ModuleList", "None", "True", "ValueError", "__init__", "_freeze_parameters", "_requires_grad", "and", "be", "but", "class", "config", "conv_layer", "conv_layers", "...
sew_d/modeling_sew_d.py:ContextPooler
[ -0.00026010212604887784, 0.0112307108938694, 0.03511735051870346, 0.012655927799642086, -0.0009192650322802365, 0.03922197222709656, 0.03648555651307106, 0.002337356097996235, -0.003106973133981228, 0.010774641297757626, 0.012370884418487549, -0.013682084158062935, -0.00035274121910333633, ...
[ "ACT2FN", "Linear", "ModelPooler", "Model_token", "Module", "StableDropout", "__init__", "class", "config", "def", "dense", "dropout", "forward", "hidden_size", "hidden_states", "nn", "output_dim", "pooled_output", "pooler_dropout", "pooler_hidden_act", "pooler_hidden_size", ...
sew_d/modeling_sew_d.py:XSoftmax
[ -0.00002270064942422323, 0.04130019620060921, 0.01692630909383297, -0.006262734532356262, -0.00019394730043131858, 0.01805473119020462, 0.005613892804831266, -0.020085887983441353, 0.01749052107334137, 0.02719493769109249, 0.022794097661972046, 0.002708209678530693, -0.0011213680263608694, ...
[ "Bool", "Cast", "Constant", "Function", "Long", "Model", "None", "Sub", "_softmax_backward_data", "autograd", "backward", "bool", "cast_pytorch_to_onnx", "class", "ctx", "def", "dim", "dtype", "finfo", "forward", "g", "grad_output", "input", "inputGrad", "int64", "m...
sew_d/modeling_sew_d.py:DropoutContext
[ -0.000052282332035247236, 0.009666422381997108, 0.006377550773322582, -0.00026990193873643875, -0.0005576781695708632, 0.05719776451587677, 0.026882948353886604, -0.061316002160310745, 0.013327078893780708, 0.007893291302025318, -0.01807449385523796, 0.00726411584764719, -0.00038608489558100...
[ "Model", "ModelContext", "None", "True", "class", "mask", "reuse_mask", "scale", "self" ]
sew_d/modeling_sew_d.py:XDropout
[ -0.0001322964089922607, 0.025288017466664314, 0.014111616648733616, -0.03206159546971321, -0.0007196924416348338, 0.025288017466664314, 0.007281594444066286, -0.030706878751516342, 0, 0.003231560345739126, 0.02573958970606327, -0.015014760196208954, -0.0024695328902453184, -0.0047979499213...
[ "DropoutContext", "Function", "Model", "None", "True", "autograd", "backward", "class", "ctx", "def", "dropout", "dropout_p", "else", "forward", "g", "get_mask", "grad_output", "if", "input", "isinstance", "local_ctx", "mask", "masked_fill", "return", "save_for_backwa...
sew_d/modeling_sew_d.py:StableDropout
[ -0.00022972097212914377, 0.007465041242539883, 0.026555031538009644, -0.02313593029975891, -0.0012465479085221887, 0.03874983265995979, 0.009630473330616951, -0.046043917536735535, -0.006838205736130476, -0.016297724097967148, 0.027922673150897026, -0.008376802317798138, -0.00226515554822981...
[ "DropoutContext", "ModelDropout", "Module", "None", "True", "XDropout", "__init__", "and", "append", "apply", "c", "class", "clear_context", "context_stack", "count", "ctx", "def", "drop_prob", "dropout", "else", "for", "forward", "get_context", "if", "in", "init_co...
sew_d/modeling_sew_d.py:SEWDSelfOutput
[ -0.00021316538914106786, 0.037217430770397186, 0.047035522758960724, 0.022376123815774918, -0.0009561225888319314, 0.048862144351005554, 0.0182662233710289, -0.016097109764814377, 0.00021405730512924492, 0.0166679285466671, 0.019407860934734344, -0.01227261871099472, 0.0025258760433644056, ...
[ "Dropout", "LayerNorm", "Linear", "Model", "Module", "__init__", "activation_dropout", "class", "config", "def", "dense", "dropout", "forward", "hidden_size", "hidden_states", "input_tensor", "layer_norm_eps", "nn", "return", "self", "super" ]
sew_d/modeling_sew_d.py:DisentangledSelfAttention
[ -0.0001452355645596981, 0.04284803569316864, 0.029472192749381065, -0.012242295779287815, -0.0009280907106585801, 0.017003187909722328, 0.018136734142899513, 0.0007863974315114319, 0.004590860567986965, 0.02221749909222126, 0.012469004839658737, 0.02006376162171364, 0.0016011334955692291, ...
[ "False", "Linear", "ModelSelfAttention", "Model_attention_bias", "Module", "None", "Relative", "StableDropout", "The", "ValueError", "XSoftmax", "__init__", "_attention_head_size", "a", "activation_dropout", "all_head_size", "apply", "att_span", "attention", "attention_dropout"...
sew_d/modeling_sew_d.py:SEWDAttention
[ -0.00005673088162438944, 0.038953445851802826, 0.02533099800348282, 0.006839369889348745, -0.00029025101684965193, 0.030172035098075867, 0.023754848167300224, -0.026006491854786873, 0.007486717309802771, 0.011539677157998085, 0.010582728311419487, 0.008274792693555355, 0.0012595135485753417,...
[ "DisentangledSelfAttention", "False", "Model", "ModelSelfOutput", "Module", "None", "__init__", "att_matrix", "attention_mask", "attention_output", "class", "config", "def", "else", "forward", "hidden_states", "if", "is", "nn", "output", "output_attentions", "query_states",...
sew_d/modeling_sew_d.py:SEWDIntermediate
[ -0.0002468329039402306, 0.023810431361198425, 0.03800510987639427, 0.019460448995232582, -0.001008795341476798, 0.031365662813186646, 0.03502880781888962, -0.019002554938197136, -0.0006474892143160105, -0.0027330482844263315, 0.02667226269841194, -0.030678825452923775, -0.0001216278033098205...
[ "ACT2FN", "Linear", "Model", "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" ]
sew_d/modeling_sew_d.py:SEWDOutput
[ -0.00033565418561920524, 0.03695805370807648, 0.04665954038500786, 0.02598613128066063, -0.0012054677354171872, 0.041115835309028625, 0.026101624593138695, -0.019056495279073715, -0.0010827553924173117, 0.009990223683416843, 0.016169147565960884, -0.008373308926820755, 0.0011116289533674717,...
[ "Dropout", "LayerNorm", "Linear", "Model", "Module", "__init__", "activation_dropout", "class", "config", "def", "dense", "dropout", "forward", "hidden_size", "hidden_states", "input_tensor", "intermediate_size", "layer_norm_eps", "nn", "return", "self", "super" ]
sew_d/modeling_sew_d.py:SEWDLayer
[ -0.00009816516103455797, 0.022312983870506287, 0.03335678577423096, 0.01155091356486082, -0.00037329172482714057, 0.04124521464109421, 0.041695982217788696, 0.0014227344654500484, 0.008733618073165417, 0.0024792205076664686, 0.009297076612710953, -0.000862796907313168, 0.0015142966294661164,...
[ "False", "GradientCheckpointingLayer", "Model", "ModelAttention", "ModelIntermediate", "ModelOutput", "None", "__init__", "att_matrix", "attention", "attention_mask", "attention_output", "class", "config", "def", "else", "forward", "hidden_states", "if", "intermediate", "inte...
sew_d/modeling_sew_d.py:ConvLayer
[ -0.00010610213939798996, 0.017018606886267662, -0.001380648580379784, -0.0044800639152526855, -0.0002007575676543638, 0.054775118827819824, 0.00526900589466095, -0.040123339742422104, 0.011326953768730164, -0.0007501993677578866, 0.026936735957860947, -0.021188728511333466, 0.001697634230367...
[ "ACT2FN", "LayerNorm", "Model", "Model1d", "ModelLayer", "Model_act", "Model_groups", "Model_kernel_size", "Module", "None", "StableDropout", "__init__", "bool", "class", "config", "contiguous", "def", "dim", "dropout", "dtype", "else", "expand", "forward", "getattr", ...
sew_d/modeling_sew_d.py:SEWDTransformerEncoder
[ -0.00006043725443305448, 0.024958379566669464, 0.01863408461213112, 0.00909117516130209, -0.0001032285945257172, 0.039075110107660294, 0.007199532818049192, -0.007905369624495506, 0.006296061910688877, 0.011575719341635704, 0.03433189168572426, 0.007623034529387951, 0.004771455191075802, 0...
[ "BaseModelOutput", "ConvLayer", "Embedding", "False", "LayerNorm", "Model", "ModelLayer", "Module", "ModuleList", "None", "Sequence", "True", "_", "__init__", "all_attentions", "all_hidden_states", "and", "att_m", "attention_mask", "attentions", "bucket_size", "build_relati...
sew_d/modeling_sew_d.py:SEWDEncoder
[ -0.0003179970080964267, 0.029833901673555374, 0.025786668062210083, 0.012893334031105042, -0.0014671225799247622, 0.035384394228458405, 0.021161256358027458, -0.020814349874854088, 0.005695037543773651, -0.011621345765888691, 0.026017937809228897, 0.00815228745341301, 0.0017200747970491648, ...
[ "AvgPool1d", "BaseModelOutput", "False", "Model", "ModelPositionalConvEmbedding", "ModelTransformerEncoder", "ModelUpsampling", "Module", "None", "True", "__init__", "attention_mask", "attentions", "bool", "class", "config", "def", "device", "dtype", "else", "encoder", "enc...
sew_d/modeling_sew_d.py:SEWDPreTrainedModel
[ -0.00011850284499814734, 0.05977459251880646, -0.01426949817687273, -0.020786277949810028, -0.0004072986776009202, 0.01786496303975582, 0.023033441975712776, -0.04516801983118057, 0.0031038967426866293, -0.022359292954206467, 0.03438162803649902, 0.031235594302415848, 0.002106717322021723, ...
[ "Conv1d", "GatheredParameters", "Model", "ModelConfig", "ModelPositionalConvEmbedding", "PreTrainedModel", "True", "_conv_out_length", "_get_feat_extract_output_lengths", "_get_feature_vector_attention_mask", "_init_weights", "and", "arange", "attention_ids", "attention_mask", "audio",...
sew_d/modeling_sew_d.py:SEWDModel
[ -0.00008935224468586966, 0.025901639834046364, 0.011100702919065952, 0.004232843406498432, -0.0002855767961591482, 0.018276914954185486, 0.023434815928339958, -0.03274146467447281, 0.008521751500666142, -0.027583563700318336, 0.026798665523529053, 0.020855864509940147, -0.00100214674603194, ...
[ "BaseModelOutput", "Dropout", "LayerNorm", "Linear", "Model", "ModelEncoder", "ModelFeatureEncoder", "ModelPreTrainedModel", "None", "Parameter", "Tensor", "True", "__init__", "_compute_mask_indices", "_get_feature_vector_attention_mask", "_mask_hidden_states", "and", "apply_spec_a...
sew_d/modeling_sew_d.py:SEWDForCTC
[ -0.0002992683439515531, 0.04197641834616661, 0.027296138927340508, -0.011813035234808922, -0.0012329139281064272, 0.03096620924770832, 0.022249793633818626, -0.049087174236774445, -0.003239982994273305, -0.024772966280579567, 0.029819311574101448, 0.0004569666343741119, -0.000924685387872159...
[ "Cannot", "CausalLMOutput", "Dropout", "False", "Linear", "Model", "ModelModel", "ModelPreTrainedModel", "None", "Please", "True", "ValueError", "You", "_HIDDEN_STATES_START_POSITION", "__class__", "__init__", "_freeze_parameters", "_get_feat_extract_output_lengths", "a", "adap...
sew_d/modeling_sew_d.py:SEWDForSequenceClassification
[ -0.0002922180574387312, 0.04012419655919075, 0.006829047575592995, 0.0283362977206707, -0.0008182105957530439, 0.01609501615166664, 0.00671570235863328, -0.002946974942460656, -0.010201066732406616, -0.004137099254876375, 0.02697615511715412, -0.00895426981151104, -0.0024652578867971897, -...
[ "CrossEntropyLoss", "False", "Linear", "Model", "ModelModel", "ModelPreTrainedModel", "None", "Parameter", "Sequence", "SequenceClassifierOutput", "True", "ValueError", "_HIDDEN_STATES_START_POSITION", "__init__", "_freeze_parameters", "_get_feature_vector_attention_mask", "adapters"...
glm/modeling_glm.py:GlmMLP
[ -0.00038281347951851785, 0.010424305684864521, 0.023911118507385254, 0.022144285961985588, -0.0016343190800398588, 0.04947127774357796, 0.02980055660009384, -0.01837504655122757, -0.0047409976832568645, -0.0007987550343386829, 0.0365145169198513, -0.050649166107177734, -0.0003791325725615024...
[ "ACT2FN", "Linear", "ModelMLP", "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_state...
glm/modeling_glm.py:GlmRotaryEmbedding
[ -0.00038819489418528974, 0.048742491751909256, 0.002928098663687706, -0.010765939019620419, -0.002144314581528306, 0.03359919413924217, 0.04282714053988457, 0.00656603928655386, -0.00703926756978035, 0.02283325418829918, -0.0004565911367535591, -0.0009982154006138444, -0.002159103052690625, ...
[ "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...
glm/modeling_glm.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/modeling_glm.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/modeling_glm.py:rotate_half
[ 0.000020890642190352082, 0.007993859238922596, 0.029498467221856117, -0.00021638307953253388, 0.00044683986925520003, 0.031750258058309555, 0.018126919865608215, -0.02184237726032734, 0.016438078135252, 0.026345958933234215, -0.004559877794235945, -0.00911975558847189, 0.00020318898896221071...
[ "Model_half", "def", "dim", "flatten", "return", "stack", "torch", "x", "x1", "x2" ]
glm/modeling_glm.py:apply_rotary_pos_emb
[ -0.00020554973161779344, 0.029385603964328766, 0.0201598908752203, -0.00837147980928421, -0.0008791477885097265, 0.02255174145102501, 0.04054757580161095, -0.0014949071919545531, 0.010136893950402737, 0.032574739307165146, 0.00478370301425457, 0.00677691213786602, -0.0005232174880802631, -...
[ "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", "shape", "sin", "torch", "unsqueeze", "unsqueeze_dim" ]
glm/modeling_glm.py:GlmAttention
[ -0.00010156377538805827, 0.03376665711402893, 0.02656310424208641, -0.0071191368624567986, -0.0005768470582552254, 0.03174065798521042, 0.04322132095694542, -0.0073723867535591125, 0.002504360396414995, 0.009961163625121117, 0.016883328557014465, 0.026112882420420647, -0.0012592149432748556,...
[ "ALL_ATTENTION_FUNCTIONS", "Linear", "ModelAttention", "Module", "None", "Tensor", "True", "__init__", "_attn_implementation", "apply_rotary_pos_emb", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_weights", "class", "config", "contiguous", "co...
glm/modeling_glm.py:GlmRMSNorm
[ -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/modeling_glm.py:GlmDecoderLayer
[ -0.00015424266166519374, 0.043547552078962326, 0.011112522333860397, 0.0025524955708533525, -0.000567612994927913, 0.03926048427820206, 0.043547552078962326, -0.03181453049182892, 0.007107501849532127, -0.004371677525341511, -0.004399882163852453, 0.02380448952317238, -0.0014948317548260093,...
[ "False", "GradientCheckpointingLayer", "ModelAttention", "ModelDecoderLayer", "ModelMLP", "ModelRMSNorm", "None", "Tensor", "_", "__init__", "attention_mask", "class", "config", "def", "eps", "forward", "hidden_size", "hidden_states", "input_layernorm", "kwargs", "layer_idx",...
glm/modeling_glm.py:GlmPreTrainedModel
[ -0.00033686848473735154, 0.02805064059793949, 0.016459466889500618, 0.011127526871860027, -0.001680720248259604, 0.02932566963136196, 0.03060069866478443, -0.03152799233794212, -0.004056910984218121, 0.0036801977548748255, 0.006664924789220095, 0.003998954780399799, -0.0042887344025075436, ...
[ "ModelAttention", "ModelConfig", "ModelDecoderLayer", "ModelPreTrainedModel", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outputs", "_no_split_modules", "_skip_keys_device_placement", "_supports_attention_backend", "_supports_flash_attn", "_supports_flex_attn", "_supp...
glm/modeling_glm.py:GlmModel
[ -0.00014654066762886941, 0.049039922654628754, -0.007344688754528761, -0.006581970956176519, -0.0008651195676065981, 0.04090426489710808, 0.04090426489710808, -0.019887156784534454, 0.012429472990334034, 0.009548095054924488, 0.015932325273752213, -0.002005665097385645, -0.001285320497117936...
[ "BaseModelOutputWithPast", "DynamicCache", "Embedding", "False", "ModelDecoderLayer", "ModelModel", "ModelPreTrainedModel", "ModelRMSNorm", "ModelRotaryEmbedding", "ModuleList", "None", "ValueError", "You", "__init__", "and", "arange", "attention_mask", "auto_docstring", "capture...
glm/modeling_glm.py:GlmForCausalLM
[ -0.00029686582274734974, 0.03799882531166077, 0.003157088067382574, -0.0005652894033119082, -0.001166131696663797, 0.02582554891705513, 0.039364054799079895, -0.00600131182000041, 0.002062062034383416, 0.03253791853785515, 0.02628062479197979, 0.0009065962512977421, 0.001095026032999158, -...
[ "CausalLMOutputWithPast", "GenerationMixin", "Linear", "ModelForCausalLM", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "_fsdp_plan", "_pp_plan", "_tied_weights_keys", "_tp_plan", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "colwise_g...
glm/modeling_glm.py:GlmForSequenceClassification
[ -0.00020226075139362365, 0.015783434733748436, -0.017940884456038475, 0.02781972475349903, -0.0007238805992528796, 0.028046824038028717, 0.0147614860907197, -0.01044659037142992, 0.002554872538894415, -0.013569212518632412, 0.028614573180675507, 0.008232367224991322, -0.0036335967015475035, ...
[ "GenericForSequenceClassification", "ModelForSequenceClassification", "ModelPreTrainedModel", "class", "pass" ]
glm/modeling_glm.py:GlmForTokenClassification
[ -0.0001748590439092368, 0.024540623649954796, -0.007157681975513697, -0.024540623649954796, -0.0008379032369703054, 0.035674795508384705, 0.034993112087249756, -0.008521050214767456, 0.0015337889781221747, -0.018746308982372284, 0.03999212756752968, 0.023631710559129715, -0.00431733205914497...
[ "GenericForTokenClassification", "ModelForTokenClassification", "ModelPreTrainedModel", "class", "pass" ]
bert/modeling_bert.py:BertEmbeddings
[ -0.0002458747767377645, 0.015621956437826157, 0.007867992855608463, -0.011117815971374512, -0.0012400640407577157, 0.03443672135472298, 0.03192808851599693, -0.017560448497533798, 0.007411877159029245, -0.012429147958755493, 0.023033834993839264, 0.026226643472909927, -0.0010191331384703517,...
[ "Dropout", "Embedding", "False", "LayerNorm", "ModelEmbeddings", "Module", "None", "__init__", "arange", "batch_size", "buffered_token_type_ids", "class", "config", "def", "device", "dim", "dropout", "dtype", "else", "embeddings", "eps", "expand", "forward", "gather", ...
bert/modeling_bert.py:eager_attention_forward
[ 0.000042139141442021355, 0.02733616903424263, 0.025528818368911743, -0.010505221784114838, 0.0002700434997677803, 0.03682475537061691, 0.06144990026950836, -0.025528818368911743, 0.020219728350639343, 0.013103287667036057, 0.02326963096857071, 0.026545453816652298, 0.0024145066272467375, -...
[ "Model_attention_forward", "None", "attention_mask", "attn_output", "attn_weights", "contiguous", "def", "dim", "dropout", "functional", "if", "is", "key", "kwargs", "matmul", "module", "nn", "not", "p", "query", "return", "scaling", "size", "softmax", "torch", "tra...
bert/modeling_bert.py:BertSelfAttention
[ -0.00005816198972752318, 0.038063306361436844, 0.039854519069194794, -0.006717054173350334, -0.0001976633066078648, 0.009963629767298698, 0.024629198014736176, -0.02664431370794773, 0.0027847785968333483, 0.031570155173540115, 0.013713985681533813, 0.0071088820695877075, -0.00020378561748657...
[ "ALL_ATTENTION_FUNCTIONS", "Dropout", "EncoderDecoderCache", "False", "Linear", "ModelSelfAttention", "Module", "None", "The", "ValueError", "__init__", "_attn_implementation", "a", "all_head_size", "and", "attention", "attention_head_size", "attention_interface", "attention_mask...
bert/modeling_bert.py:BertCrossAttention
[ -0.0002705775259528309, 0.03761565312743187, 0.05458856746554375, -0.00009676282206783071, -0.001204159576445818, 0.01743164286017418, 0.027064919471740723, -0.02844110317528248, -0.0014191881055012345, 0.026147466152906418, 0.008027730509638786, 0.015826096758246422, -0.00013170496094971895...
[ "ALL_ATTENTION_FUNCTIONS", "Dropout", "False", "Linear", "ModelCrossAttention", "Module", "None", "The", "True", "ValueError", "__init__", "_attn_implementation", "a", "all_head_size", "and", "attention", "attention_head_size", "attention_interface", "attention_mask", "attentio...
bert/modeling_bert.py:BertSelfOutput
[ -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" ]
bert/modeling_bert.py:BertAttention
[ 0.000021843554350198247, 0.036417923867702484, 0.03461951017379761, -0.004018336068838835, 0.00027924624737352133, 0.03978995606303215, 0.040464360266923904, -0.01719735376536846, 0.012532711960375309, 0.005114245694130659, 0.01967017538845539, 0.036417923867702484, 0.001369887264445424, -...
[ "False", "ModelAttention", "ModelCrossAttention", "ModelSelfAttention", "ModelSelfOutput", "Module", "None", "__init__", "attention_class", "attention_mask", "attention_output", "attn_weights", "class", "config", "def", "else", "encoder_attention_mask", "encoder_hidden_states", "...
bert/modeling_bert.py:BertIntermediate
[ -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" ]
bert/modeling_bert.py:BertOutput
[ -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...
bert/modeling_bert.py:BertLayer
[ -0.00007006718078628182, 0.02230939082801342, 0.01872195117175579, 0.0037556008901447058, -0.0001996914652409032, 0.03991026431322098, 0.022421497851610184, -0.016816122457385063, 0.004204030614346266, 0.005605374462902546, 0.006474207621067762, 0.009248867630958557, 0.002718606498092413, ...
[ "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", "...
bert/modeling_bert.py:BertEncoder
[ 0.000011502574125188403, 0.014652848243713379, 0.017132561653852463, 0.016343561932444572, -0.00019636930665001273, 0.047790829092264175, 0.019161418080329895, -0.03629397973418236, 0.010651493445038795, 0.012567635625600815, 0.011440493166446686, 0.001599133014678955, -0.000489602389279753,...
[ "BaseModelOutputWithPastAndCrossAttentions", "ModelEncoder", "ModelLayer", "Module", "ModuleList", "None", "__init__", "attention_mask", "class", "config", "def", "else", "encoder_attention_mask", "encoder_hidden_states", "enumerate", "for", "forward", "hidden_states", "i", "if...
bert/modeling_bert.py:BertPooler
[ -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" ]
bert/modeling_bert.py:BertPredictionHeadTransform
[ -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"...
bert/modeling_bert.py:BertLMPredictionHead
[ -0.00032716328860260546, 0.0356643944978714, 0.0331333726644516, 0.0186375230550766, -0.0016825541388243437, 0.0246199369430542, 0.0566028468310833, -0.02853151597082615, 0.00021840845874976367, 0.004544334020465612, 0.01944284699857235, 0.007995727472007275, -0.00027683048392646015, 0.003...
[ "Linear", "ModelLMPredictionHead", "ModelPredictionHeadTransform", "Module", "Parameter", "__init__", "bias", "class", "config", "decoder", "def", "forward", "hidden_size", "hidden_states", "nn", "return", "self", "super", "torch", "transform", "vocab_size", "zeros" ]
bert/modeling_bert.py:BertOnlyMLMHead
[ -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" ]
bert/modeling_bert.py:BertOnlyNSPHead
[ -0.000266088405624032, 0.04045972600579262, 0.03520224615931511, 0.029487596824765205, -0.001042923773638904, 0.03291638568043709, 0.027087444439530373, -0.012400791980326176, 0.0008929141331464052, 0.027544615790247917, 0.024115825071930885, -0.0017643983010202646, 0.002414439804852009, -...
[ "Linear", "ModelOnlyNSPHead", "Module", "__init__", "class", "config", "def", "forward", "hidden_size", "nn", "pooled_output", "return", "self", "seq_relationship", "seq_relationship_score", "super" ]
bert/modeling_bert.py:BertPreTrainingHeads
[ -0.00034494290594011545, 0.01358099840581417, 0.025197086855769157, 0.023116592317819595, -0.0015170264523476362, 0.04785134643316269, 0.028433408588171005, -0.0072817266918718815, 0.0033374580089002848, 0.015603700652718544, 0.01884002424776554, 0.0116738798096776, -0.00034494290594011545, ...
[ "Linear", "ModelLMPredictionHead", "ModelPreTrainingHeads", "Module", "__init__", "class", "config", "def", "forward", "hidden_size", "nn", "pooled_output", "prediction_scores", "predictions", "return", "self", "seq_relationship", "seq_relationship_score", "sequence_output", "s...
bert/modeling_bert.py:BertPreTrainedModel
[ -0.000248288968577981, 0.023495230823755264, 0.003504421329125762, -0.0018728082068264484, -0.001255632727406919, 0.028716392815113068, 0.028489384800195694, -0.014868962578475475, -0.0006845681346021593, -0.0030362193938344717, 0.0032774144783616066, 0.016571514308452606, -0.001149223186075...
[ "Model", "ModelConfig", "ModelCrossAttention", "ModelEmbeddings", "ModelLMPredictionHead", "ModelLayer", "ModelPreTrainedModel", "ModelSelfAttention", "PreTrainedModel", "True", "_can_record_outputs", "_init_weights", "_supports_attention_backend", "_supports_flash_attn", "_supports_flex...
bert/modeling_bert.py:BertForPreTrainingOutput
[ -0.0002448012528475374, 0.019640864804387093, 0.028836876153945923, 0.016689058393239975, -0.0010430661495774984, 0.04791008681058884, 0.039508793503046036, -0.004881833679974079, 0.013226362876594067, -0.015326686203479767, 0.011353101581335068, 0.018278492614626884, -0.00146171182859689, ...
[ "ModelForPreTrainingOutput", "ModelOutput", "None", "attentions", "class", "hidden_states", "loss", "prediction_logits", "r", "seq_relationship_logits" ]
bert/modeling_bert.py:BertModel
[ 0.00005713612699764781, 0.019093062728643417, 0.014515193179249763, 0.011667982675135136, 0.00009813457290874794, 0.03505977615714073, -0.003028651000931859, -0.02166113443672657, 0.007369251921772957, -0.00502448994666338, 0.017529888078570366, -0.007704217918217182, 0.000935113406740129, ...
[ "BaseModelOutputWithPoolingAndCrossAttentions", "DynamicCache", "EncoderDecoderCache", "False", "ModelEmbeddings", "ModelEncoder", "ModelLayer", "ModelModel", "ModelPooler", "ModelPreTrainedModel", "None", "True", "ValueError", "You", "__init__", "_create_attention_masks", "_no_split...
bert/modeling_bert.py:BertForPreTraining
[ -0.00008408453868469223, 0.038613006472587585, 0.020637987181544304, 0.0025104002561420202, -0.0004923713277094066, 0.03528429940342903, 0.012482653371989727, -0.008876553736627102, 0.0052704536356031895, 0.005131757352501154, 0.015423011966049671, 0.029736453667283058, 0.0006484045297838748...
[ "CrossEntropyLoss", "Model", "ModelForPreTraining", "ModelForPreTrainingOutput", "ModelModel", "ModelPreTrainedModel", "ModelPreTrainingHeads", "None", "True", "__init__", "_tied_weights_keys", "and", "attention_mask", "attentions", "auto_docstring", "bias", "can_return_tuple", "cl...
bert/modeling_bert.py:BertLMHeadModel
[ -0.00019375956617295742, 0.03972684592008591, 0.018965641036629677, -0.0020480649545788765, -0.0007820521714165807, 0.032993484288454056, 0.015374514274299145, -0.019077865406870842, 0.0004331096133682877, 0.004573076497763395, 0.024913446977734566, 0.027382345870137215, 0.000946879328694194...
[ "CausalLMOutputWithCrossAttentions", "False", "GenerationMixin", "Model", "ModelLMHeadModel", "ModelModel", "ModelOnlyMLMHead", "ModelPreTrainedModel", "None", "True", "__init__", "_tied_weights_keys", "add", "add_pooling_layer", "attention_mask", "attentions", "auto_docstring", "b...
bert/modeling_bert.py:BertForMaskedLM
[ -0.00011555057426448911, 0.038922298699617386, 0.020795628428459167, -0.014901680871844292, -0.00044830149272456765, 0.038477472960948944, 0.011899103410542011, -0.01779305189847946, 0.005282312165945768, -0.004337056074291468, 0.0216852817684412, 0.03669817000627518, -0.0005768840783275664,...
[ "CrossEntropyLoss", "False", "If", "MaskedLMOutput", "Model", "ModelForMaskedLM", "ModelModel", "ModelOnlyMLMHead", "ModelPreTrainedModel", "None", "True", "__init__", "_tied_weights_keys", "add_pooling_layer", "attention", "attention_mask", "attentions", "auto_docstring", "bi", ...
bert/modeling_bert.py:BertForNextSentencePrediction
[ -0.00019276018429081887, 0.0572330504655838, 0.03334839269518852, 0.020617417991161346, -0.0009153908467851579, 0.036052316427230835, 0.022983351722359657, -0.004196715075522661, 0.0060274964198470116, 0.007492121774703264, 0.023546667769551277, 0.007604785263538361, 0.002182855037972331, ...
[ "CrossEntropyLoss", "Model", "ModelForNextSentencePrediction", "ModelModel", "ModelOnlyNSPHead", "ModelPreTrainedModel", "NextSentencePredictorOutput", "None", "True", "__init__", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "cls", "config", "def",...
bert/modeling_bert.py:BertForSequenceClassification
[ -0.00038577517261728644, 0.02999672293663025, 0.01119108498096466, 0.0122294332832098, -0.0014637823915109038, 0.03045821189880371, 0.02422812208533287, 0.013325467705726624, -0.00409570662304759, 0.01159488782286644, 0.05445558950304985, 0.0010599803645163774, 0, -0.01695968583226204, -...
[ "BCEWithLogitsLoss", "CrossEntropyLoss", "Dropout", "Linear", "MSELoss", "Model", "ModelForSequenceClassification", "ModelModel", "ModelPreTrainedModel", "None", "SequenceClassifierOutput", "True", "__init__", "and", "attention_mask", "attentions", "auto_docstring", "can_return_tup...
bert/modeling_bert.py:BertForMultipleChoice
[ -0.0002736066817305982, 0.05493592843413353, 0.019914275035262108, 0.026323465630412102, -0.0012160296319052577, 0.042346443980932236, 0.049213435500860214, -0.0014878481160849333, 0.0011444984702393413, 0.013276183046400547, 0.03959964960813522, -0.007439240347594023, -0.0012160296319052577...
[ "CrossEntropyLoss", "Dropout", "Linear", "Model", "ModelForMultipleChoice", "ModelModel", "ModelPreTrainedModel", "MultipleChoiceModelOutput", "None", "True", "__init__", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "classifier", "classifier_dropou...
bert/modeling_bert.py:BertForTokenClassification
[ -0.0002562236331868917, 0.035301920026540756, 0.007288138847798109, -0.029038676992058754, -0.0009537212899886072, 0.04122353345155716, 0.04076802730560303, 0.015373417176306248, 0.0006441177101805806, 0.009850375354290009, 0.050561461597681046, 0.019586872309446335, -0.0007224082946777344, ...
[ "CrossEntropyLoss", "Dropout", "False", "Linear", "Model", "ModelForTokenClassification", "ModelModel", "ModelPreTrainedModel", "None", "TokenClassifierOutput", "True", "__init__", "add_pooling_layer", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", ...
bert/modeling_bert.py:BertForQuestionAnswering
[ -0.00018407418974675238, 0.02491430938243866, 0.012400787323713303, 0.015106414444744587, -0.0007856180891394615, 0.051181431859731674, 0.0419372096657753, 0.023336026817560196, 0.005862190388143063, 0.03314392268657684, 0.02119407430291176, 0.018939385190606117, 0.0007926640100777149, -0....
[ "CrossEntropyLoss", "False", "Linear", "Model", "ModelForQuestionAnswering", "ModelModel", "ModelPreTrainedModel", "None", "QuestionAnsweringModelOutput", "True", "__init__", "add_pooling_layer", "and", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "clamp", ...
nemotron/modeling_nemotron.py:_cast_if_autocast_enabled
[ -0.0004413980932440609, 0.030623383820056915, -0.02053428441286087, -0.035371195524930954, -0.0021810259204357862, 0.03252250701189041, -0.00836801715195179, -0.053175486624240875, -0.006528240628540516, 0.039881616830825806, 0.013353219255805016, -0.0011498605599626899, -0.00516324490308761...
[ "_cast", "_cast_if_autocast_enabled", "amp", "args", "autocast_mode", "def", "device_type", "else", "get_autocast_dtype", "if", "is_autocast_enabled", "not", "return", "target_dtype", "torch" ]
nemotron/modeling_nemotron.py:NemotronLayerNorm1P
[ -0.00019305202295072377, 0.051471047103405, 0.02493840642273426, 0.03279571235179901, -0.001074685831554234, 0.051926545798778534, -0.011045778170228004, -0.04031139612197876, 0.005949916783720255, 0.040994640439748764, 0.01246920321136713, 0.007914243265986443, 0.0015088304644450545, 0.00...
[ "F", "False", "LayerNorm", "ModelLayerNorm1P", "None", "True", "__init__", "_cast_if_autocast_enabled", "args", "bias", "class", "cpu", "def", "device", "device_type", "dtype", "elementwise_affine", "else", "enabled", "eps", "forward", "if", "input", "layer_norm", "ma...
nemotron/modeling_nemotron.py:NemotronRotaryEmbedding
[ -0.0003998616011813283, 0.04764433950185776, 0.0029335469007492065, -0.009847283363342285, -0.001975353341549635, 0.03443600982427597, 0.04316294193267822, 0.007370721083134413, -0.006279854103922844, 0.02287871763110161, 0, -0.000995047390460968, -0.0018574217101559043, 0.0154490312561392...
[ "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...
nemotron/modeling_nemotron.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" ]
nemotron/modeling_nemotron.py:apply_rotary_pos_emb
[ -0.00015671145229134709, 0.028671998530626297, 0.021079018712043762, -0.008329612202942371, -0.00066934380447492, 0.018925784155726433, 0.04102475568652153, 0.0021957310382276773, 0.011672789230942726, 0.03399841487407684, 0.0015299287624657154, 0.0077629717998206615, -0.0009420394781045616,...
[ "Model_rotary_pos_emb", "cat", "cos", "def", "dim", "k", "k_embed", "k_pass", "q", "q_embed", "q_pass", "return", "rot_dim", "rotate_half", "shape", "sin", "torch", "unsqueeze", "unsqueeze_dim" ]
nemotron/modeling_nemotron.py:NemotronMLP
[ -0.0002001440298045054, 0.019328195601701736, 0.03453914076089859, 0.027105219662189484, -0.0007612621411681175, 0.05901389569044113, 0.03270925208926201, -0.005832768976688385, -0.001115088234655559, -0.00568980909883976, 0.03293798863887787, -0.04689088836312294, -0.0013795641716569662, ...
[ "ACT2FN", "Linear", "ModelMLP", "Module", "__init__", "act_fn", "class", "config", "def", "down_proj", "forward", "hidden_act", "hidden_size", "intermediate_size", "nn", "return", "self", "super", "up_proj", "x" ]
nemotron/modeling_nemotron.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" ]