identifier
stringlengths
24
117
embedding
listlengths
2.56k
2.56k
tokens
listlengths
4
444
dinat/modeling_dinat.py:DinatIntermediate
[ -0.0002830903686117381, 0.023965928703546524, 0.03944631293416023, 0.016397740691900253, -0.0010176919167861342, 0.04265705868601799, 0.029240725561976433, -0.01857645995914936, -0.004386108834296465, -0.0025513966102153063, 0.020984521135687828, -0.025800639763474464, -0.0019637153018265963...
[ "ACT2FN", "Linear", "ModelIntermediate", "Module", "__init__", "class", "config", "def", "dense", "dim", "else", "forward", "hidden_act", "hidden_states", "if", "int", "intermediate_act_fn", "isinstance", "mlp_ratio", "nn", "return", "self", "str", "super" ]
dinat/modeling_dinat.py:DinatOutput
[ -0.0002648142690304667, 0.04443154111504555, 0.05130239948630333, 0.02393348515033722, -0.0011880856472998857, 0.03664457052946091, 0.04603474214673042, -0.020498055964708328, -0.00046163570368662477, 0.009332913905382156, 0.008416799828410149, -0.007300285622477531, -0.000048981695726979524...
[ "Dropout", "Linear", "ModelOutput", "Module", "__init__", "class", "config", "def", "dense", "dim", "dropout", "forward", "hidden_dropout_prob", "hidden_states", "int", "mlp_ratio", "nn", "return", "self", "super" ]
dinat/modeling_dinat.py:DinatDropPath
[ 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", ...
dinat/modeling_dinat.py:DinatLayer
[ -0.0002519152476452291, 0.015214262530207634, 0.017257969826459885, -0.006244659889489412, -0.0007131685269996524, 0.049276042729616165, 0.021231843158602715, -0.02747650258243084, 0.004797033965587616, 0.0017811473226174712, 0.012602859176695347, -0.0019017828162759542, 0.002143053803592920...
[ "False", "Identity", "LayerNorm", "ModelDropPath", "ModelIntermediate", "ModelLayer", "ModelOutput", "Module", "NeighborhoodAttentionModule", "None", "Parameter", "True", "_", "__init__", "attention", "attention_output", "attention_outputs", "batch_size", "channels", "chunk_siz...
dinat/modeling_dinat.py:DinatStage
[ -0.00017900083912536502, -0.0024386649020016193, -0.010945634916424751, 0.014518562704324722, 0, 0.04650476947426796, 0.026995452120900154, -0.033120471984148026, 0.003601283999159932, 0.010151650756597519, 0.028016287833452225, -0.017467645928263664, -0.0017013940960168839, -0.00031901139...
[ "False", "LayerNorm", "ModelLayer", "ModelStage", "Module", "ModuleList", "None", "_", "__init__", "class", "config", "def", "depth", "dilation", "dilations", "dim", "downsample", "drop_path_rate", "else", "enumerate", "for", "forward", "height", "hidden_states", "hid...
dinat/modeling_dinat.py:DinatEncoder
[ -0.00021424845908768475, 0.020482508465647697, 0.008363691158592701, 0.02617209404706955, -0.0007111981976777315, 0.03664093092083931, 0.01695496402680874, -0.04346843436360359, 0.0009601175552234054, 0.006173200439661741, 0.01018435787409544, 0.00189178716391325, -0.0019486830569803715, 0...
[ "False", "ModelDownsampler", "ModelEncoder", "ModelEncoderOutput", "ModelStage", "Module", "ModuleList", "None", "True", "__init__", "all_hidden_states", "all_reshaped_hidden_states", "all_self_attentions", "and", "attentions", "class", "config", "cpu", "def", "depth", "depth...
dinat/modeling_dinat.py:DinatPreTrainedModel
[ -0.00016953411977738142, 0.0336298868060112, 0.008123436011373997, 0.03658386692404747, -0.0011716494336724281, 0.02613133192062378, 0.03567494824528694, -0.008293857797980309, 0.0002130271604983136, 0.030675912275910378, 0.018405547365546227, -0.008180242963135242, -0.003635663539171219, ...
[ "Model", "ModelConfig", "ModelPreTrainedModel", "PreTrainedModel", "base_model_prefix", "class", "config", "image", "input_modalities", "main_input_name", "pixel_values" ]
dinat/modeling_dinat.py:DinatModel
[ 0.000011404424185457174, 0.028072427958250046, 0.007860279642045498, 0.03660644590854645, 0.00029300598544068635, 0.030542802065610886, 0.015383690595626831, -0.014934532344341278, 0.008253294043242931, 0.025714345276355743, 0.020549017935991287, -0.00586713757365942, 0.0016843457706272602, ...
[ "AdaptiveAvgPool1d", "LayerNorm", "ModelEmbeddings", "ModelEncoder", "ModelModel", "ModelModelOutput", "ModelPreTrainedModel", "None", "True", "__init__", "add_pooling_layer", "attentions", "auto_docstring", "class", "config", "def", "depths", "else", "embed_dim", "embedding_ou...
dinat/modeling_dinat.py:DinatForImageClassification
[ -0.00008664380584377795, 0.033438414335250854, 0.022515198215842247, 0.026639267802238464, -0.00009273934847442433, 0.005907452665269375, 0.025970499962568283, -0.004987896420061588, 0.00629756785929203, 0.009975792840123177, 0.04324701428413391, 0.00043017123243771493, 0.001637088949792087,...
[ "Identity", "Linear", "Model", "ModelForImageClassification", "ModelImageClassifierOutput", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "attentions", "auto_docstring", "class", "classifier", "config", "def", "else", "forward", "hidden_states", "if", "is", "kwarg...
dinat/modeling_dinat.py:DinatBackbone
[ -0.0002475912915542722, 0.0035653146915137768, 0.03486085310578346, 0.03712454438209534, -0.0007074036984704435, 0.023995133116841316, 0.013468965888023376, -0.018675457686185837, 0.0014289554674178362, 0.010469574481248856, 0.007866328582167625, -0.0007038666517473757, -0.000167124118888750...
[ "BackboneMixin", "BackboneOutput", "LayerNorm", "ModelBackbone", "ModelEmbeddings", "ModelEncoder", "ModelPreTrainedModel", "ModuleDict", "None", "True", "__init__", "attentions", "auto_docstring", "batch_size", "can_return_tuple", "channels", "class", "config", "contiguous", "...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerPreTrainedModel
[ -0.00006129968824097887, 0.05021670460700989, -0.012217903509736061, -0.01188163086771965, -0.00020929465244989842, 0.017486173659563065, 0.01950380951166153, -0.04259452596306801, 0.006641383282840252, -0.018494991585612297, 0.02746226079761982, 0.02791062369942665, -0.000570962845813483, ...
[ "AttributeError", "Conv1d", "ConvTranspose1d", "DacResidualUnit", "Embedding", "GroupNorm", "LayerNorm", "Linear", "Model", "ModelConfig", "ModelEuclideanCodebook", "ModelModel", "ModelPreTrainedModel", "ModelResidualVectorQuantization", "None", "PreTrainedAudioTokenizerBase", "Snake...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerEuclideanCodebook
[ -0.0002127298794221133, 0.0041869510896503925, 0.018114972859621048, 0.0058674281463027, -0.0008616005070507526, 0.008886590600013733, 0.04557225853204727, -0.03896428272128105, 0.007690318860113621, 0.0005198085564188659, 0.03577422350645065, 0.0020080276299268007, -0.0013814091216772795, ...
[ "F", "ModelEuclideanCodebook", "Module", "Tensor", "True", "__init__", "class", "clone", "cluster_size", "codebook_dim", "codebook_size", "config", "decode", "def", "device", "dim", "dist", "embed", "embed_avg", "embed_ind", "embedding", "encode", "hidden_states", "indi...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerVectorQuantization
[ -0.00018737609207164496, 0.009955680929124355, 0.015951715409755707, 0.007749591954052448, -0.00047020791680552065, 0.014820387586951256, 0.043895501643419266, -0.03756006807088852, 0.0035353978164494038, 0.01844063587486744, 0.04095404967665672, 0.0015272918390110135, -0.0042141941376030445...
[ "Linear", "ModelEuclideanCodebook", "ModelVectorQuantization", "Module", "__init__", "class", "codebook", "codebook_dim", "config", "decode", "def", "embed_in", "embed_ind", "encode", "hidden_size", "hidden_states", "nn", "permute", "project_in", "project_out", "quantize", ...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerOutput
[ -0.000046458564611384645, 0.032621875405311584, -0.021861188113689423, 0.014441976323723793, -0.00029910466400906444, 0.019595779478549957, 0.07068073004484177, -0.04326929524540901, 0.011666851118206978, -0.015178234316408634, 0.02242754027247429, 0.02831760048866272, -0.006399777717888355,...
[ "ModelOutput", "None", "audio_codes", "audio_values", "class" ]
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerEncoderOutput
[ -0.000043528154492378235, 0.02262580208480358, -0.0009262437815777957, 0.011821981519460678, -0.0002775196044240147, 0.02726409025490284, 0.061089664697647095, -0.05611198768019676, 0.01131290104240179, -0.020928867161273956, 0.017308738082647324, 0.036427538841962814, -0.008314982056617737,...
[ "ModelEncoderOutput", "ModelOutput", "None", "audio_codes", "class" ]
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerDecoderOutput
[ -0.00011499338870635256, 0.04664839431643486, -0.006623619236052036, 0.008944716304540634, -0.000785493291914463, 0.01483237836509943, 0.07608670741319656, -0.06023530662059784, 0.007189740426838398, -0.022078732028603554, 0.011322426609694958, 0.02581513114273548, -0.007189740426838398, -...
[ "ModelDecoderOutput", "ModelOutput", "None", "audio_values", "class" ]
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerResidualUnit
[ -0.00009467654308537021, 0.009457036852836609, 0.014950046315789223, -0.007475023157894611, 0, 0.06387747079133987, 0.009060634300112724, -0.04620923474431038, 0.006144242361187935, -0.00520986458286643, 0.01721520535647869, -0.03556298837065697, 0.0032844797242432833, 0.006002670153975487...
[ "Conv1d", "ELU", "ModelResidualUnit", "Module", "__init__", "activation", "class", "config", "conv1", "conv2", "def", "dilation", "forward", "groups", "hidden_state", "in_channels", "kernel_size", "nn", "out_channels", "output_tensor", "padding", "return", "self", "stri...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerSemanticEncoderBlock
[ -0.00012297711509745568, -0.0025094461161643267, 0.0021387324668467045, -0.01950524002313614, 0, 0.055664077401161194, 0.010608113370835781, -0.05064518377184868, 0.011235474608838558, -0.0007948955753818154, 0.029200827702879906, -0.02395380288362503, 0.00402081711217761, -0.0176801886409...
[ "Conv1d", "ModelResidualUnit", "ModelSemanticEncoderBlock", "Module", "ModuleList", "__init__", "block_dilations", "class", "config", "conv", "def", "dilation", "else", "for", "forward", "hidden_state", "if", "in", "in_channels", "kernel", "kernel_size", "nn", "out_channe...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:SemanticEncoder
[ 0, 0.008429878391325474, 0.019122812896966934, -0.006195112131536007, 0.0001997852959902957, 0.043450649827718735, -0.0024186396040022373, -0.04910828545689583, 0.012673106044530869, 0.008260149508714676, 0.03598256781697273, -0.021046409383416176, 0.003055123845115304, -0.0096179824322462...
[ "Conv1d", "ModelEncoder", "ModelModelEncoderBlock", "Model_hidden_size", "Module", "ModuleList", "Number", "ValueError", "__init__", "block", "channel_ratios", "class", "config", "conv", "conv_blocks", "def", "enumerate", "for", "forward", "hidden_state", "i", "if", "in",...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:SemanticDecoderBlock
[ -0.0002285091468365863, 0.016325118020176888, 0.01473795436322689, -0.0321967639029026, -0.0006872988305985928, 0.042626697570085526, 0.018365759402513504, -0.07346303761005402, 0.00804919097572565, -0.010033145546913147, 0.011506941169500351, -0.021993562579154968, 0.0014454532647505403, ...
[ "Conv1d", "ConvTranspose1d", "ModelDecoderBlock", "ModelResidualUnit", "Module", "ModuleList", "__init__", "block_dilations", "class", "config", "conv", "def", "dilation", "else", "for", "forward", "hidden_state", "if", "in", "in_channels", "kernel_size", "nn", "out_chann...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:SemanticDecoder
[ -0.0001548963482491672, 0.03942815959453583, 0.008392564952373505, -0.011603143997490406, -0.0005703001515939832, 0.030641311779618263, 0.025459326803684235, -0.06578870117664337, 0.009406432509422302, -0.014532092958688736, 0.01374353002756834, -0.02489606663584709, -0.0005808612913824618, ...
[ "Conv1d", "ModelDecoder", "ModelDecoderBlock", "Model_hidden_size", "Module", "ModuleList", "__init__", "block", "channel_ratios", "class", "config", "conv1", "conv2", "conv_blocks", "def", "else", "enumerate", "for", "forward", "hidden_state", "i", "if", "in", "in_chan...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerResidualVectorQuantization
[ -0.0001343022013315931, 0.010687626898288727, -0.011931689456105232, -0.0024457136169075966, -0.0002862757246475667, 0.04410766810178757, 0.025899117812514305, -0.041619542986154556, 0.006305134389549494, -0.0022195205092430115, 0.02940511144697666, 0.012214431539177895, 0.000576085702050477...
[ "ModelResidualVectorQuantization", "ModelVectorQuantization", "Module", "ModuleList", "None", "_", "__init__", "all_indices", "and", "append", "bandwidth", "bw_per_q", "class", "codebook_size", "codes", "config", "decode", "def", "device", "embeddings", "encode", "enumerate...
higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py:HiggsAudioV2TokenizerModel
[ -0.0000837839106679894, 0.05125105753540993, -0.0206584669649601, -0.009313243441283703, -0.00010230456246063113, 0.02980237826704979, 0.03160858154296875, -0.0322859100997448, 0.004571955651044846, -0.022803334519267082, 0.04583244398236275, 0.028673499822616577, -0.003584187477827072, -0...
[ "Audio", "AutoModel", "ConvTranspose1d", "F", "False", "Identity", "Linear", "ModelDecoderOutput", "ModelEncoderOutput", "ModelModel", "ModelOutput", "ModelPreTrainedModel", "ModelResidualVectorQuantization", "None", "Select", "SemanticDecoder", "SemanticEncoder", "Tanh", "This",...
swiftformer/modeling_swiftformer.py:SwiftFormerPatchEmbedding
[ -0.000043357507820473984, 0.0016268970211967826, 0.01915653608739376, 0.00816969946026802, 0.00018487466149963439, 0.018480421975255013, 0.0042257062159478664, 0.005662446841597557, 0.011324893683195114, -0.013747631572186947, 0.00709918700158596, -0.0055779325775802135, -0.00120432628318667...
[ "BatchNorm2d", "Conv2d", "ModelPatchEmbedding", "Module", "ReLU", "Sequential", "__init__", "batch_norm_eps", "class", "config", "def", "embed_dims", "eps", "forward", "in_chs", "kernel_size", "nn", "num_channels", "out_chs", "padding", "patch_embedding", "return", "self"...
swiftformer/modeling_swiftformer.py:SwiftFormerEmbeddings
[ 0, 0.002190377563238144, 0.020914573222398758, 0.020462365821003914, 0.0005687915836460888, 0.030297867953777313, 0.011361700482666492, 0, 0.014244520105421543, -0.008478880859911442, 0.018314383924007416, 0.010966019704937935, -0.0005687915836460888, 0.0015756586799398065, -0.0192187968...
[ "BatchNorm2d", "Conv2d", "Iterable", "ModelEmbeddings", "Module", "__init__", "abc", "batch_norm_eps", "class", "collections", "config", "def", "down_pad", "down_patch_size", "down_stride", "else", "embed_dim", "embed_dims", "eps", "forward", "if", "in_chans", "index", ...
swiftformer/modeling_swiftformer.py:SwiftFormerConvEncoder
[ 0.000011176949556102045, 0.014463083818554878, 0.02357368730008602, -0.009053662419319153, 0, 0.04281983897089958, 0.009395310655236244, -0.03667018190026283, 0.015715792775154114, 0.0037296535447239876, 0.02505416050553322, -0.009736957959830761, 0.0007651483756490052, -0.0015943556791171...
[ "BatchNorm2d", "Conv2d", "Dropout", "GELU", "ModelConvEncoder", "Module", "Parameter", "True", "__init__", "act", "batch_norm_eps", "class", "config", "def", "depth_wise_conv", "dim", "drop_conv_encoder_rate", "drop_path", "eps", "forward", "groups", "hidden_dim", "input"...
swiftformer/modeling_swiftformer.py:SwiftFormerMlp
[ -0.00011676052963593975, 0.023097356781363487, 0.027286581695079803, 0.012624289840459824, -0.00009022404992720112, 0.0543467216193676, 0.00376464263536036, -0.019474241882562637, 0.007699118927121162, -0.006255534011870623, 0.03917492926120758, -0.02966425195336342, 0.002660724800080061, ...
[ "ACT2CLS", "BatchNorm2d", "Conv2d", "Dropout", "ModelMlp", "Module", "__init__", "act", "act_layer", "batch_norm_eps", "class", "config", "def", "drop", "drop_mlp_rate", "eps", "fc1", "fc2", "forward", "hidden_act", "hidden_features", "in_features", "int", "mlp_ratio", ...
swiftformer/modeling_swiftformer.py:SwiftFormerEfficientAdditiveAttention
[ -0.000022165486370795406, 0.03932727873325348, 0.0498894639313221, 0.007584546692669392, 0, 0.021910913288593292, 0.037978917360305786, -0.002907409565523267, 0.008258728310465813, 0.006601364817470312, 0.043821826577186584, 0.031012369319796562, 0.002008500276133418, -0.02348400466144085,...
[ "Linear", "ModelEfficientAdditiveAttention", "Module", "Parameter", "__init__", "class", "config", "def", "dim", "final", "forward", "functional", "global_queries", "key", "nn", "normalize", "out", "proj", "query", "query_weight", "randn", "repeat", "return", "scale_fac...
swiftformer/modeling_swiftformer.py:SwiftFormerLocalRepresentation
[ -0.00017608338384889066, 0.002116575837135315, 0.014873236417770386, -0.006292522884905338, -0.00040222093230113387, 0.06315404921770096, 0.014072369784116745, -0.0370686799287796, 0.012299022637307644, 0.01739024557173252, 0.012699455954134464, -0.007722641807049513, 0.0023596961982548237, ...
[ "BatchNorm2d", "Conv2d", "GELU", "Identity", "ModelLocalRepresentation", "Module", "Parameter", "True", "__init__", "act", "batch_norm_eps", "class", "config", "def", "depth_wise_conv", "dim", "drop_path", "eps", "forward", "groups", "input", "kernel_size", "layer_scale",...
swiftformer/modeling_swiftformer.py:SwiftFormerDropPath
[ 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", ...
swiftformer/modeling_swiftformer.py:SwiftFormerEncoderBlock
[ -0.0002888156450353563, 0.008664469234645367, 0.024607092142105103, 0.006844930816441774, -0.0012274665059521794, 0.05568365380167961, 0.004389997571706772, -0.04320681840181351, 0.0012058053398504853, 0.017559990286827087, 0.006094010081142187, -0.0014296374283730984, 0.0012202460784465075,...
[ "Identity", "ModelDropPath", "ModelEfficientAdditiveAttention", "ModelEncoderBlock", "ModelLocalRepresentation", "ModelMlp", "Module", "Parameter", "True", "__init__", "attn", "batch_size", "channels", "class", "config", "def", "dim", "drop_path", "else", "forward", "height",...
swiftformer/modeling_swiftformer.py:SwiftFormerStage
[ -0.000046077428123680875, -0.027993911877274513, -0.001467422815039754, 0.015351499430835247, 0.00019665581930894405, 0.047860559076070786, 0.011400746181607246, -0.022575734183192253, 0.0011570063652470708, -0.009989762678742409, 0.008748097345232964, -0.03228330239653587, -0.00110056705307...
[ "GradientCheckpointingLayer", "ModelEncoderBlock", "ModelStage", "ModuleList", "__init__", "append", "block", "block_dpr", "block_idx", "blocks", "class", "config", "def", "depth", "depths", "dim", "drop_path", "drop_path_rate", "else", "embed_dims", "for", "forward", "if...
swiftformer/modeling_swiftformer.py:SwiftFormerEncoder
[ -0.00019846220675390214, 0.01845431514084339, 0.011790256947278976, 0.036452967673540115, -0.0006941727478988469, 0.03713646158576012, 0.00871453806757927, -0.031212855130434036, 0.002349507762119174, -0.0023637472186237574, 0.025972740724682808, -0.004157916642725468, -0.0018368879100307822...
[ "BaseModelOutputWithNoAttention", "False", "ModelEmbeddings", "ModelEncoder", "ModelStage", "Module", "ModuleList", "None", "__init__", "all_hidden_states", "append", "block", "break", "class", "config", "def", "depths", "downsamples", "else", "embed_dims", "for", "forward"...
swiftformer/modeling_swiftformer.py:SwiftFormerPreTrainedModel
[ -0.00013340955774765462, 0.04291575029492378, 0.0002580421860329807, 0.018424563109874725, -0.0006214077002368867, 0.026513393968343735, 0.005167865194380283, -0.005561072379350662, -0.0017062380211427808, 0.020896149799227715, -0.00022117901244200766, -0.008425867184996605, -0.0013340956065...
[ "Conv2d", "Linear", "Model", "ModelConfig", "ModelConvEncoder", "ModelEfficientAdditiveAttention", "ModelEncoderBlock", "ModelLocalRepresentation", "ModelPreTrainedModel", "None", "PreTrainedModel", "True", "_init_weights", "_no_split_modules", "base_model_prefix", "bias", "class", ...
swiftformer/modeling_swiftformer.py:SwiftFormerModel
[ 0.00006303503323579207, 0.027679381892085075, 0.008852919563651085, 0.03070506453514099, 0.000539299740921706, 0.022300394251942635, 0.02734319679439068, -0.017929963767528534, 0.011878601275384426, 0.0072840480133891106, 0.014792220667004585, 0.012887162156403065, -0.00036945531610399485, ...
[ "BaseModelOutputWithNoAttention", "ModelEncoder", "ModelModel", "ModelPatchEmbedding", "ModelPreTrainedModel", "None", "__init__", "auto_docstring", "class", "config", "def", "else", "embedding_output", "encoder", "encoder_outputs", "forward", "hidden_states", "if", "is", "kwar...
swiftformer/modeling_swiftformer.py:SwiftFormerForImageClassification
[ -0.00019159092335030437, 0.03404194489121437, 0.012877710163593292, 0.021164236590266228, -0.0004794147389475256, 0.010190187953412533, 0.01478137169033289, 0.0058789546601474285, 0.0027015195228159428, 0.005599004216492176, 0.04367223381996155, 0.013549590483307838, -0.00022221048129722476,...
[ "BatchNorm2d", "Identity", "ImageClassifierOutputWithNoAttention", "Linear", "Model", "ModelForImageClassification", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "auto_docstring", "batch_norm_eps", "class", "cls_out", "config", "def", "dist_head", "distillation_out", ...
qwen3_moe/modeling_qwen3_moe.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" ]
qwen3_moe/modeling_qwen3_moe.py:apply_rotary_pos_emb
[ -0.00015525084745604545, 0.02736673317849636, 0.027593841776251793, 0.002838872605934739, -0.000663586484733969, 0.021348321810364723, 0.04633040353655815, -0.0014549222541972995, 0.013115591369569302, 0.03656468167901039, 0.007892065681517124, 0.0013200758257880807, -0.0007345583289861679, ...
[ "Model_rotary_pos_emb", "cos", "def", "k", "k_embed", "q", "q_embed", "return", "rotate_half", "sin", "unsqueeze", "unsqueeze_dim" ]
qwen3_moe/modeling_qwen3_moe.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" ]
qwen3_moe/modeling_qwen3_moe.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",...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeAttention
[ -0.000023068680093274452, 0.038020700216293335, 0.024072276428341866, 0.006271165329962969, -0.0002952790819108486, 0.03532100468873978, 0.038020700216293335, -0.01130497083067894, 0.004162028897553682, 0.016423141583800316, 0.023059891536831856, 0.032396335154771805, -0.00019509511184878647...
[ "ALL_ATTENTION_FUNCTIONS", "Linear", "ModelAttention", "ModelRMSNorm", "Module", "None", "Tensor", "True", "__init__", "_attn_implementation", "apply_rotary_pos_emb", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_weights", "class", "config", "...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeMLP
[ -0.00025213483604602516, 0.028930673375725746, 0.023052329197525978, 0.02835436351597309, -0.0009365008445456624, 0.059013962745666504, 0.030659597367048264, -0.005013881716877222, -0.0019738555420190096, -0.005273220129311085, 0.027893317863345146, -0.048870936036109924, -0.0024925330653786...
[ "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" ]
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeExperts
[ -0.00036803656257689, 0.03820256143808365, -0.01031234860420227, -0.0011059407843276858, -0.0015307391295209527, 0.06234283372759819, 0.05976474657654762, -0.011718577705323696, -0.004482355900108814, -0.02027313970029354, 0.01464822143316269, -0.02249966934323311, -0.002050751121714711, 0...
[ "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", ...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeTopKRouter
[ -0.0003782221465371549, 0.039202265441417694, 0.0012988701928406954, -0.003173376200720668, -0.0018007064936682582, 0.05833107978105545, 0.0774598941206932, -0.02621356211602688, -0.004014689940959215, 0.014759888872504234, 0.021372318267822266, -0.020900001749396324, -0.0016900072805583477,...
[ "F", "ModelTopKRouter", "Module", "Parameter", "True", "__init__", "class", "config", "def", "dim", "dtype", "float", "forward", "functional", "hidden_dim", "hidden_size", "hidden_states", "if", "keepdim", "linear", "nn", "norm_topk_prob", "num_experts", "num_experts_pe...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeSparseMoeBlock
[ -0.00036162836477160454, 0.018585504963994026, 0.0032290855888277292, 0.00043285818537697196, -0.001395374070852995, 0.047924887388944626, 0.03413187339901924, -0.03904125094413757, -0.00634128088131547, -0.020689524710178375, 0.014903471805155277, -0.03226163238286972, 0.0005917554954066873...
[ "ModelExperts", "ModelSparseMoeBlock", "ModelTopKRouter", "Module", "_", "__init__", "batch_size", "class", "config", "def", "experts", "final_hidden_states", "forward", "gate", "hidden_dim", "hidden_states", "hidden_states_reshaped", "nn", "reshape", "return", "routing_weigh...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeRMSNorm
[ -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", ...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeDecoderLayer
[ -0.0002782486844807863, 0.04474809393286705, 0.008846880868077278, 0.001826452906243503, -0.0009917068528011441, 0.04497640207409859, 0.04086688160896301, -0.040181964635849, 0.0016266845632344484, -0.01723714917898178, 0.006735044997185469, 0.014954082667827606, -0.0016623574774712324, 0....
[ "False", "GradientCheckpointingLayer", "ModelAttention", "ModelDecoderLayer", "ModelMLP", "ModelRMSNorm", "ModelSparseMoeBlock", "None", "Tensor", "_", "__init__", "and", "attention_mask", "class", "config", "decoder_sparse_step", "def", "else", "eps", "forward", "hidden_size...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoePreTrainedModel
[ -0.0003723972477018833, 0.03813347592949867, -0.006190876942127943, 0.0009591499692760408, -0.001496855285950005, 0.04813188686966896, 0.04069121181964874, -0.012207362800836563, -0.011916711926460266, -0.0004941075458191335, 0.001903767348267138, -0.01197484228760004, -0.004069121088832617,...
[ "ModelAttention", "ModelConfig", "ModelDecoderLayer", "ModelExperts", "ModelPreTrainedModel", "ModelTopKRouter", "OutputRecorder", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outputs", "_init_weights", "_no_split_modules", "_skip_keys_device_placement", "_supports_a...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeRotaryEmbedding
[ -0.0003748119343072176, 0.04797592759132385, 0.00013228657189756632, -0.009054280817508698, -0.0019108060514554381, 0.0378633551299572, 0.04374275729060173, 0.0032630686182528734, -0.00473291939124465, 0.024105552583932877, -0.0011317851021885872, -0.0009921492310240865, -0.00199899706058204...
[ "False", "ModelRotaryEmbedding", "Module", "None", "ROPE_INIT_FUNCTIONS", "Tensor", "__init__", "and", "arange", "attention_factor", "attention_scaling", "base", "cat", "class", "clone", "compute_default_rope_parameters", "config", "cos", "cpu", "def", "default", "deprecate...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeModel
[ -0.00022584018006455153, 0.05233065038919449, -0.007826745510101318, -0.009826279245316982, -0.0011568729532882571, 0.046846214681863785, 0.04090474545955658, -0.016339045017957687, 0.009312113747000694, -0.002570828888565302, 0.02205199934542179, -0.008512300439178944, -0.001942404080182314...
[ "DynamicCache", "Embedding", "False", "ModelDecoderLayer", "ModelModel", "ModelPreTrainedModel", "ModelRMSNorm", "ModelRotaryEmbedding", "ModuleList", "MoeModelOutputWithPast", "None", "ValueError", "You", "__init__", "and", "arange", "attention_mask", "auto_docstring", "capture_...
qwen3_moe/modeling_qwen3_moe.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", ...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeForCausalLM
[ -0.0004227238823659718, 0.0409914068877697, -0.002884038258343935, -0.009545141831040382, -0.001808013767004013, 0.04848697781562805, 0.039585985243320465, -0.0053874421864748, -0.006880700588226318, 0.009076668880879879, 0.02763991989195347, -0.007671249099075794, 0.00006633654265897349, ...
[ "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...
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeForSequenceClassification
[ -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" ]
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeForTokenClassification
[ -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" ]
qwen3_moe/modeling_qwen3_moe.py:Qwen3MoeForQuestionAnswering
[ -0.00012994326243642718, 0.03438930958509445, 0.020229004323482513, 0.02775869145989418, -0.0006462043384090066, 0.03506360948085785, 0.04203137755393982, 0.024387190118432045, -0.001411815988831222, 0.014497453346848488, 0.0045515261590480804, 0.009945927187800407, -0.0032731653191149235, ...
[ "GenericForQuestionAnswering", "ModelForQuestionAnswering", "ModelPreTrainedModel", "base_model_prefix", "class", "transformer" ]
idefics/modeling_idefics.py:IdeficsBaseModelOutputWithPast
[ -0.00021950558584649116, 0.014162572100758553, 0.02010171487927437, 0.021929144859313965, -0.0012135268189013004, 0.026954572647809982, 0.0408887155354023, -0.04294457286596298, 0.016218429431319237, -0.006367446854710579, 0.009365571662783623, 0.02718300186097622, -0.0026697590947151184, ...
[ "ModelBaseModelOutputWithPast", "ModelOutput", "None", "attentions", "class", "hidden_states", "image_hidden_states", "last_hidden_state", "past_key_values", "r" ]
idefics/modeling_idefics.py:IdeficsCausalLMOutputWithPast
[ -0.0002024024142883718, 0.026021139696240425, 0.029543651267886162, 0.009260798804461956, -0.0011860071681439877, 0.03317979350686073, 0.037270452827215195, -0.03158898279070854, 0.017839821055531502, -0.004545177333056927, 0.019657891243696213, 0.019430631771683693, -0.000909035443328321, ...
[ "ModelCausalLMOutputWithPast", "ModelOutput", "None", "attentions", "class", "hidden_states", "image_hidden_states", "logits", "loss", "past_key_values", "r" ]
idefics/modeling_idefics.py:expand_inputs_for_generation
[ -0.00013585906708613038, 0.028301307931542397, -0.0016764831962063909, 0.008183510974049568, -0.00048305446398444474, 0.047964468598365784, 0.04364539310336113, -0.04728250950574875, 0.016821661964058876, 0.021027076989412308, 0.024095892906188965, -0.0071605718694627285, -0.0005079175462014...
[ "False", "Model_inputs_for_generation", "Model_size", "Modeled_return_idx", "None", "arange", "attention_mask", "def", "device", "elif", "encoder_outputs", "get", "if", "image_attention_mask", "image_encoder_embeddings", "in", "index_select", "input_ids", "is", "is_encoder_deco...
idefics/modeling_idefics.py:freeze_model
[ -0.00009692506137071177, 0.036542512476444244, -0.010883803479373455, 0.009473984129726887, -0.0003119224857073277, 0.051430199295282364, -0.01883518323302269, -0.016692258417606354, 0.011955265887081623, -0.004426831845194101, 0, -0.015226046554744244, -0.001557850162498653, 0.01973746716...
[ "Embedding", "LayerNorm", "Linear", "Model_model", "True", "and", "any", "def", "else", "for", "if", "in", "isinstance", "m", "mapping", "model", "module", "module_exceptions", "module_exceptions_mapped", "modules", "nn", "requires_grad_", "return", "t" ]
idefics/modeling_idefics.py:IdeficsDecoupledEmbedding
[ -0.0003903736360371113, 0.02267058752477169, 0.0303045604377985, 0.005089315585792065, -0.0016699316911399364, 0.019084932282567024, 0.007807472720742226, -0.013185953721404076, -0.008327971212565899, -0.040020525455474854, 0.027875568717718124, 0.007749639451503754, -0.0008674969431012869, ...
[ "Embedding", "F", "False", "ModelDecoupledEmbedding", "None", "__init__", "additional_embedding", "additional_embeddings", "additional_vocab_indices", "and", "class", "clone", "def", "device", "dtype", "embedding", "embedding_dim", "extra_repr", "f", "forward", "full_vector",...
idefics/modeling_idefics.py:IdeficsDecoupledLinear
[ -0.000366865104297176, 0.001532201305963099, 0.017149144783616066, 0.017149144783616066, -0.0013523654779419303, 0.030154872685670853, -0.0036398773081600666, -0.025551075115799904, -0.0034240742679685354, 0.0042297388426959515, -0.0021148694213479757, -0.021292563527822495, 0.00044599288958...
[ "F", "Linear", "ModelDecoupledLinear", "None", "True", "__init__", "additional_fc", "additional_features", "bias", "cat", "class", "def", "device", "dtype", "extra_repr", "f", "forward", "if", "in_features", "input", "linear", "nn", "out_additional_features", "out_featu...
idefics/modeling_idefics.py:IdeficsRMSNorm
[ -0.00013043834769632667, 0.039032794535160065, 0.02933100238442421, 0.05234455689787865, -0.0003736882354132831, 0.034971579909324646, 0.021659817546606064, -0.032038480043411255, 0.007219939026981592, 0.04512462019920349, 0.02154700458049774, 0.004738084971904755, 0.002749781357124448, 0....
[ "ModelRMSNorm", "Module", "Parameter", "True", "__init__", "bfloat16", "class", "def", "dtype", "eps", "extra_repr", "f", "float16", "float32", "forward", "hidden_size", "hidden_states", "if", "in", "keepdim", "mean", "nn", "ones", "pow", "return", "rsqrt", "self"...
idefics/modeling_idefics.py:IdeficsEmbedding
[ -0.00027145849890075624, 0.03154633566737175, 0.03543248027563095, 0.01623036153614521, -0.0011072650086134672, 0.017601940780878067, 0.041147395968437195, 0.0029574690852314234, 0.00657215341925621, 0.009029567241668701, 0.014573035761713982, 0.004686230793595314, -0.00217166799120605, 0....
[ "False", "ModelEmbedding", "Module", "None", "__init__", "_set_cos_sin_cache", "arange", "base", "cat", "class", "cos", "cos_cached", "def", "device", "dim", "dtype", "einsum", "emb", "float", "forward", "freqs", "get_default_dtype", "i", "if", "ij", "int64", "inv...
idefics/modeling_idefics.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" ]
idefics/modeling_idefics.py:apply_rotary_pos_emb
[ -0.0001657436805544421, 0.02700115367770195, 0.013557301834225655, -0.004935084842145443, -0.0006629747222177684, 0.021442091092467308, 0.05173330008983612, 0.006495025008916855, 0.011515197344124317, 0.025299400091171265, 0.003006430808454752, 0.008565491996705532, -0.000326169392792508, ...
[ "Model_rotary_pos_emb", "cos", "def", "k", "k_embed", "position_ids", "q", "q_embed", "return", "rotate_half", "sin", "unsqueeze", "unsqueeze_dim" ]
idefics/modeling_idefics.py:IdeficsMLP
[ -0.00022040889598429203, 0.012156536802649498, 0.011583114974200726, 0.023854335770010948, -0.0007526157423853874, 0.06101205199956894, 0.04266256093978882, -0.010092219337821007, 0.0004426097439136356, -0.0117551414296031, 0.017890751361846924, -0.05114920064806938, -0.003870595246553421, ...
[ "ACT2FN", "Linear", "ModelMLP", "Module", "__init__", "act_fn", "class", "def", "down_proj", "forward", "gate_proj", "hidden_act", "hidden_size", "intermediate_size", "nn", "return", "self", "super", "up_proj", "x" ]
idefics/modeling_idefics.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", "...
idefics/modeling_idefics.py:IdeficsAttention
[ -0.00013127323472872376, 0.04014670476317406, 0.023794816806912422, -0.00532846013084054, -0.0005109964986331761, 0.026614107191562653, 0.03247823193669319, -0.026163021102547646, 0.0014448866713792086, 0.03112497366964817, 0.01268680952489376, 0.017817920073866844, -0.00021849505719728768, ...
[ "ALL_ATTENTION_FUNCTIONS", "False", "Instantiating", "Linear", "ModelAttention", "ModelEmbedding", "ModelRMSNorm", "Module", "None", "Please", "True", "ValueError", "_", "__class__", "__init__", "__name__", "_attn_implementation", "_shape", "a", "and", "apply_rotary_pos_emb",...
idefics/modeling_idefics.py:IdeficsDecoderLayer
[ -0.00014041255053598434, 0.04521460831165314, 0.013168754987418652, 0.0008936949889175594, -0.0007382697658613324, 0.03752812370657921, 0.04114529490470886, -0.033232737332582474, 0.006923486944288015, -0.005821380764245987, 0.0027552652172744274, 0.026563582941889763, -0.0020911756437271833...
[ "GradientCheckpointingLayer", "ModelAttention", "ModelDecoderLayer", "ModelMLP", "ModelRMSNorm", "None", "_", "__init__", "attention_mask", "auto_docstring", "class", "config", "def", "dropout", "eps", "forward", "functional", "hidden_act", "hidden_size", "hidden_states", "in...
idefics/modeling_idefics.py:IdeficsGatedCrossAttentionLayer
[ -0.00015606444503646344, 0.02415207400918007, 0.01952480711042881, 0.006489459425210953, -0.0005149244680069387, 0.03227800503373146, 0.012188897468149662, -0.018960507586598396, -0.0024264934472739697, 0.007900211028754711, 0.032052285969257355, 0.0028779341373592615, 0.0013966445112600923,...
[ "Alpha", "GradientCheckpointingLayer", "Model", "ModelAttention", "ModelGatedCrossAttentionLayer", "ModelMLP", "ModelRMSNorm", "None", "Parameter", "Tanh", "True", "ValueError", "_", "__init__", "act_cross_attn", "act_dense", "alpha_cross_attn", "alpha_dense", "alpha_initializer"...
idefics/modeling_idefics.py:IdeficsPreTrainedModel
[ -0.00020940836111549288, 0.05156414583325386, 0.0016184782143682241, 0.014140387997031212, -0.0011499712709337473, 0.02839435450732708, 0.019989624619483948, -0.01601441577076912, -0.0016397739527747035, -0.004713462665677071, 0.007240560371428728, -0.004855434410274029, -0.00440112501382827...
[ "False", "ModelAttention", "ModelConfig", "ModelDecoderLayer", "ModelEmbedding", "ModelGatedCrossAttentionLayer", "ModelPerceiverResampler", "ModelPreTrainedModel", "ModelVisionEmbeddings", "ModelVisionEncoderLayer", "OutputRecorder", "PreTrainedModel", "True", "_can_compile_fullgraph", ...
idefics/modeling_idefics.py:IdeficsModel
[ 0.000023079286620486528, 0.05373206362128258, 0.009085400961339474, 0.01203954964876175, 0.00009841356222750619, 0.03255137428641319, 0.02285284735262394, -0.013544492423534393, 0.006242729257792234, -0.006382076069712639, 0.0240790992975235, 0.01638716459274292, -0.0019508529221639037, 0....
[ "DynamicCache", "Exactly", "False", "ModelBaseModelOutputWithPast", "ModelDecoderLayer", "ModelDecoupledEmbedding", "ModelGatedCrossAttentionLayer", "ModelModel", "ModelPerceiverResampler", "ModelPreTrainedModel", "ModelRMSNorm", "ModelVisionTransformer", "ModuleList", "None", "True", ...
idefics/modeling_idefics.py:IdeficsForVisionText2Text
[ -0.00010357380961067975, 0.05302979052066803, 0.007854201830923557, 0.005041172262281179, -0.0003934064006898552, 0.03052555024623871, 0.03743279352784157, -0.04166626185178757, 0.002771252067759633, 0.028297409415245056, 0.04835069179534912, 0.029857108369469643, 0.001169774797745049, 0.0...
[ "Any", "False", "GenerationMixin", "ModelCausalLMOutputWithPast", "ModelDecoupledLinear", "ModelForVisionText2Text", "ModelModel", "ModelPreTrainedModel", "None", "True", "__init__", "_tied_weights_keys", "_update_model_kwargs_for_generation", "additional_embedding", "additional_fc", "...
unispeech/modeling_unispeech.py:UniSpeechForPreTrainingOutput
[ -0.000262772518908605, 0.028521470725536346, 0.017044704407453537, 0.00330951320938766, -0.0008664390770718455, 0.03818013519048691, 0.05045232176780701, -0.010624531656503677, 0.008920061402022839, -0.007386038079857826, 0.029544152319431305, 0.019317330792546272, -0.00528385816141963, -0...
[ "ModelForPreTrainingOutput", "ModelOutput", "None", "attentions", "class", "codevector_perplexity", "hidden_states", "loss", "projected_quantized_states", "projected_states", "r" ]
unispeech/modeling_unispeech.py:UniSpeechSamePadLayer
[ -0.00006860341090941802, 0.02639964036643505, 0.03601985052227974, -0.0023631034418940544, -0.0004894001176580787, 0.00710329320281744, 0.00962020829319954, -0.04183671995997429, 0.017674336209893227, 0.005089761223644018, -0.008110059425234795, -0.001587054692208767, 0.0025169148575514555, ...
[ "ModelSamePadLayer", "Module", "__init__", "class", "def", "else", "forward", "hidden_states", "if", "nn", "num_conv_pos_embeddings", "num_pad_remove", "return", "self", "super" ]
unispeech/modeling_unispeech.py:UniSpeechPositionalConvEmbedding
[ -0.0002145504840882495, 0.01948581263422966, 0.011566140688955784, -0.006409807130694389, -0.0009187390096485615, 0.019257908686995506, 0.020967191085219383, -0.02882988750934601, 0.011737069115042686, -0.007976648397743702, 0.02130904793739319, 0.014699824154376984, 0.0028772910591214895, ...
[ "ACT2FN", "Conv1d", "GatheredParameters", "ModelPositionalConvEmbedding", "ModelSamePadLayer", "Module", "__init__", "activation", "class", "config", "conv", "deepspeed", "def", "dim", "else", "feat_extract_activation", "forward", "groups", "hasattr", "hidden_size", "hidden_s...
unispeech/modeling_unispeech.py:UniSpeechNoLayerNormConvLayer
[ 0.00004516134868026711, 0.024137748405337334, 0.017370155081152916, 0.0005604412872344255, 0.00048289596452377737, 0.02267143689095974, 0.009982199408113956, -0.03383796662092209, 0.016693396493792534, 0.001134981750510633, 0.028875064104795456, 0.008910664357244968, 0.004116952419281006, ...
[ "ACT2FN", "Conv1d", "GradientCheckpointingLayer", "ModelNoLayerNormConvLayer", "__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"...
unispeech/modeling_unispeech.py:UniSpeechLayerNormConvLayer
[ 0.00001128065832745051, 0.019383803009986877, 0.02558211237192154, 0.010311732068657875, 0.00019281671848148108, 0.03245659917593002, 0.01042442861944437, -0.028850311413407326, 0.016679085791110992, 0.0105934739112854, 0.03087884932756424, 0.014312459155917168, 0.0030146322678774595, -0.0...
[ "ACT2FN", "Conv1d", "GradientCheckpointingLayer", "LayerNorm", "ModelLayerNormConvLayer", "True", "__init__", "activation", "class", "config", "conv", "conv_dim", "conv_kernel", "conv_stride", "def", "elementwise_affine", "else", "feat_extract_activation", "forward", "hidden_st...
unispeech/modeling_unispeech.py:UniSpeechGroupNormConvLayer
[ -0.0000326180161209777, 0.007786008063703775, -0.005557404365390539, 0.00823737122118473, 0.00018689240096136928, 0.03136971592903137, 0.010268503800034523, -0.023470865562558174, 0.01314594130963087, 0.0029056479688733816, 0.037914473563432693, 0.006685811560600996, 0.0011213544057682157, ...
[ "ACT2FN", "Conv1d", "GradientCheckpointingLayer", "GroupNorm", "ModelGroupNormConvLayer", "True", "__init__", "activation", "affine", "class", "config", "conv", "conv_dim", "conv_kernel", "conv_stride", "def", "else", "feat_extract_activation", "forward", "hidden_states", "if...
unispeech/modeling_unispeech.py:UniSpeechFeatureEncoder
[ -0.00006919563020346686, 0.040166959166526794, -0.017262766137719154, 0.032494619488716125, 0.00009828423208091408, 0.029335420578718185, -0.000923783634789288, -0.03768473118543625, 0.007390269078314304, 0.00801082607358694, 0.020986108109354973, 0.007785168942064047, 0.0031591991428285837,...
[ "False", "ModelFeatureEncoder", "ModelGroupNormConvLayer", "ModelLayerNormConvLayer", "ModelNoLayerNormConvLayer", "Module", "ModuleList", "None", "True", "ValueError", "__init__", "_freeze_parameters", "_requires_grad", "and", "be", "but", "class", "config", "conv_layer", "con...
unispeech/modeling_unispeech.py:UniSpeechFeatureProjection
[ -0.00019974549650214612, 0.042084433138370514, 0.031676456332206726, 0.02828254923224449, -0.0005020152311772108, 0.02126847766339779, 0.025454293936491013, -0.03688044473528862, 0.0016474585281684995, 0.024662382900714874, 0.01832709088921547, 0.019571524113416672, 0.001718164887279272, -...
[ "Dropout", "LayerNorm", "Linear", "ModelFeatureProjection", "Module", "__init__", "class", "config", "conv_dim", "def", "dropout", "eps", "feat_proj_dropout", "forward", "hidden_size", "hidden_states", "layer_norm", "layer_norm_eps", "nn", "norm_hidden_states", "projection", ...
unispeech/modeling_unispeech.py:eager_attention_forward
[ 0.00004236156746628694, 0.02699843980371952, 0.025868797674775124, -0.010788079351186752, 0.0002700549957808107, 0.037278179079294205, 0.06145251542329788, -0.025529906153678894, 0.020220588892698288, 0.011861239559948444, 0.024174336344003677, 0.0273373331874609, 0.002442850498482585, -0....
[ "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...
unispeech/modeling_unispeech.py:UniSpeechAttention
[ -0.00013203958224039525, 0.04123860225081444, 0.04416811838746071, -0.004140761215239763, -0.00047182143316604197, 0.024562882259488106, 0.039435822516679764, -0.015098285861313343, -0.0008873059996403754, 0.027379726991057396, 0.01757710799574852, 0.002394317649304867, -0.003253455273807049...
[ "ALL_ATTENTION_FUNCTIONS", "False", "Linear", "ModelAttention", "Module", "None", "ValueError", "__init__", "_attn_implementation", "and", "attention_interface", "attention_mask", "attn_output", "attn_weights", "be", "by", "class", "config", "contiguous", "current_states", "d...
unispeech/modeling_unispeech.py:UniSpeechFeedForward
[ -0.00023033848265185952, 0.04182518273591995, 0.04251084104180336, 0.0035997084341943264, -0.0010356303537264466, 0.022969568148255348, 0.0402253121137619, -0.02948332577943802, 0.0008820713846944273, -0.021026868373155594, 0.03291161730885506, -0.008285042829811573, 0.0025855049025267363, ...
[ "ACT2FN", "Dropout", "Linear", "ModelFeedForward", "Module", "__init__", "activation_dropout", "class", "config", "def", "else", "forward", "hidden_act", "hidden_dropout", "hidden_size", "hidden_states", "if", "intermediate_act_fn", "intermediate_dense", "intermediate_dropout",...
unispeech/modeling_unispeech.py:UniSpeechEncoderLayer
[ -0.000032431362342322245, 0.03792190179228783, 0.044204823672771454, 0.007909745909273624, -0.00027873439830727875, 0.036351174116134644, 0.02939508482813835, -0.020643876865506172, 0.007236576173454523, 0.003071337705478072, 0.0014795713359490037, 0.030517034232616425, 0.0014374981401488185...
[ "Dropout", "False", "GradientCheckpointingLayer", "LayerNorm", "ModelAttention", "ModelEncoderLayer", "ModelFeedForward", "None", "_", "__init__", "attention", "attention_dropout", "attention_mask", "attn_residual", "attn_weights", "class", "config", "def", "dropout", "embed_di...
unispeech/modeling_unispeech.py:UniSpeechEncoder
[ -0.00016594157204963267, 0.028623590245842934, 0.025102434679865837, 0.0030526150949299335, -0.0009157845634035766, 0.04861466959118843, 0.007099105045199394, -0.020218251273036003, 0.0057360767386853695, 0.0008873881306499243, 0.029759448021650314, 0.0164699237793684, 0.0014340191846713424,...
[ "BaseModelOutput", "Dropout", "False", "LayerNorm", "ModelEncoder", "ModelEncoderLayer", "ModelPositionalConvEmbedding", "Module", "ModuleList", "None", "True", "_", "__init__", "all_hidden_states", "all_self_attentions", "and", "attention_mask", "attentions", "class", "config"...
unispeech/modeling_unispeech.py:UniSpeechAttnAdapterLayer
[ -0.00010064730304293334, 0.046826377511024475, 0.06138960272073746, -0.0014703258639201522, -0.00028706362354569137, 0.02789418213069439, 0.028566330671310425, -0.03427959606051445, 0, 0.026213809847831726, -0.010138247162103653, 0.008849961683154106, 0.0002039201935986057, 0.0028706360608...
[ "LayerNorm", "Linear", "ModelAttnAdapterLayer", "Module", "ReLU", "__init__", "act_fn", "adapter_attn_dim", "class", "config", "def", "forward", "hidden_dim", "hidden_size", "hidden_states", "input_dim", "linear_1", "linear_2", "nn", "norm", "return", "self", "super" ]
unispeech/modeling_unispeech.py:UniSpeechEncoderLayerStableLayerNorm
[ -0.00012889911886304617, 0.03593636676669121, 0.0540175586938858, 0.019211266189813614, -0.0006003520684316754, 0.03254614397883415, 0.02022833190858364, -0.014125930145382881, 0.0038987568113952875, 0.019437279552221298, -0.007797513622790575, 0.0263307336717844, 0.0005615057307295501, 0....
[ "Dropout", "False", "GradientCheckpointingLayer", "LayerNorm", "ModelAttention", "ModelAttnAdapterLayer", "ModelEncoderLayerStableLayerNorm", "ModelFeedForward", "None", "_", "__init__", "adapter_attn_dim", "adapter_layer", "attention", "attention_dropout", "attention_mask", "attn_re...
unispeech/modeling_unispeech.py:UniSpeechEncoderStableLayerNorm
[ -0.00015938423166517168, 0.018474403768777847, 0.0346820093691349, 0.023574698716402054, -0.0006800393457524478, 0.04034900292754173, -0.0022384629119187593, -0.008953851647675037, 0.002989339642226696, 0.017114324495196342, 0.019947821274399757, 0.0296950526535511, 0.0009421379072591662, ...
[ "BaseModelOutput", "Dropout", "False", "LayerNorm", "ModelEncoderLayerStableLayerNorm", "ModelEncoderStableLayerNorm", "ModelPositionalConvEmbedding", "Module", "ModuleList", "None", "True", "_", "__init__", "all_hidden_states", "all_self_attentions", "and", "attention_mask", "atte...
unispeech/modeling_unispeech.py:UniSpeechGumbelVectorQuantizer
[ -0.00012874505773652345, 0.024380434304475784, -0.0007513067685067654, 0.003894096938893199, -0.00010052695870399475, 0.00029629000346176326, 0.049438100308179855, -0.006913433317095041, 0.00047265307512134314, -0.0027794823981821537, 0.07133534550666809, 0.0025537374895066023, -0.0024267560...
[ "FloatTensor", "Linear", "ModelGumbelVectorQuantizer", "Module", "Parameter", "True", "ValueError", "__init__", "_compute_perplexity", "argmax", "batch_size", "be", "by", "class", "codevector_dim", "codevector_idx", "codevector_probs", "codevector_soft_dist", "codevectors", "co...
unispeech/modeling_unispeech.py:UniSpeechPreTrainedModel
[ -0.0002114982926286757, 0.04258991777896881, 0, 0.002095514442771673, -0.0009557245066389441, 0.02525944449007511, 0.027751408517360687, -0.0346609428524971, -0.0007114838226698339, -0.015631405636668205, 0.03126281127333641, 0.025712529197335243, 0.00031503511127084494, -0.015291592106223...
[ "Conv1d", "Model", "ModelConfig", "ModelFeatureProjection", "ModelGumbelVectorQuantizer", "ModelPositionalConvEmbedding", "ModelPreTrainedModel", "Modelform_", "None", "PreTrainedModel", "True", "_conv_out_length", "_get_feat_extract_output_lengths", "_get_feature_vector_attention_mask", ...
unispeech/modeling_unispeech.py:_compute_mask_indices
[ 0, -0.00929719116538763, 0.007000896614044905, -0.01400179322808981, -0.00009845010936260223, 0.023747041821479797, -0.0010571354068815708, -0.05197465792298317, 0.012937657535076141, -0.020722653716802597, 0.040997251868247986, 0.030691931024193764, -0.006216796115040779, -0.0121535565704...
[ "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", ...
unispeech/modeling_unispeech.py:UniSpeechModel
[ -0.00008933167555369437, 0.03004346787929535, 0.002732498338446021, 0.004035689868032932, -0.00019004875503014773, 0.03071608394384384, 0.019169526174664497, -0.03273392841219902, 0.0073427134193480015, -0.023653626441955566, 0.02578357420861721, 0.017824295908212662, -0.0020318576134741306,...
[ "ModelBaseModelOutput", "ModelEncoder", "ModelEncoderStableLayerNorm", "ModelFeatureEncoder", "ModelFeatureProjection", "ModelModel", "ModelPreTrainedModel", "Modelform_", "None", "Parameter", "Tensor", "True", "__init__", "_compute_mask_indices", "_get_feature_vector_attention_mask", ...
unispeech/modeling_unispeech.py:UniSpeechForPreTraining
[ -0.0002432053443044424, 0.04804891720414162, 0.020979104563593864, 0.0029466617852449417, -0.000493460102006793, 0.020753521472215652, 0.027972139418125153, -0.027972139418125153, 0.002312213182449341, -0.01161746121942997, 0.019174449145793915, 0.009361643344163895, 0.0019597415812313557, ...
[ "Dropout", "Linear", "Model", "ModelForPreTraining", "ModelForPreTrainingOutput", "ModelGumbelVectorQuantizer", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "_freeze_parameters", "attention_mask", "attentions", "auto_docstring", "bernoulli", "bool", "cat", "class", "...
unispeech/modeling_unispeech.py:UniSpeechForCTC
[ -0.00031808437779545784, 0.042324990034103394, 0.03128368780016899, -0.009143577888607979, -0.0011573239462450147, 0.025648023933172226, 0.017827101051807404, -0.05405637249350548, -0.0058944448828697205, -0.015526830218732357, 0.03381398692727089, -0.0028034555725753307, -0.0001662305294303...
[ "Cannot", "CausalLMOutput", "Dropout", "False", "Linear", "Model", "ModelForCTC", "ModelModel", "ModelPreTrainedModel", "None", "Please", "True", "ValueError", "You", "_HIDDEN_STATES_START_POSITION", "__class__", "__init__", "_freeze_parameters", "_get_feat_extract_output_lengths...
unispeech/modeling_unispeech.py:UniSpeechForSequenceClassification
[ -0.0003663855604827404, 0.0407206267118454, 0.005719189066439867, 0.028481561690568924, -0.0010294540552422404, 0.011667145416140556, 0.007892481051385403, -0.002259079599753022, -0.011266802437603474, -0.003574493108317256, 0.027566492557525635, -0.011609953828155994, -0.0016156709752976894...
[ "CrossEntropyLoss", "False", "Linear", "Model", "ModelForSequenceClassification", "ModelModel", "ModelPreTrainedModel", "None", "Parameter", "Sequence", "SequenceClassifierOutput", "True", "ValueError", "_HIDDEN_STATES_START_POSITION", "__init__", "_freeze_parameters", "_get_feature_...
videomt/modeling_videomt.py:VideomtPatchEmbeddings
[ -0.00004594346319208853, 0.00984816811978817, 0.02003398723900318, 0.012099177576601505, 0.00009804203000385314, -0.006387240253388882, 0.011705250479280949, -0.018008077517151833, 0.005768212489783764, 0.0019133583409711719, 0.00984816811978817, 0.005711937323212624, -0.003882991848513484, ...
[ "Conv2d", "Expected", "Iterable", "Make", "ModelPatchEmbeddings", "Module", "ValueError", "__init__", "abc", "but", "channel", "class", "collections", "config", "configuration", "def", "dimension", "dtype", "else", "embeddings", "f", "flatten", "forward", "got", "hidd...
videomt/modeling_videomt.py:VideomtEmbeddings
[ -0.0002260100154671818, 0.01708422228693962, 0.0041002132929861546, 0.017425905913114548, -0.0011603033635765314, 0.02892928197979927, 0.02369012124836445, -0.041685499250888824, 0.010478322394192219, 0.004071739502251148, 0.015261904336512089, 0.01890653930604458, -0.0012741981772705913, ...
[ "Dropout", "Embedding", "False", "ModelEmbeddings", "ModelPatchEmbeddings", "Module", "None", "Parameter", "__init__", "and", "arange", "batch_size", "bool", "bool_masked_pos", "cat", "class", "cls_token", "cls_tokens", "config", "def", "device", "dim", "dropout", "dtyp...
videomt/modeling_videomt.py:VideomtMLP
[ -0.0002711878623813391, 0.02907996065914631, 0.04183836281299591, 0.01793072745203972, -0.0010200974065810442, 0.04551646113395691, 0.025516802445054054, -0.027011031284928322, 0.00021730948355980217, -0.011149234138429165, 0.0347120463848114, -0.031033949926495552, 0.0006106217042542994, ...
[ "ACT2FN", "Linear", "ModelMLP", "Module", "__init__", "activation", "class", "config", "def", "else", "fc1", "fc2", "forward", "hidden_act", "hidden_features", "hidden_size", "hidden_state", "if", "in_features", "int", "isinstance", "mlp_ratio", "nn", "out_features", ...
videomt/modeling_videomt.py:VideomtGatedMLP
[ -0.00017061599646694958, 0.013194303959608078, 0.006710895802825689, 0.00983885582536459, -0.0005864924751222134, 0.0473175011575222, 0.020018942654132843, -0.028435999527573586, 0.004834119696170092, -0.002715637907385826, 0.03139334172010422, -0.05391465499997139, 0.00038744049379602075, ...
[ "Linear", "ModelGatedMLP", "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", ...