identifier
stringlengths
24
117
embedding
listlengths
2.56k
2.56k
tokens
listlengths
4
444
segformer/modeling_segformer.py:eager_attention_forward
[ 0.000031962401408236474, 0.030246570706367493, 0.025845017284154892, -0.013712530955672264, 0.00018251631991006434, 0.033858101814985275, 0.060944583266973495, -0.021556323394179344, 0.020314861088991165, 0.014446122571825981, 0.022007765248417854, 0.029343686997890472, 0.002214884152635932,...
[ "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", "size", "sof...
segformer/modeling_segformer.py:SegformerAttention
[ -0.00012269211583770812, 0.027034331113100052, 0.03971017897129059, -0.00018403817375656217, -0.0001901727810036391, 0.02759520895779133, 0.024790817871689796, -0.018172454088926315, 0.002005139598622918, 0.015816766768693924, 0.010544510558247566, 0.009703193791210651, -0.001205888227559626...
[ "ALL_ATTENTION_FUNCTIONS", "False", "Linear", "ModelAttention", "ModelSequenceReduction", "Module", "None", "__init__", "_attn_implementation", "attention_dropout", "attention_interface", "attention_mask", "attention_probs_dropout_prob", "attn_output", "attn_weights", "class", "confi...
segformer/modeling_segformer.py:SegformerDepthWiseConv
[ -0.00009740686073200777, -0.00555703928694129, 0.024259157478809357, -0.04242531582713127, -0.0001851171109592542, 0.02493615634739399, 0.036783650517463684, -0.03971731662750244, 0.014781160280108452, 0.007221330422908068, 0.029562320560216904, -0.010493495501577854, 0.0009590829722583294, ...
[ "Conv2d", "ModelDepthWiseConv", "Module", "__init__", "batch_size", "class", "def", "dim", "dwconv", "flatten", "forward", "groups", "height", "hidden_states", "nn", "num_channels", "return", "self", "seq_len", "shape", "super", "transpose", "view", "width" ]
segformer/modeling_segformer.py:SegformerMixMLP
[ -0.00025091299903579056, 0.020500127226114273, 0.023233477026224136, -0.006121565587818623, -0.0007794318953529, 0.048744745552539825, 0.03735578805208206, -0.03507799282670021, 0.0020642487797886133, -0.006036148406565189, 0.03849468380212784, -0.028927955776453018, 0.0021496659610420465, ...
[ "ACT2FN", "Dropout", "Linear", "ModelDepthWiseConv", "ModelMixMLP", "Module", "None", "__init__", "activation_fn", "class", "config", "def", "dropout", "dwconv", "else", "fc1", "fc2", "forward", "height", "hidden_act", "hidden_dropout_prob", "hidden_features", "hidden_sta...
segformer/modeling_segformer.py:SegformerDropPath
[ 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", ...
segformer/modeling_segformer.py:SegformerLayer
[ -0.000045977030822541565, 0.00700602401047945, 0.03430149331688881, -0.0007636566297151148, 0.00009852221410255879, 0.04708047956228256, 0.020625734701752663, -0.007510457653552294, 0.006921951659023762, 0.004091517999768257, 0.0016744397580623627, -0.005941108334809542, -0.00004860429180553...
[ "Dropout", "GradientCheckpointingLayer", "Identity", "LayerNorm", "ModelAttention", "ModelDropPath", "ModelLayer", "ModelMixMLP", "_", "__init__", "attention", "class", "config", "def", "drop_path", "else", "forward", "height", "hidden_dropout", "hidden_dropout_prob", "hidden...
segformer/modeling_segformer.py:SegformerStage
[ -0.00020056964422110468, -0.0031239166855812073, -0.005424255505204201, 0.01431321818381548, -0.0002839924127329141, 0.0440756231546402, 0.011643689125776291, -0.036351028829813004, 0.0006673822063021362, 0.010110130533576012, 0.021583424881100655, -0.026695286855101585, -0.00269792811013758...
[ "LayerNorm", "ModelLayer", "ModelOverlapPatchEmbeddings", "ModelStage", "Module", "ModuleList", "__init__", "batch_size", "block", "blocks", "class", "config", "contiguous", "def", "depth_start", "depths", "drop_path", "drop_path_decays", "else", "for", "forward", "height",...
segformer/modeling_segformer.py:SegformerPreTrainedModel
[ -0.0002610952942632139, 0.02231828309595585, 0.0010873009450733662, 0.029528804123401642, -0.0013519729254767299, 0.025522958487272263, 0.028040919452905655, -0.020715944468975067, -0.006123221013695002, 0.020601492375135422, 0.01899915374815464, 0.005178986117243767, -0.00463533541187644, ...
[ "False", "Model", "ModelAttention", "ModelConfig", "ModelPreTrainedModel", "ModelStage", "OutputRecorder", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outputs", "_input_embed_layer", "_no_split_modules", "_supports_attention_backend", "_supports_flash_attn", "_sup...
segformer/modeling_segformer.py:SegformerModel
[ -0.00006504855991806835, 0.013558230362832546, -0.0012658098712563515, 0.02801659144461155, 0.00009229863644577563, 0.04478153958916664, 0.03240473195910454, -0.026891427114605904, 0.00694788945838809, 0.011364159174263477, 0.024416064843535423, -0.018002629280090332, -0.000671582471113652, ...
[ "BaseModelOutput", "ModelModel", "ModelPreTrainedModel", "ModelStage", "ModuleList", "__init__", "auto_docstring", "capture_outputs", "class", "config", "def", "depths", "drop_path_decays", "drop_path_rate", "for", "forward", "hidden_states", "i", "in", "kwargs", "last_hidden...
segformer/modeling_segformer.py:SegformerForImageClassification
[ -0.0001610892650205642, 0.034963373094797134, 0.011150178499519825, 0.036083996295928955, -0.00036595278652384877, 0.007508160546422005, 0.017481686547398567, -0.002801552414894104, 0.004734623711556196, 0.030480889603495598, 0.03630811721086502, 0.0019050556002184749, 0.0006023337482474744,...
[ "Linear", "Model", "ModelForImageClassification", "ModelImageClassifierOutput", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "attentions", "auto_docstring", "batch_size", "can_return_tuple", "class", "classifier", "config", "def", "dim", "forward", "hidden_sizes", ...
segformer/modeling_segformer.py:SegformerMLP
[ -0.00023016351042315364, 0.027291325852274895, 0.044990722090005875, 0.03471365198493004, -0.0007493695593439043, 0.038596101105213165, 0.02831903286278248, -0.03882448002696037, -0.00044070067815482616, 0.006794284097850323, 0.026035239920020103, -0.03928123787045479, -0.0034685104619711637...
[ "Linear", "ModelMLP", "Module", "__init__", "class", "config", "decoder_hidden_size", "def", "flatten", "forward", "hidden_states", "input_dim", "nn", "proj", "return", "self", "super", "transpose" ]
segformer/modeling_segformer.py:SegformerDecodeHead
[ -0.0003618945775087923, 0.02212418243288994, 0.0169388260692358, 0.02604200504720211, -0.0013467519311234355, 0.022354641929268837, 0.03180351108312607, -0.048627108335494995, -0.0018580855103209615, 0.004465166945010424, 0.015901755541563034, 0.005070124752819538, -0.004090669099241495, 0...
[ "BatchNorm2d", "Conv2d", "Dropout", "False", "ModelDecodeHead", "ModelMLP", "Module", "ModuleList", "ReLU", "__init__", "activation", "align_corners", "all_hidden_states", "and", "append", "batch_norm", "batch_size", "bilinear", "cat", "class", "classifier", "classifier_dro...
segformer/modeling_segformer.py:SegformerForSemanticSegmentation
[ -0.0002003548142965883, 0.05331547185778618, -0.021483659744262695, 0.005989554338157177, -0.0004780395538546145, 0.027782535180449486, 0.02991965226829052, -0.02699517458677292, 0.002010578056797385, -0.0008682042243890464, 0.038018204271793365, 0.005314675159752369, -0.0036837165243923664,...
[ "BCEWithLogitsLoss", "CrossEntropyLoss", "False", "Model", "ModelDecodeHead", "ModelForSemanticSegmentation", "ModelModel", "ModelPreTrainedModel", "None", "Number", "SemanticSegmenterOutput", "ValueError", "__init__", "align_corners", "and", "attentions", "auto_docstring", "be", ...
mra/modeling_mra.py:load_cuda_kernels
[ -0.0000670689987600781, 0.03917909786105156, -0.007173231802880764, -0.017169663682579994, -0.0002862810797523707, 0.0398704931139946, 0.033878397196531296, -0.04401886835694313, 0.023392226547002792, 0.029038624837994576, 0.014980243518948555, -0.0167087335139513, 0.0009002549923025072, 0...
[ "ImportError", "Model", "Model_cuda_kernel", "Model_cuda_kernels", "community", "def", "get_kernel", "global", "if", "install", "installed", "is", "is_kernels_available", "it", "kernels", "not", "pip", "please", "raise", "version", "with" ]
mra/modeling_mra.py:sparse_max
[ -0.00009188499097945169, -0.0019977292977273464, 0.013280678540468216, -0.011029716581106186, -0.00029543883283622563, 0.031288377940654755, 0.02869977243244648, -0.01958337426185608, 0.013393227010965347, 0.02566097304224968, 0.013787145726382732, 0.0009074192494153976, -0.00139981729444116...
[ "Model_cuda_kernel", "Model_max", "Model_qk_prod", "None", "The", "ValueError", "a", "be", "contiguous", "def", "dim", "dimension", "dimensional", "if", "index_max", "index_vals", "indices", "int", "key_num_block", "len", "max", "max_vals", "max_vals_scatter", "must", ...
mra/modeling_mra.py:sparse_mask
[ 0.00009236687765223905, -0.016889942809939384, 0.022519923746585846, -0.03940986841917038, 0.0004926233668811619, 0.03490588441491127, 0.0006650415016338229, -0.06981176882982254, 0.0203805323690176, -0.0017241816967725754, 0.0002102446014760062, 0.01970493420958519, 0.0022379173897206783, ...
[ "Model_mask", "None", "ValueError", "a", "and", "arange", "batch_idx", "batch_size", "be", "block_size", "def", "device", "dimension", "dimensional", "dtype", "have", "if", "in", "indices", "len", "long", "mask", "must", "num_block", "raise", "reshape", "return", ...
mra/modeling_mra.py:mm_to_sparse
[ -0.00017248879885300994, -0.005206672009080648, 0.020257653668522835, -0.028110338374972343, -0.0003165258385706693, 0.016729634255170822, 0.013543037697672844, -0.058041591197252274, 0.016843441873788834, 0.027996530756354332, -0.0017924609128385782, 0.0063447426073253155, 0.000321860541589...
[ "Model_cuda_kernel", "The", "ValueError", "_", "a", "batch_size", "be", "block_size", "by", "contiguous", "def", "dense_key", "dense_query", "dim", "dimension", "dimensional", "divisible", "first", "if", "indices", "int", "key_size", "len", "mm_to_sparse", "must", "...
mra/modeling_mra.py:sparse_dense_mm
[ -0.00007013581489445642, -0.026136688888072968, 0.01784113049507141, -0.022954830899834633, 0.0003000747528858483, 0.024659397080540657, 0.01488654874265194, -0.03818229213356972, 0.013636533170938492, 0.033864058554172516, 0.008693289943039417, -0.005113699939101934, 0.0002308267285116017, ...
[ "Model_cuda_kernel", "Model_dense_mm", "Model_query", "The", "ValueError", "a", "batch_size", "be", "block_size", "by", "contiguous", "def", "dense_key", "dense_qk_prod", "dim", "dimension", "dimensional", "divisible", "first", "if", "indices", "int", "key_size", "len",...
mra/modeling_mra.py:transpose_indices
[ 0.000042238927562721074, -0.03238288313150406, 0.027514128014445305, 0.0005661343457177281, 0.00044936913764104247, 0.05163145065307617, 0.017550164833664894, -0.05616052448749542, 0.028306717053055763, 0.03510032966732979, -0.0009553516865707934, -0.0025051443371921778, 0.000714744615834206...
[ "Model_indices", "def", "dim_1_block", "dim_2_block", "div", "floor", "indices", "long", "return", "rounding_mode", "torch" ]
mra/modeling_mra.py:MraSampledDenseMatMul
[ -0.00025813421234488487, -0.014226064085960388, 0.01594695821404457, -0.02076546475291252, -0.0009608329273760319, 0.029599390923976898, 0.01801203191280365, -0.014684969559311867, 0.011013726703822613, 0.03694187477231026, 0.009522284381091595, 0.0122183533385396, -0.0016707020113244653, ...
[ "Function", "ModelSampledDenseMatMul", "None", "apply", "autograd", "backward", "block_size", "class", "ctx", "def", "dense_key", "dense_query", "forward", "grad", "grad_key", "grad_query", "indices", "indices_T", "key_num_block", "mm_to_sparse", "operator_call", "query_num...
mra/modeling_mra.py:MraSparseDenseMatMul
[ -0.0001744518376654014, -0.0004197470552753657, 0.014962122775614262, -0.02403007633984089, -0.00046402416774071753, 0.03128444030880928, 0.012751809321343899, -0.013545255176723003, 0.014168676920235157, 0.033778127282857895, 0.011448291130363941, 0.01915605179965496, -0.002026120899245143,...
[ "Function", "ModelSparseDenseMatMul", "None", "apply", "autograd", "backward", "class", "ctx", "def", "dense_key", "forward", "grad", "grad_key", "grad_query", "indices", "indices_T", "key_num_block", "mm_to_sparse", "operator_call", "query_num_block", "return", "save_for_b...
mra/modeling_mra.py:MraReduceSum
[ -0.00007051938882796094, 0.017037484794855118, 0.0002503438445273787, 0.007559678517282009, -0.00010049013508250937, 0.02482282556593418, 0.006177498493343592, -0.04219880327582359, 0.01455520186573267, 0.02335602231323719, -0.0002133211528416723, 0.023468853905797005, -0.0006276225904002786...
[ "ModelReduceSum", "None", "ValueError", "_", "a", "arange", "batch_idx", "batch_size", "be", "block_size", "class", "def", "device", "dim", "dimensional", "div", "dtype", "floor", "global_idxes", "if", "index_add", "indices", "key_num_block", "len", "long", "must", ...
mra/modeling_mra.py:get_low_resolution_logit
[ -0.00031680267420597374, -0.009558389894664288, 0.020970527082681656, -0.02189740166068077, -0.0011441102251410484, 0.05167323350906372, 0.027458645403385162, -0.016683734953403473, 0.01025354489684105, 0.029891690239310265, 0.02583661675453186, -0.005763998720794916, 0.00220132595859468, ...
[ "Model_low_resolution_logit", "None", "True", "batch_size", "block_size", "def", "device", "dim", "dtype", "else", "float", "head_dim", "if", "is", "keepdims", "key", "key_hat", "low_resolution_logit", "low_resolution_logit_row_max", "mask", "math", "matmul", "max", "me...
mra/modeling_mra.py:get_block_idxes
[ -0.00025665556313470006, -0.012091328389942646, 0.01631188578903675, -0.004448696505278349, -0.0008376952027902007, 0.0520155243575573, 0.023954518139362335, -0.039924196898937225, 0.010551394894719124, 0.015399333089590073, 0.00929663423448801, -0.00849815085530281, 0.0006879794527776539, ...
[ "False", "Model_block_idxes", "None", "True", "_", "approx_mode", "batch_size", "def", "device", "diagonal", "diagonal_mask", "dim", "elif", "else", "float", "full", "high_resolution_mask", "if", "indices", "initial_prior_diagonal_n_blocks", "initial_prior_first_n_blocks", ...
mra/modeling_mra.py:mra2_attention
[ -0.00009716200293041766, 0.0158695001155138, 0.029262907803058624, -0.02363542653620243, -0.00031302872230298817, 0.03444019332528114, 0.025661319494247437, -0.03759158402681351, 0.004670810420066118, 0.012943209148943424, 0.02633661776781082, 0.021159334108233452, 0.0021243744995445013, 0...
[ "ModelReduceSum", "ModelSampledDenseMatMul", "ModelSparseDenseMatMul", "Model_attention", "Model_cuda_kernel", "None", "ValueError", "_", "approx_mode", "batch_size", "be", "block_size", "by", "context_layer", "def", "dim", "divisible", "elif", "else", "exp", "float", "full...
mra/modeling_mra.py:MraEmbeddings
[ -0.00023875845363363624, 0.017333149909973145, 0.012429693713784218, -0.009863930754363537, -0.00121161004062742, 0.038999587297439575, 0.034894369542598724, -0.008153422735631466, 0.0075262365862727165, -0.01203057449311018, 0.024175183847546577, 0.021438369527459145, -0.0012044828617945313...
[ "Dropout", "Embedding", "False", "LayerNorm", "ModelEmbeddings", "Module", "None", "__init__", "arange", "buffered_token_type_ids", "buffered_token_type_ids_expanded", "class", "config", "def", "device", "dropout", "dtype", "else", "embeddings", "eps", "expand", "forward", ...
mra/modeling_mra.py:MraSelfAttention
[ -0.00022503154468722641, 0.04241224378347397, 0.025061780586838722, -0.014118514955043793, -0.0009639146737754345, 0.02052571251988411, 0.01825767755508423, -0.03515453636646271, 0.004536068998277187, 0.03129887580871582, 0.004110812675207853, 0.013438104651868343, 0.0022680344991385937, -...
[ "Could", "Dropout", "Exception", "Linear", "Model2_attention", "ModelSelfAttention", "Model_cuda_kernel", "Module", "None", "The", "ValueError", "_", "__init__", "a", "all_head_size", "and", "approx_mode", "as", "attention", "attention_head_size", "attention_mask", "attenti...
mra/modeling_mra.py:MraSelfOutput
[ -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" ]
mra/modeling_mra.py:MraAttention
[ 0.00017744899378158152, 0.03254467621445656, 0.04836500436067581, 0.0016385340131819248, 0.0006215128814801574, 0.04203687235713005, 0.03864680230617523, -0.02316548116505146, 0.01661134511232376, -0.005763119552284479, 0.021244440227746964, 0.02542552724480629, 0.0037573277950286865, -0.0...
[ "ModelAttention", "ModelSelfAttention", "ModelSelfOutput", "Module", "None", "__init__", "attention_mask", "attention_output", "class", "config", "def", "forward", "hidden_states", "nn", "output", "outputs", "return", "self", "self_outputs", "super" ]
mra/modeling_mra.py:MraIntermediate
[ -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" ]
mra/modeling_mra.py:MraOutput
[ -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...
mra/modeling_mra.py:MraLayer
[ -0.00010176406794926152, 0.016282251104712486, 0.026725349947810173, 0.007411231752485037, -0.0002912557974923402, 0.03930198773741722, 0.02683764137327671, -0.007411231752485037, 0.00659711891785264, 0.0037056158762425184, 0.00870258267968893, 0.007411231752485037, 0.002877466846257448, -...
[ "GradientCheckpointingLayer", "ModelAttention", "ModelIntermediate", "ModelLayer", "ModelOutput", "None", "__init__", "add_cross_attention", "apply_chunking_to_forward", "attention", "attention_mask", "attention_output", "chunk_size_feed_forward", "class", "config", "def", "feed_forw...
mra/modeling_mra.py:MraEncoder
[ -0.00009385687735630199, 0.00981399230659008, 0.02222248911857605, 0.026509061455726624, -0.0004018660692963749, 0.040158405900001526, 0.013085323385894299, -0.027749910950660706, 0.00851674098521471, 0.012295692227780819, 0.017710307613015175, -0.00696567865088582, -0.00048294433508999646, ...
[ "BaseModelOutputWithCrossAttentions", "False", "ModelEncoder", "ModelLayer", "Module", "ModuleList", "None", "True", "_", "__init__", "all_hidden_states", "attention_mask", "class", "config", "def", "else", "enumerate", "for", "forward", "gradient_checkpointing", "hidden_stat...
mra/modeling_mra.py:MraPredictionHeadTransform
[ -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"...
mra/modeling_mra.py:MraLMPredictionHead
[ -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" ]
mra/modeling_mra.py:MraOnlyMLMHead
[ -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" ]
mra/modeling_mra.py:MraPreTrainedModel
[ -0.0003083262708969414, 0.03281164914369583, 0.0010898974724113941, -0.0031979887280613184, -0.0015057794516906142, 0.026042813435196877, 0.025928087532520294, -0.0007457193569280207, -0.0013767125783488154, -0.0013838830636814237, 0.0025813360698521137, 0.005420805886387825, -0.001699379645...
[ "Model", "ModelConfig", "ModelEmbeddings", "ModelLMPredictionHead", "ModelPreTrainedModel", "PreTrainedModel", "True", "_init_weights", "arange", "base_model_prefix", "bias", "class", "config", "copy_", "def", "elif", "expand", "if", "init", "isinstance", "module", "no_grad...
mra/modeling_mra.py:MraModel
[ 0.0000220117908611428, 0.03992171958088875, 0.01592383347451687, 0.0014578156406059861, -0.00018748349975794554, 0.03992171958088875, 0.013849249109625816, -0.003588469233363867, 0.00835440494120121, 0.004345411900430918, 0.020297279581427574, 0.013456759974360466, 0.00015419203555211425, ...
[ "BaseModelOutputWithCrossAttentions", "ModelEmbeddings", "ModelEncoder", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "and", "and_mask_function", "args", "attention_mask", "attentions", "auto_docstring", "batch_size", "bool", "buffered_token_type_ids", "buffered_token_ty...
mra/modeling_mra.py:MraForMaskedLM
[ -0.00005167325434740633, 0.035127390176057816, 0.017230207100510597, -0.012561377137899399, -0.00044117667130194604, 0.04135249927639961, 0.011449750512838364, -0.011505331844091415, 0.0026956936344504356, -0.006641967222094536, 0.02167671173810959, 0.037350643426179886, -0.00070171407423913...
[ "CrossEntropyLoss", "MaskedLMOutput", "Model", "ModelForMaskedLM", "ModelModel", "ModelOnlyMLMHead", "ModelPreTrainedModel", "None", "__init__", "_tied_weights_keys", "attention_mask", "attentions", "auto_docstring", "bias", "class", "cls", "config", "decoder", "def", "else", ...
mra/modeling_mra.py:MraClassificationHead
[ -0.00037260667886584997, 0.02292073704302311, 0.03218163922429085, 0.019679419696331024, -0.0014470162568613887, 0.017016910016536713, 0.05278715118765831, 0.0021415839437395334, -0.0063668712973594666, 0.006829916499555111, 0.02292073704302311, -0.0036898914258927107, -0.00070903793675825, ...
[ "ACT2FN", "Dropout", "Linear", "ModelClassificationHead", "Module", "__init__", "class", "config", "def", "dense", "dropout", "features", "forward", "hidden_act", "hidden_dropout_prob", "hidden_size", "kwargs", "nn", "num_labels", "out_proj", "return", "self", "super", ...
mra/modeling_mra.py:MraForSequenceClassification
[ -0.0003649447753559798, 0.027821673080325127, -0.0014812464360147715, 0.013510112650692463, -0.001195015269331634, 0.027020225301384926, 0.01969270594418049, 0.0111630167812109, -0.005810493137687445, 0.012193448841571808, 0.055414360016584396, 0.001695919781923294, 0.00006037689308868721, ...
[ "BCEWithLogitsLoss", "CrossEntropyLoss", "MSELoss", "Model", "ModelClassificationHead", "ModelForSequenceClassification", "ModelModel", "ModelPreTrainedModel", "None", "SequenceClassifierOutput", "__init__", "and", "attention_mask", "attentions", "auto_docstring", "class", "classifie...
mra/modeling_mra.py:MraForMultipleChoice
[ -0.00020049753948114812, 0.053371381014585495, 0.016806306317448616, 0.03724640980362892, -0.0008090874180197716, 0.04178865626454353, 0.04065309464931488, -0.0038609083276242018, 0, 0.012775064446032047, 0.04110731929540634, -0.008403153158724308, -0.0008303791983053088, -0.01209372747689...
[ "CrossEntropyLoss", "Linear", "Model", "ModelForMultipleChoice", "ModelModel", "ModelPreTrainedModel", "MultipleChoiceModelOutput", "None", "ReLU", "__init__", "attention_mask", "attentions", "auto_docstring", "class", "classifier", "config", "def", "else", "forward", "hidden_s...
mra/modeling_mra.py:MraForTokenClassification
[ -0.00023573785438202322, 0.03335070237517357, 0.0037718056701123714, -0.035165708512067795, -0.000868507893756032, 0.043560102581977844, 0.035392582416534424, 0.011230339296162128, -0.004537510685622692, 0.0015172301791608334, 0.05898763984441757, 0.028586316853761673, -0.0008153339731507003...
[ "CrossEntropyLoss", "Dropout", "Linear", "Model", "ModelForTokenClassification", "ModelModel", "ModelPreTrainedModel", "None", "TokenClassifierOutput", "__init__", "active_labels", "active_logits", "active_loss", "attention_mask", "attentions", "auto_docstring", "class", "classifie...
mra/modeling_mra.py:MraForQuestionAnswering
[ -0.00017398771888110787, 0.028344180434942245, 0.015746766701340675, 0.014172090217471123, -0.0006045633926987648, 0.0474652536213398, 0.038467101752758026, 0.023620150983333588, 0.003936691675335169, 0.030818672850728035, 0.02755684219300747, 0.017208967357873917, 0.0015043786261230707, 0...
[ "CrossEntropyLoss", "Linear", "Model", "ModelForQuestionAnswering", "ModelModel", "ModelPreTrainedModel", "None", "QuestionAnsweringModelOutput", "__init__", "and", "attention_mask", "attentions", "auto_docstring", "clamp", "class", "config", "def", "dim", "else", "end_logits",...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLSparseCacheLayer
[ -0.00025327701587229967, -0.006179240997880697, 0.030809981748461723, -0.00936945341527462, -0.0009268861031159759, 0.030350131914019585, 0.0008298864122480154, -0.07679503411054611, 0.005805612541735172, 0.00017064764688257128, -0.01448529027402401, 0.016094766557216644, -0.0013220701366662...
[ "DynamicLayer", "ModelSparseCacheLayer", "Modelmax_m3_sparse", "None", "__init__", "_layer_type", "abs", "and", "batch_repeat_interleave", "batch_select_indices", "beam_idx", "cat", "class", "crop", "def", "device", "dim", "else", "get_seq_length", "idx_k", "idx_keys", "if"...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLSparseStaticCacheLayer
[ -0.00022984696261119097, -0.009749787859618664, 0.0168768260627985, -0.018929412588477135, -0.0009336419170722365, 0.018131183460354805, -0.0005559089477173984, -0.06841956079006195, 0.0068419561721384525, 0.007754216901957989, -0.013170765712857246, 0.020639901980757713, -0.0007519024657085...
[ "ModelSparseStaticCacheLayer", "Modelmax_m3_sparse", "None", "NotImplementedError", "StaticLayer", "__init__", "_dynamo", "_layer_type", "add_", "arange", "beam_idx", "cache_position", "class", "def", "device", "dtype", "except", "idx_cumulative_length", "idx_k", "idx_keys", ...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLRMSNorm
[ -0.00004504185199039057, 0.042505379766225815, 0.020461365580558777, 0.05245344340801239, -0.00038329733069986105, 0.05222735181450844, 0.010569821111857891, -0.007348004262894392, 0.008365419693291187, 0.04273147135972977, 0.014469916000962257, 0.010852436535060406, 0.0032783402130007744, ...
[ "ModelRMSNorm", "Module", "Parameter", "True", "__init__", "_norm", "class", "def", "dim", "eps", "extra_repr", "f", "float", "forward", "keepdim", "mean", "nn", "output", "pow", "return", "rsqrt", "self", "shape", "super", "torch", "tuple", "type_as", "weight",...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLDenseMLP
[ -0.0003143254143651575, 0.00791955552995205, 0.010867711156606674, 0.021388579159975052, -0.001192268799059093, 0.04578312113881111, 0.017573319375514984, -0.006879029795527458, -0.002326730638742447, 0.006272056605666876, 0.036071550101041794, -0.041621021926403046, 0.00013096892507746816, ...
[ "Linear", "ModelDenseMLP", "Module", "None", "__init__", "chunk", "clamp", "class", "config", "def", "dense_intermediate_size", "dim", "down_proj", "else", "forward", "gate", "gate_up", "gate_up_proj", "glu", "hidden_size", "hidden_states", "if", "inter", "intermediate_...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLExperts
[ -0.0003638933994807303, 0.02516167424619198, -0.02188480645418167, 0.010123185813426971, -0.0016091768629848957, 0.057813335210084915, 0.04915304109454155, -0.004622726235538721, -0.006144130136817694, -0.022001836448907852, 0.0198952779173851, -0.022118868306279182, -0.0007607017760165036, ...
[ "F", "ModelExperts", "Module", "None", "Parameter", "__init__", "_apply_gate", "chunk", "clamp", "class", "config", "continue", "current", "def", "dim", "down_proj", "dtype", "empty", "expert_idx", "final", "for", "forward", "gate", "gate_up", "gate_up_proj", "glu",...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLTopKRouter
[ -0.000387767591746524, 0.040652815252542496, 0, -0.014713010750710964, -0.0016618610825389624, 0.05672486126422882, 0.07090607285499573, -0.023871712386608124, -0.002540800953283906, 0.00844964012503624, 0.016190219670534134, -0.017962872982025146, -0.00006462792953243479, 0.00457935081794...
[ "F", "False", "ModelTopKRouter", "Module", "Parameter", "True", "_", "__init__", "class", "config", "def", "dim", "dtype", "e_score_correction_bias", "empty", "float", "forward", "gather", "hidden_dim", "hidden_size", "hidden_states", "keepdim", "linear", "nn", "num_e...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLSparseMoeBlock
[ -0.0004580843378789723, 0.02693386934697628, 0.006495114881545305, -0.006554702762514353, -0.0017057124059647322, 0.057919736951589584, 0.035752926021814346, -0.0414733923971653, -0.00494582112878561, -0.005094791762530804, 0.015373758040368557, -0.03241598606109619, 0.0008603047463111579, ...
[ "ModelDenseMLP", "ModelExperts", "ModelSparseMoeBlock", "ModelTopKRouter", "Module", "_", "__init__", "batch_size", "class", "config", "def", "experts", "forward", "gate", "hidden_dim", "hidden_states", "intermediate_size", "nn", "reshape", "return", "routed_scaling_factor", ...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLRotaryEmbedding
[ -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...
minimax_m3_vl/modeling_minimax_m3_vl.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" ]
minimax_m3_vl/modeling_minimax_m3_vl.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",...
minimax_m3_vl/modeling_minimax_m3_vl.py:apply_rotary_pos_emb
[ -0.00020313078130129725, 0.02839554473757744, 0.020983053371310234, -0.0067282612435519695, -0.0008695422438904643, 0.02326381951570511, 0.04196610674262047, -0.003706245683133602, 0.011346814222633839, 0.03238688409328461, 0.0031788183841854334, 0.007868644781410694, -0.0010762367164716125,...
[ "Model_rotary_pos_emb", "cat", "cos", "def", "dim", "k", "k_embed", "k_pass", "k_rot", "q", "q_embed", "q_pass", "q_rot", "return", "rotary_dim", "rotate_half", "shape", "sin", "torch", "unsqueeze", "unsqueeze_dim" ]
minimax_m3_vl/modeling_minimax_m3_vl.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" ]
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLAttention
[ -0.00009508371294941753, 0.03808983042836189, 0.023552587255835533, 0.004113250877708197, -0.00040674698539078236, 0.042372118681669235, 0.02952525205910206, -0.025693731382489204, 0.00428228871896863, 0.016791079193353653, 0.019382990896701813, 0.03673752769827843, 0.001169177470728755, -...
[ "ALL_ATTENTION_FUNCTIONS", "Linear", "ModelAttention", "ModelIndexer", "ModelRMSNorm", "Modelmax_m3_sparse", "Module", "None", "Tensor", "True", "__init__", "_attn_implementation", "apply_rotary_pos_emb", "arange", "attention_dropout", "attention_interface", "attention_mask", "attn...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLIndexer
[ -0.0002441370306769386, -0.012522794306278229, 0.004164690617471933, -0.006491173058748245, -0.0011488802265375853, 0.052848488092422485, 0.03975125402212143, -0.03998102992773056, 0.006893280893564224, 0.01872674748301506, -0.003231225535273552, 0.026654019951820374, 0.0017592227086424828, ...
[ "F", "Linear", "ModelIndexer", "ModelRMSNorm", "Module", "None", "Tensor", "_", "__init__", "amax", "apply_rotary_pos_emb", "arange", "attention_mask", "batch", "bias", "block_indices", "block_keep", "block_scores", "block_size", "bool", "build_block_mask", "clamp", "clas...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLDecoderLayer
[ -0.00020701189350802451, 0.04506843537092209, 0.012909049168229103, -0.0002848625008482486, -0.0007855835719965398, 0.03940657153725624, 0.036688875406980515, -0.03985951840877533, 0.0023072094190865755, -0.011436964385211468, 0.0014720845501869917, 0.018004726618528366, -0.00168440444394946...
[ "GradientCheckpointingLayer", "ModelAttention", "ModelDecoderLayer", "ModelDenseMLP", "ModelRMSNorm", "ModelSparseMoeBlock", "None", "Tensor", "_", "__init__", "attention_mask", "class", "config", "def", "dense_intermediate_size", "else", "eps", "forward", "hidden_size", "hidde...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLPreTrainedModel
[ -0.0003313405904918909, 0.04679105430841446, -0.004033711738884449, 0.009508034214377403, -0.0012677379418164492, 0.04932653158903122, 0.031578198075294495, -0.02789023518562317, -0.009565658867359161, 0.010026654228568077, 0.013080750592052937, -0.004206585232168436, -0.003716777078807354, ...
[ "False", "ModelAttention", "ModelConfig", "ModelDecoderLayer", "ModelExperts", "ModelMaxAI", "ModelPreTrainedModel", "ModelRMSNorm", "ModelTextConfig", "ModelTopKRouter", "ModelVisionEncoderLayer", "OutputRecorder", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outp...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLTextModel
[ -0.0001368377561448142, 0.060568809509277344, 0.0040115537121891975, -0.012769170105457306, -0.0008757616742514074, 0.03435245901346207, 0.037968505173921585, -0.023843318223953247, 0.004576561041176319, 0.004209306091070175, 0.026894358918070793, 0.0038138008676469326, -0.003008665051311254...
[ "DynamicCache", "Embedding", "False", "ModelDecoderLayer", "ModelPreTrainedModel", "ModelRMSNorm", "ModelRotaryEmbedding", "ModelTextConfig", "ModelTextModel", "ModuleList", "MoeModelOutputWithPast", "None", "ValueError", "You", "__init__", "and", "arange", "attention_mask", "aut...
minimax_m3_vl/modeling_minimax_m3_vl.py:load_balancing_loss_func
[ -0.00025320221902802587, 0.01882968656718731, 0.00164046511054039, -0.028872186318039894, -0.0009414842934347689, 0.05774437263607979, 0.03811585158109665, -0.009414843283593655, 0.0002219977177446708, -0.022823862731456757, 0.03195340558886528, -0.005905674304813147, -0.00099854392465204, ...
[ "Model_balancing_loss_func", "None", "_", "attention_mask", "batch_size", "cat", "compute_device", "concatenated_gate_logits", "def", "device", "dim", "else", "expand", "expert_attention_mask", "expert_mask", "float", "for", "functional", "gate_logits", "if", "in", "is", ...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLForCausalLM
[ -0.00041528730071149766, 0.042665306478738785, 0.004662875086069107, -0.010608040727674961, -0.001573720364831388, 0.04709503799676895, 0.04056701436638832, -0.013580624014139175, -0.00486687570810318, 0.007110884413123131, 0.030075544491410255, -0.0061783092096447945, -0.0002276794402860105...
[ "GenerationMixin", "Linear", "ModelForCausalLM", "ModelPreTrainedModel", "ModelTextConfig", "ModelTextModel", "MoeCausalLMOutputWithPast", "None", "__init__", "_fsdp_plan", "_pp_plan", "_tied_weights_keys", "_tp_plan", "attention_mask", "attentions", "auto_docstring", "aux_loss", "...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLVisionEmbeddings
[ -0.00004502816227613948, 0.01377642061561346, 0.013888881541788578, 0.02001798339188099, 0, 0.02001798339188099, 0.026990538462996483, -0.0344129353761673, 0.015969401225447655, -0.0018274843459948897, 0.018668456003069878, 0.009165536612272263, 0.00036373967304825783, -0.01360773015767335...
[ "Conv3d", "ModelVisionEmbeddings", "Module", "__init__", "class", "config", "def", "dtype", "embed_dim", "forward", "hidden_size", "hidden_states", "in_channels", "kernel_size", "nn", "num_channels", "patch_size", "proj", "return", "self", "stride", "super", "target_dtype...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VL3DRotaryEmbedding
[ -0.0002731886343099177, 0.03657851740717888, 0.005176205653697252, -0.007189174182713032, -0.0012149704853072762, 0.04578066244721413, 0.057513393461704254, -0.030137019231915474, 0.010007331147789955, 0.031287286430597305, 0.0021567523945122957, 0.017369044944643974, -0.0017613477539271116,...
[ "Model3DRotaryEmbedding", "Module", "None", "True", "__init__", "arange", "axis_dim", "cat", "class", "coords", "cos", "def", "device", "dim", "dtype", "emb", "float32", "forward", "freqs", "get_vision_position_ids", "grid_thw", "head_dim", "include_temporal", "inv_freq...
minimax_m3_vl/modeling_minimax_m3_vl.py:apply_rotary_pos_emb_vision
[ -0.00005359057831810787, 0.03658450394868851, 0.014904797077178955, -0.005222324747592211, -0.00009130247053690255, 0.018743911758065224, 0.04968265816569328, -0.004206088837236166, 0.018292251974344254, 0.043133579194545746, 0.010218819603323936, 0.0256317351013422, 0.002582933520898223, ...
[ "Model_rotary_pos_emb_vision", "None", "cat", "cos", "def", "dim", "k", "k_pass", "k_rot", "q", "q_pass", "q_rot", "return", "rot_dim", "rotate_half", "shape", "sin", "torch" ]
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLVisionAttention
[ -0.00013627532462123781, 0.04298914968967438, 0.01913129724562168, 0.012660417705774307, -0.0004888327675871551, 0.024420538917183876, 0.05109182000160217, -0.005964463576674461, 0.0027430905029177666, 0.03488648310303688, 0.019581446424126625, 0.02858440950512886, -0.0017372906440868974, ...
[ "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_weights", "class", "config", "cont...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLVisionMLP
[ -0.00018702757370192558, 0.037391263991594315, 0.032375361770391464, 0.03419932723045349, -0.000566426373552531, 0.04742306470870972, 0.0314633809030056, -0.033971332013607025, 0.003320184536278248, -0.00031349383061751723, 0.04947502538561821, -0.020063605159521103, 0.00193796178791672, -...
[ "ACT2FN", "Linear", "ModelVisionMLP", "Module", "__init__", "activation_fn", "class", "config", "def", "fc1", "fc2", "forward", "hidden_act", "hidden_size", "hidden_states", "intermediate_size", "nn", "return", "self", "super" ]
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLVisionEncoderLayer
[ -0.00006497443246189505, 0.0316934734582901, 0.02899615839123726, 0.03304213285446167, 0, 0.04383140057325363, 0.032367803156375885, -0.019218383356928825, 0.009159639477729797, 0.027422722429037094, 0.019555548205971718, 0.020904207602143288, 0.0006918899016454816, -0.008710086345672607, ...
[ "GradientCheckpointingLayer", "LayerNorm", "ModelVisionAttention", "ModelVisionEncoderLayer", "ModelVisionMLP", "_", "__init__", "attention_mask", "class", "config", "def", "embed_dim", "eps", "forward", "hidden_size", "hidden_states", "kwargs", "layer_norm1", "layer_norm2", "l...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLVisionModel
[ -0.00007821931649232283, 0.03602108731865883, -0.01666814275085926, 0.04004829004406929, -0.00009569849498802796, 0.0349024198949337, 0.05123496428132057, -0.021254679188132286, 0.009676472283899784, 0.03713975474238396, 0.02416321448981762, 0.016891876235604286, -0.00017304385255556554, -...
[ "BaseModelOutputWithPooling", "LayerNorm", "Model3DRotaryEmbedding", "ModelPreTrainedModel", "ModelVisionAttention", "ModelVisionConfig", "ModelVisionEmbeddings", "ModelVisionEncoderLayer", "ModelVisionModel", "ModuleList", "None", "_", "__init__", "_can_record_outputs", "attention_mask"...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLMultiModalProjector
[ -0.00027736579068005085, 0.033682163804769516, 0.032544251531362534, 0.03664072975516319, -0.0006934144767001271, 0.027765026316046715, 0.02605815976858139, -0.0441509447991848, -0.00023113815404940397, 0.017182454466819763, 0.02685469761490822, 0.0018348813755437732, -0.0029585682787001133,...
[ "ACT2FN", "Linear", "ModelMultiModalProjector", "Module", "__init__", "act", "class", "config", "def", "forward", "gelu", "hidden_size", "hidden_states", "image_features", "linear_1", "linear_2", "merge_act", "merge_linear_1", "merge_linear_2", "merged_hidden_size", "nn", "...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLModelOutputWithPast
[ -0.00011351254943292588, 0.032438188791275024, 0.004477146081626415, 0.015881197527050972, -0.0008799422066658735, 0.031086599454283714, 0.04527830705046654, -0.05856895446777344, 0.016331728547811508, 0, 0.028721313923597336, 0.03288872167468071, -0.002717261668294668, 0.00147126335650682...
[ "BaseModelOutputWithPast", "ModelModelOutputWithPast", "None", "class", "image_hidden_states", "r", "video_hidden_states" ]
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLCausalLMOutputWithPast
[ -0.00021473229571711272, 0.0313473679125309, 0.021693285554647446, 0.007013405207544565, -0.0011854642070829868, 0.03293744847178459, 0.04134218022227287, -0.051109835505485535, 0.017831653356552124, -0.0006069293012842536, 0.0261228047311306, 0.02089824341237545, -0.001206760061904788, -0...
[ "ModelCausalLMOutputWithPast", "ModelOutput", "None", "attentions", "class", "hidden_states", "image_hidden_states", "logits", "loss", "past_key_values", "r", "video_hidden_states" ]
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3VLModel
[ -0.0001004711739369668, 0.041197530925273895, -0.012860310263931751, 0.013082998804748058, -0.00019050377886742353, 0.04097484052181244, 0.03741180896759033, -0.04498324915766716, 0.001120405737310648, 0.018149182200431824, 0.03073113039135933, 0.015031530521810055, -0.0016284158919006586, ...
[ "Image", "ModelConfig", "ModelModel", "ModelModelOutputWithPast", "ModelMultiModalProjector", "ModelPreTrainedModel", "ModelTextModel", "ModelVisionModel", "None", "Obtains", "ValueError", "Video", "You", "__init__", "all", "and", "apply", "attention_mask", "attentions", "auto_...
minimax_m3_vl/modeling_minimax_m3_vl.py:MiniMaxM3SparseForConditionalGeneration
[ -0.00022315648675430566, 0.04363324120640755, 0.011751736514270306, -0.002923876978456974, -0.0008047690498642623, 0.04723186045885086, 0.026989635080099106, -0.06927339732646942, 0.001897708629257977, 0.026089979335665703, 0.04273358732461929, 0.019005201756954193, 0.0004463129735086113, ...
[ "GenerationMixin", "Linear", "ModelCausalLMOutputWithPast", "ModelConfig", "ModelMaxM3SparseForConditionalGeneration", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "_tied_weights_keys", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "config"...
laguna/modeling_laguna.py:LagunaRMSNorm
[ -0.00009835940727498382, 0.04200431704521179, 0.031616151332855225, 0.04855337738990784, -0.00046577368630096316, 0.03839104250073433, 0.02461543306708336, -0.029357856139540672, 0.008355697616934776, 0.04358512535691261, 0.019873009994626045, 0.005194082390516996, 0.002427669009193778, 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", ...
laguna/modeling_laguna.py:LagunaRotaryEmbedding
[ -0.0003744052373804152, 0.04768894985318184, -0.0023198442067950964, -0.009338106960058212, -0.0019234151113778353, 0.042520686984062195, 0.03876195475459099, 0.004199211485683918, -0.009044455364346504, 0.024079395458102226, -0.001872026128694415, -0.003817465156316757, -0.00106448540464043...
[ "False", "ModelRotaryEmbedding", "Module", "None", "ROPE_INIT_FUNCTIONS", "Tensor", "__init__", "_attention_scaling", "_inv_freq", "_original_inv_freq", "and", "arange", "attention_factor", "attention_scaling", "base", "cat", "class", "clone", "compute_default_rope_parameters", ...
laguna/modeling_laguna.py:LagunaMLP
[ -0.00025212590117007494, 0.028699131682515144, 0.02316676825284958, 0.027892328798770905, -0.0009364676661789417, 0.05901186913251877, 0.030658509582281113, -0.005762877874076366, -0.0017648813081905246, -0.005503548309206963, 0.028238100931048393, -0.04933023452758789, -0.002492444589734077...
[ "ACT2FN", "Linear", "ModelMLP", "Module", "None", "__init__", "act_fn", "class", "config", "def", "down_proj", "else", "forward", "gate_proj", "hidden_act", "hidden_size", "if", "intermediate_size", "is", "nn", "return", "self", "super", "up_proj", "x" ]
laguna/modeling_laguna.py:LagunaTopKRouter
[ -0.0004463990044314414, 0.04291357845067978, 0, -0.014640405774116516, -0.0016225955914705992, 0.0616438128054142, 0.06685982644557953, -0.008772389031946659, -0.007379475515335798, 0.0049789235927164555, 0.019678601995110512, -0.022760793566703796, -0.00169668672606349, 0.0076462039723992...
[ "F", "False", "ModelTopKRouter", "Module", "Parameter", "True", "_", "__init__", "class", "config", "def", "dim", "dtype", "e_score_correction_bias", "float", "forward", "gather", "hidden_dim", "hidden_size", "hidden_states", "if", "keepdim", "linear", "moe_router_logit...
laguna/modeling_laguna.py:LagunaExperts
[ -0.0003700451925396919, 0.038924358785152435, -0.009731089696288109, -0.0008353495504707098, -0.001531474175862968, 0.06237277016043663, 0.059793442487716675, -0.012427656911313534, -0.004513818770647049, -0.020634600892663002, 0.015006981790065765, -0.02262771502137184, -0.00211035693064332...
[ "ACT2FN", "ModelExperts", "Module", "None", "Parameter", "__init__", "act_fn", "chunk", "class", "config", "continue", "current_hidden_states", "current_state", "def", "dim", "down_proj", "dtype", "empty", "expert_hit", "expert_idx", "expert_mask", "final_hidden_states", ...
laguna/modeling_laguna.py:LagunaSparseMoeBlock
[ -0.00044831432751379907, 0.027025355026125908, 0.006012248806655407, -0.00458359532058239, -0.0017560528358444571, 0.05714612454175949, 0.03595443814992905, -0.03928796201944351, -0.004732413683086634, -0.008095701225101948, 0.014762748964130878, -0.03262091428041458, 0.0004985404084436595, ...
[ "ModelExperts", "ModelMLP", "ModelSparseMoeBlock", "ModelTopKRouter", "Module", "_", "__init__", "batch_size", "class", "config", "def", "experts", "forward", "gate", "hidden_dim", "hidden_states", "intermediate_size", "moe_routed_scaling_factor", "nn", "reshape", "return", ...
laguna/modeling_laguna.py:rotate_half
[ 0, 0.01424520555883646, 0.034771762788295746, 0.003014487447217107, 0.0002628913498483598, 0.028714744374155998, 0.019853554666042328, -0.01873188465833664, 0.014581706374883652, 0.01873188465833664, -0.001486212364397943, -0.01278703473508358, 0.00042237876914441586, 0.010263278149068356,...
[ "Model_half", "cat", "def", "dim", "return", "shape", "torch", "x", "x1", "x2" ]
laguna/modeling_laguna.py:apply_rotary_pos_emb
[ -0.00016895844601094723, 0.02868380770087242, 0.0217405054718256, -0.006801021751016378, -0.0008679128368385136, 0.022878751158714294, 0.042115114629268646, -0.0014797202311456203, 0.011553200893104076, 0.03346444293856621, 0.003073265077546239, 0.0073416889645159245, -0.0010884481016546488,...
[ "Model_rotary_pos_emb", "cat", "cos", "def", "dim", "k", "k_embed", "k_pass", "k_rot", "q", "q_embed", "q_pass", "q_rot", "return", "rotary_dim", "rotate_half", "shape", "sin", "torch", "unsqueeze", "unsqueeze_dim" ]
laguna/modeling_laguna.py:repeat_kv
[ -0.0002072998322546482, -0.00195862608961761, -0.003717100480571389, -0.009378530085086823, -0.00046463756007142365, 0.03248174116015434, 0.010007577948272228, -0.05787239596247673, 0.011380046606063843, 0.05192503333091736, 0.006519222632050514, -0.021959485486149788, 0.0005682875053025782,...
[ "Model_kv", "None", "batch", "def", "expand", "head_dim", "hidden_states", "if", "n_rep", "num_key_value_heads", "reshape", "return", "shape", "slen" ]
laguna/modeling_laguna.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",...
laguna/modeling_laguna.py:LagunaAttention
[ -0.0000704288759152405, 0.027608118951320648, 0.01295891311019659, 0.0011620764853432775, -0.0005986454198136926, 0.029749156907200813, 0.033580485731363297, -0.009183925576508045, 0.003281985642388463, 0.007775347679853439, 0.023213356733322144, 0.017015615478157997, 0.00019808120850939304,...
[ "ALL_ATTENTION_FUNCTIONS", "F", "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", "confi...
laguna/modeling_laguna.py:LagunaDecoderLayer
[ -0.00022903239005245268, 0.047723956406116486, 0.015794357284903526, 0.0011291828704997897, -0.0008770697750151157, 0.04045173525810242, 0.03863367810845375, -0.04408784583210945, 0.0038917751517146826, -0.010510633699595928, 0.0021731446031481028, 0.01533984299749136, -0.0013493380974978209...
[ "False", "GradientCheckpointingLayer", "ModelAttention", "ModelDecoderLayer", "ModelMLP", "ModelRMSNorm", "ModelSparseMoeBlock", "None", "Tensor", "_", "__init__", "attention_mask", "class", "config", "def", "else", "eps", "forward", "hidden_size", "hidden_states", "if", "i...
laguna/modeling_laguna.py:LagunaPreTrainedModel
[ -0.00036038755206391215, 0.041957080364227295, -0.011010835878551006, -0.0017820169450715184, -0.0013473785948008299, 0.04914310202002525, 0.032684799283742905, -0.01298119593411684, -0.011010835878551006, 0.0006628233822993934, 0.0008475446375086904, -0.011126739904284477, -0.00344813033007...
[ "ModelAttention", "ModelConfig", "ModelDecoderLayer", "ModelExperts", "ModelPreTrainedModel", "ModelRotaryEmbedding", "ModelTopKRouter", "OutputRecorder", "PreTrainedModel", "ROPE_INIT_FUNCTIONS", "True", "_", "_can_compile_fullgraph", "_can_record_outputs", "_init_weights", "_inv_freq...
laguna/modeling_laguna.py:LagunaModel
[ -0.00023787534155417234, 0.05173877999186516, -0.006009482312947512, -0.010301969945430756, -0.0012591296108439565, 0.04853372275829315, 0.03937641903758049, -0.0163686852902174, 0.008413275703787804, -0.0011232008691877127, 0.018200146034359932, -0.011675565503537655, -0.0009300389210693538...
[ "DynamicCache", "Embedding", "False", "ModelDecoderLayer", "ModelModel", "ModelPreTrainedModel", "ModelRMSNorm", "ModelRotaryEmbedding", "ModuleList", "MoeModelOutputWithPast", "None", "ValueError", "You", "__init__", "and", "arange", "attention_mask", "auto_docstring", "capture_...
laguna/modeling_laguna.py:load_balancing_loss_func
[ -0.00025320221902802587, 0.01882968656718731, 0.00164046511054039, -0.028872186318039894, -0.0009414842934347689, 0.05774437263607979, 0.03811585158109665, -0.009414843283593655, 0.0002219977177446708, -0.022823862731456757, 0.03195340558886528, -0.005905674304813147, -0.00099854392465204, ...
[ "Model_balancing_loss_func", "None", "_", "attention_mask", "batch_size", "cat", "compute_device", "concatenated_gate_logits", "def", "device", "dim", "else", "expand", "expert_attention_mask", "expert_mask", "float", "for", "functional", "gate_logits", "if", "in", "is", ...
laguna/modeling_laguna.py:LagunaForCausalLM
[ -0.00043187171104364097, 0.04028850793838501, -0.0021227593533694744, -0.009603655897080898, -0.0017494464991614223, 0.048018280416727066, 0.03888309374451637, -0.003835606388747692, -0.006617153063416481, 0.009427979588508606, 0.02787402644753456, -0.006734271068125963, 0.000065878739405889...
[ "GenerationMixin", "Linear", "ModelForCausalLM", "ModelModel", "ModelPreTrainedModel", "MoeCausalLMOutputWithPast", "None", "__init__", "_fsdp_plan", "_pp_plan", "_tied_weights_keys", "_tp_plan", "attention_mask", "attentions", "auto_docstring", "aux_loss", "can_return_tuple", "cla...
dinat/modeling_dinat.py:DinatEncoderOutput
[ -0.00020603764278348535, 0.026372818276286125, 0.03310873359441757, 0.02020774409174919, -0.0011131383944302797, 0.03813212737441063, 0.037447117269039154, -0.051147282123565674, 0.015070181339979172, 0.017924383282661438, -0.004538179840892553, 0.03562042862176895, -0.0030111821833997965, ...
[ "ModelEncoderOutput", "ModelOutput", "None", "attentions", "class", "hidden_states", "last_hidden_state", "r", "reshaped_hidden_states" ]
dinat/modeling_dinat.py:DinatModelOutput
[ -0.0002029311581281945, 0.02472199872136116, 0.026886597275733948, 0.017544643953442574, -0.0010039751650765538, 0.04488694667816162, 0.03303861618041992, -0.02244347333908081, 0.015038266777992249, 0.005297570955008268, -0.000389841414289549, 0.016291456297039986, -0.0014525598380714655, ...
[ "ModelModelOutput", "ModelOutput", "None", "attentions", "class", "hidden_states", "last_hidden_state", "pooler_output", "r", "reshaped_hidden_states" ]
dinat/modeling_dinat.py:DinatImageClassifierOutput
[ -0.00021742016542702913, 0.033938758075237274, 0.02635910175740719, 0.017421895638108253, -0.000883821863681078, 0.03348624333739281, 0.04457290470600128, -0.018326928839087486, 0.013462373986840248, -0.006250387988984585, 0.023304615169763565, 0.017308766022324562, -0.0032807467505335808, ...
[ "ModelImageClassifierOutput", "ModelOutput", "None", "attentions", "class", "hidden_states", "logits", "loss", "r", "reshaped_hidden_states" ]
dinat/modeling_dinat.py:DinatEmbeddings
[ 0.00005406180935096927, 0.01991584338247776, 0.022953853011131287, 0.0384814590215683, 0.00018460130377206951, 0.014402418397367, 0.02149110846221447, -0.006357317324727774, 0.011758224107325077, 0.014177380129694939, 0.025654306635260582, 0.012208299711346626, 0.0007700511487200856, -0.03...
[ "Dropout", "LayerNorm", "ModelEmbeddings", "ModelPatchEmbeddings", "Module", "__init__", "class", "config", "def", "dropout", "embed_dim", "embeddings", "forward", "hidden_dropout_prob", "nn", "norm", "patch_embeddings", "pixel_values", "return", "self", "super" ]
dinat/modeling_dinat.py:DinatPatchEmbeddings
[ -0.00010337297135265544, 0.012049329467117786, 0.01970684714615345, 0.004110285546630621, 0.00009809435141505674, -0.0019284557783976197, 0.009740812703967094, -0.01734202541410923, 0.006221733056008816, -0.0030123323667794466, 0.015540257096290588, 0.003195324447005987, -0.00202699005603790...
[ "Conv2d", "Make", "ModelPatchEmbeddings", "Module", "Sequential", "ValueError", "_", "__init__", "channel", "class", "config", "configuration", "def", "dimension", "else", "embed_dim", "embeddings", "forward", "height", "hidden_size", "if", "in", "kernel_size", "match",...
dinat/modeling_dinat.py:DinatDownsampler
[ -0.00007646272570127621, 0.05861152336001396, 0.03691183775663376, 0.026733117178082466, 0.0001870059932116419, 0.02639755606651306, 0.011800602078437805, -0.012192090973258018, 0.0100668640807271, 0.02930576168000698, -0.004558052401989698, -0.0028103329241275787, 0.003579329699277878, 0....
[ "Conv2d", "LayerNorm", "ModelDownsampler", "Module", "__init__", "class", "def", "dim", "forward", "input_feature", "kernel_size", "nn", "norm", "norm_layer", "padding", "permute", "reduction", "return", "self", "stride", "super" ]
dinat/modeling_dinat.py:NeighborhoodAttention
[ -0.00007154783816076815, 0.02056363970041275, 0.03011505678296089, -0.0194399431347847, -0.0001018349576042965, 0.031912971287965775, 0.023934727534651756, -0.02685633674263954, 0.008371535688638687, 0.018990464508533478, 0.026743967086076736, 0.014608049765229225, 0.001629359321668744, -0...
[ "Dropout", "False", "Linear", "ModelAttention", "Module", "Parameter", "The", "ValueError", "__init__", "a", "all_head_size", "attention", "attention_head_size", "attention_probs", "attention_probs_dropout_prob", "attention_scores", "class", "config", "context_layer", "contiguo...
dinat/modeling_dinat.py:NeighborhoodAttentionOutput
[ -0.0000909648442757316, 0.0423196442425251, 0.07030882686376572, -0.0053459336049854755, -0.0004828133969567716, 0.030004402622580528, 0.03560223802924156, -0.03940876945853233, 0.00045482421410270035, 0.00722120888531208, 0.011195672675967216, 0.030004402622580528, 0.0021551670506596565, ...
[ "Dropout", "Linear", "ModelAttentionOutput", "Module", "__init__", "attention_probs_dropout_prob", "class", "config", "def", "dense", "dim", "dropout", "forward", "hidden_states", "input_tensor", "nn", "return", "self", "super" ]
dinat/modeling_dinat.py:NeighborhoodAttentionModule
[ 0.00003225555701646954, 0.03325438126921654, 0.03235561400651932, -0.01595311425626278, 0.0000921587270568125, 0.03887167572975159, 0.0314568467438221, -0.03797290846705437, 0.011234587989747524, -0.0006881185108795762, 0.024266710504889488, 0.013481505215168, 0.0024435229133814573, -0.010...
[ "False", "ModelAttention", "ModelAttentionModule", "ModelAttentionOutput", "Module", "__init__", "attention_output", "class", "config", "def", "dilation", "dim", "forward", "hidden_states", "kernel_size", "nn", "num_heads", "output", "output_attentions", "outputs", "return", ...