identifier
stringlengths
24
117
embedding
listlengths
2.56k
2.56k
tokens
listlengths
4
444
unispeech_sat/modeling_unispeech_sat.py:UniSpeechSatGumbelVectorQuantizer
[ -0.0001304687757510692, 0.02301892451941967, 0.0005042441771365702, 0.0023413856979459524, -0.00020187399059068412, 0, 0.05032568797469139, -0.007729393430054188, -0.0007122890092432499, -0.0034415547270327806, 0.06995947659015656, 0.004682771395891905, -0.003103041322901845, 0.00959121808...
[ "FloatTensor", "Linear", "ModelGumbelVectorQuantizer", "Module", "None", "Parameter", "True", "ValueError", "__init__", "_compute_perplexity", "argmax", "batch_size", "be", "by", "class", "codevector_dim", "codevector_idx", "codevector_probs", "codevector_soft_dist", "codevecto...
unispeech_sat/modeling_unispeech_sat.py:UniSpeechSatPreTrainedModel
[ -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_sat/modeling_unispeech_sat.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_sat/modeling_unispeech_sat.py:UniSpeechSatModel
[ -0.00005509547918336466, 0.027873065322637558, 0.0032742456533014774, 0.003805960761383176, -0.0001871497224783525, 0.029999924823641777, 0.015895482152700424, -0.027425305917859077, 0.006436550989747047, -0.0218283049762249, 0.024290984496474266, 0.018693983554840088, -0.002560627879574895,...
[ "ModelBaseModelOutput", "ModelEncoder", "ModelEncoderStableLayerNorm", "ModelFeatureEncoder", "ModelFeatureProjection", "ModelModel", "ModelPreTrainedModel", "Modelform_", "None", "Parameter", "Tensor", "True", "__init__", "_compute_mask_indices", "_get_feature_vector_attention_mask", ...
unispeech_sat/modeling_unispeech_sat.py:UniSpeechSatForPreTraining
[ -0.00027752318419516087, 0.04819358140230179, 0.012557482346892357, 0.011426177807152271, -0.0005939349648542702, 0.02036348544061184, 0.03303409740328789, -0.012161525897681713, 0.0037333054933696985, -0.004185827448964119, 0.026133138686418533, 0.011935264803469181, 0.0015696852933615446, ...
[ "Dropout", "False", "FloatTensor", "LayerNorm", "Linear", "Model", "ModelForPreTraining", "ModelForPreTrainingOutput", "ModelGumbelVectorQuantizer", "ModelModel", "ModelPreTrainedModel", "None", "Parameter", "__init__", "_freeze_parameters", "attention_mask", "attentions", "auto_do...
unispeech_sat/modeling_unispeech_sat.py:UniSpeechSatForCTC
[ -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_sat/modeling_unispeech_sat.py:UniSpeechSatForSequenceClassification
[ -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_...
unispeech_sat/modeling_unispeech_sat.py:UniSpeechSatForAudioFrameClassification
[ -0.00017228734213858843, 0.04410555958747864, 0.00048770569264888763, 0.02205277979373932, -0.0004912397707812488, 0.005880740936845541, 0.023862238973379135, -0.03686772286891937, -0.0027707337867468596, -0.017642224207520485, 0.027933521196246147, 0.016398221254348755, -0.00016168503498192...
[ "Audio", "CrossEntropyLoss", "False", "Linear", "Model", "ModelForAudioFrameClassification", "ModelModel", "ModelPreTrainedModel", "None", "Parameter", "TokenClassifierOutput", "True", "ValueError", "_HIDDEN_STATES_START_POSITION", "__init__", "_freeze_parameters", "adapters", "add...
unispeech_sat/modeling_unispeech_sat.py:AMSoftmaxLoss
[ -0.00013382182805798948, 0.034709155559539795, 0.06400909274816513, 0.007494022138416767, -0.0005705035873688757, 0.04665451496839523, 0.027496863156557083, 0.008057482540607452, 0.015664197504520416, 0.013072279281914234, 0.022763798013329506, -0.024341486394405365, 0.0022256681695580482, ...
[ "CrossEntropyLoss", "Model", "Module", "Parameter", "True", "__init__", "bool", "class", "cos_theta", "def", "dim", "flatten", "forward", "functional", "hidden_states", "input_dim", "labels", "logits", "loss", "margin", "mm", "nn", "normalize", "num_labels", "one_hot"...
unispeech_sat/modeling_unispeech_sat.py:TDNNLayer
[ -0.00011572748917387798, 0.028947772458195686, 0.007519636303186417, -0.014700041152536869, -0.00039400349487550557, 0.05495553836226463, 0.036410871893167496, -0.03776779770851135, 0.007915406487882137, -0.00859387032687664, 0.026007765904068947, -0.0160569678992033, 0.0018799090757966042, ...
[ "Detected", "Linear", "LoRA", "LoraLayer", "Model", "Module", "ReLU", "You", "__init__", "activation", "applied", "be", "bias", "class", "config", "conv1d", "def", "dilation", "due", "else", "exclude", "forward", "from", "functional", "hidden_states", "if", "in_co...
unispeech_sat/modeling_unispeech_sat.py:UniSpeechSatForXVector
[ -0.0002255606377730146, 0.058198194950819016, 0.015458895824849606, 0.02534804306924343, -0.0008596169063821435, 0.047058697789907455, 0.021824324503540993, -0.019437288865447044, -0.0061949254013597965, -0.03682854771614075, 0.03000844456255436, 0.0018897363916039467, 0.0019323619781062007,...
[ "AMSoftmaxLoss", "False", "Linear", "Model", "ModelForXVector", "ModelModel", "ModelPreTrainedModel", "ModuleList", "None", "Parameter", "TDNNLayer", "True", "XVectorOutput", "_HIDDEN_STATES_START_POSITION", "__init__", "_conv_out_length", "_freeze_parameters", "_get_feat_extract_o...
doge/modeling_doge.py:DogeRMSNorm
[ -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", ...
doge/modeling_doge.py:DogeRotaryEmbedding
[ -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...
doge/modeling_doge.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" ]
doge/modeling_doge.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" ]
doge/modeling_doge.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" ]
doge/modeling_doge.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",...
doge/modeling_doge.py:flex_attention_forward
[ -0.00005851101013831794, 0.026916824281215668, 0.01278267614543438, -0.023425521329045296, -0.0000994247238850221, 0.018019631505012512, 0.040769416838884354, -0.019821593537926674, 0.011037023738026619, 0.019596349447965622, 0.014415704645216465, 0.027592560276389122, 0.002900034422054887, ...
[ "BlockMask", "Model_attention_forward", "None", "True", "attention_mask", "attention_weights", "attn_output", "batch_idx", "block_mask", "causal_mask", "compile_friendly_Model_attention", "contiguous", "def", "dtype", "else", "enable_gqa", "head_idx", "if", "is", "isinstance", ...
doge/modeling_doge.py:DogeAttention
[ -0.00014812212612014264, 0.032727934420108795, 0.032953646034002304, -0.025956638157367706, -0.0007370839011855423, 0.03679071366786957, 0.04085349291563034, -0.02742375247180462, 0.0034561827778816223, 0.014163296669721603, 0.014219723641872406, 0.021442441269755363, 0.0004002824134659022, ...
[ "A", "ALL_ATTENTION_FUNCTIONS", "BlockMask", "F", "False", "Linear", "ModelAttention", "ModelRMSNorm", "Module", "None", "Parameter", "Tensor", "True", "__init__", "_attn_implementation", "active_mask", "and", "apply_rotary_pos_emb", "attention_dropout", "attention_interface", ...
doge/modeling_doge.py:DogeMLP
[ -0.00024346320424228907, 0.025046052411198616, 0.022045142948627472, 0.02608482912182808, -0.0009449979406781495, 0.060479868203401566, 0.03601091355085373, -0.005799834616482258, -0.00044544751290231943, -0.004155105445533991, 0.028162380680441856, -0.04709119349718094, -0.00169522536452859...
[ "ACT2FN", "Linear", "ModelMLP", "Module", "__init__", "act_fn", "class", "config", "def", "down_proj", "forward", "gate_proj", "hidden_act", "hidden_size", "intermediate_size", "nn", "return", "self", "super", "up_proj", "x" ]
doge/modeling_doge.py:DogeCDMoE
[ -0.0004733579989988357, 0.04095201566815376, 0.0015117520233616233, 0.00784314889460802, -0.001870980253443122, 0.06370313465595245, 0.0522078312933445, -0.01311182975769043, -0.007603663485497236, -0.009220190346240997, 0.020715493708848953, -0.020954979583621025, -0.0005650360253639519, ...
[ "ACT2FN", "Embedding", "F", "Linear", "ModelCDMoE", "Module", "True", "_", "__init__", "act_fn", "all_indices", "all_scores", "bsz", "class", "config", "def", "dim", "down_embed", "down_proj", "experts_states", "experts_weights", "floor", "forward", "gate_proj", "gath...
doge/modeling_doge.py:DogeDecoderLayer
[ -0.0002250241523142904, 0.04895387217402458, 0.009050773456692696, -0.0066884648986160755, -0.0009605773957446218, 0.034836940467357635, 0.04417233169078827, -0.024135397747159004, 0.002262693364173174, -0.005720772314816713, -0.002661155303940177, 0.01252308301627636, -0.0026896167546510696...
[ "F", "False", "GradientCheckpointingLayer", "ModelAttention", "ModelCDMoE", "ModelDecoderLayer", "ModelMLP", "ModelRMSNorm", "None", "Parameter", "Tensor", "__init__", "attention_mask", "class", "config", "def", "dropout", "else", "eps", "forward", "hidden_dropout", "hidden...
doge/modeling_doge.py:DogePreTrainedModel
[ -0.00025286219897679985, 0.04285123944282532, -0.000851184013299644, -0.002079880563542247, -0.0011254148557782173, 0.031682565808296204, 0.029061345383524895, -0.0188044011592865, -0.004387693479657173, -0.015271452255547047, -0.00020834420865867287, -0.008148573338985443, -0.00319104967638...
[ "A", "False", "ModelAttention", "ModelCDMoE", "ModelConfig", "ModelDecoderLayer", "ModelPreTrainedModel", "OutputRecorder", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outputs", "_init_weights", "_no_split_modules", "_skip_keys_device_placement", "_supports_attent...
doge/modeling_doge.py:DogeModel
[ -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_...
doge/modeling_doge.py:load_balancing_loss_func
[ -0.00024674765882082283, 0.01727948896586895, 0.002388803521171212, -0.03341463953256607, -0.0009583822102285922, 0.05790344998240471, 0.04302706941962242, -0.012530489824712276, 0.004062396474182606, -0.0210558008402586, 0.030210496857762337, -0.007380973547697067, -0.0006651458679698408, ...
[ "F", "Model_balancing_loss_func", "None", "_", "all_expert_indices", "all_indices", "all_routing_weights", "all_scores", "append", "attention_mask", "batch_size", "bool", "cat", "compute_device", "compute_dtype", "def", "device", "dim", "dtype", "else", "expand", "expert_at...
doge/modeling_doge.py:DogeForCausalLM
[ -0.00043100290349684656, 0.03997369110584259, -0.0026152378413826227, -0.00870771985501051, -0.00169479101896286, 0.04792167618870735, 0.040207456797361374, -0.004616844467818737, -0.006370076909661293, 0.01127912662923336, 0.02758418582379818, -0.008532396517693996, 0, 0.01034406945109367...
[ "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...
doge/modeling_doge.py:DogeForSequenceClassification
[ -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" ]
ijepa/modeling_ijepa.py:IJepaPatchEmbeddings
[ -0.00010127087443834171, 0.020965712144970894, 0.01837317831814289, 0.017584145069122314, 0.00019109372806269675, 0.0015076150884851813, 0.011891841888427734, -0.021191149950027466, 0.004508755169808865, 0.021191149950027466, 0.011610045097768307, -0.014033501036465168, -0.003691543359309435...
[ "Conv2d", "Expected", "Iterable", "Make", "Model", "Module", "ValueError", "__init__", "but", "channel", "class", "config", "configuration", "def", "dimension", "else", "f", "flatten", "forward", "got", "hidden_size", "if", "image_size", "in", "isinstance", "kernel_...
ijepa/modeling_ijepa.py:IJepaEmbeddings
[ -0.0002334762830287218, 0.03353503718972206, 0.01277525257319212, -0.0034932331182062626, -0.0012974865967407823, 0.022470755502581596, 0.026805216446518898, -0.04060705006122589, 0.001639680820517242, 0.0073571763932704926, 0.01996133103966713, 0.02041758969426155, -0.00246665021404624, 0...
[ "Dropout", "False", "Input", "Model", "ModelPatchEmbeddings", "Module", "None", "Parameter", "ValueError", "_", "__init__", "align_corners", "and", "batch_size", "bicubic", "bool_masked_pos", "class", "config", "def", "dim", "doesn", "dropout", "else", "embeddings", "...
ijepa/modeling_ijepa.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...
ijepa/modeling_ijepa.py:IJepaAttention
[ -0.0002010310854529962, 0.03985041007399559, 0.04349387437105179, 0.007343861274421215, -0.0006653595482930541, 0.02539040334522724, 0.049186792224645615, -0.010190319269895554, 0.0017790361307561398, 0.026415128260850906, 0.017761897295713425, -0.001103002461604774, -0.0012168607208877802, ...
[ "ALL_ATTENTION_FUNCTIONS", "False", "Linear", "Model", "Module", "None", "__init__", "_attn_implementation", "attention_dropout", "attention_interface", "attention_mask", "attention_probs_dropout_prob", "attn_output", "attn_weights", "class", "config", "contiguous", "def", "dropo...
ijepa/modeling_ijepa.py:IJepaMLP
[ -0.00013735805987380445, 0.036751698702573776, 0.04196953400969505, 0.011286401189863682, -0.0004501799412537366, 0.027904067188501358, 0.04060835763812065, -0.02348025143146515, 0.005926778540015221, -0.008450621739029884, 0.031307004392147064, -0.02053104154765606, 0.0024245912209153175, ...
[ "ACT2FN", "Linear", "Model", "Module", "__init__", "activation_fn", "class", "config", "def", "fc1", "fc2", "forward", "hidden_act", "hidden_size", "hidden_states", "intermediate_size", "nn", "return", "self", "super" ]
ijepa/modeling_ijepa.py:IJepaLayer
[ -0.00006378204852808267, 0.032656408846378326, 0.0355842225253582, 0.011035613715648651, -0.00018122898472938687, 0.045493755489587784, 0.03513379022479057, -0.0048703090287745, 0.010247355327010155, 0.006756498012691736, 0.015877770259976387, 0.003800530219450593, 0.0019143411191180348, -...
[ "Dropout", "GradientCheckpointingLayer", "LayerNorm", "Model", "ModelAttention", "ModelMLP", "None", "_", "__init__", "attention", "attention_mask", "class", "config", "def", "dropout", "eps", "forward", "hidden_dropout_prob", "hidden_size", "hidden_states", "kwargs", "laye...
ijepa/modeling_ijepa.py:IJepaPreTrainedModel
[ -0.0001343423646176234, 0.03798815608024597, -0.0014329851837828755, 0.020342770963907242, -0.0006251749000512064, 0.029221659526228905, 0.015959521755576134, -0.020904725417494774, -0.0012292765313759446, 0.018769295886158943, 0.008148347027599812, 0.0033998277503997087, -0.0014189362991601...
[ "Conv2d", "Linear", "Model", "ModelAttention", "ModelConfig", "ModelEmbeddings", "ModelLayer", "None", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outputs", "_init_weights", "_input_embed_layer", "_no_split_modules", "_supports_attention_backend", "_supports_fla...
ijepa/modeling_ijepa.py:IJepaPooler
[ -0.00024705150281079113, 0.01856108568608761, 0.038267917931079865, 0.027841629460453987, -0.0010956196347251534, 0.03437238186597824, 0.038267917931079865, -0.021769175305962563, 0.0019477682653814554, -0.007619211450219154, 0.01695704087615013, -0.014608262106776237, -0.0001808130473364144...
[ "ACT2FN", "Linear", "Model", "Module", "__init__", "activation", "class", "config", "def", "dense", "first_token_tensor", "forward", "hidden_size", "hidden_states", "nn", "pooled_output", "pooler_act", "pooler_output_size", "return", "self", "super" ]
ijepa/modeling_ijepa.py:IJepaModel
[ -0.00014478119555860758, 0.02729257196187973, 0.011119196191430092, 0.01460096426308155, -0.00047382936463691294, 0.03167286142706871, 0.02437237836420536, -0.02482163906097412, 0.008479790762066841, 0.00031413132091984153, 0.026730995625257492, 0.008592106401920319, -0.00219014473259449, ...
[ "BaseModelOutputWithPooling", "False", "LayerNorm", "Model", "ModelEmbeddings", "ModelLayer", "ModelPooler", "ModelPreTrainedModel", "ModuleList", "None", "_", "__init__", "add_pooling_layer", "attention_mask", "auto_docstring", "bool_masked_pos", "capture_outputs", "class", "con...
ijepa/modeling_ijepa.py:IJepaForImageClassification
[ -0.00013200291141401976, 0.04073033109307289, 0.014770339243113995, 0.02562430128455162, -0.0006119340541772544, 0.025064818561077118, 0.03155481442809105, 0.004335989709943533, 0.003091141115874052, 0.013147840276360512, 0.03133102506399155, 0.013707322999835014, 0.0006538952584378421, 0....
[ "False", "Identity", "ImageClassifierOutput", "Linear", "Model", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "add_pooling_layer", "attentions", "auto_docstring", "can_return_tuple", "class", "classifier", "config", "def", "dim", "else", "forward", "hidden_size",...
encodec/modeling_encodec.py:EncodecOutput
[ -0.00006804185250075534, 0.026184994727373123, -0.011384780518710613, 0.016166388988494873, -0.00019478648027870804, 0.034154340624809265, 0.0733179897069931, -0.04553912207484245, 0.018329497426748276, -0.013661736622452736, 0.020947996526956558, 0.025046518072485924, -0.004866993520408869,...
[ "ModelOutput", "None", "audio_codes", "audio_values", "class", "r" ]
encodec/modeling_encodec.py:EncodecEncoderOutput
[ -0.00017308561655227095, 0.01587391272187233, 0.007822755724191666, 0.018728934228420258, -0.0008350934367626905, 0.03722946718335152, 0.06440926343202591, -0.06943409889936447, 0.018957335501909256, -0.01261918991804123, 0.009078964591026306, 0.04179750010371208, -0.003968478180468082, 0,...
[ "ModelEncoderOutput", "ModelOutput", "None", "audio_codes", "audio_scales", "class", "last_frame_pad_length", "r" ]
encodec/modeling_encodec.py:EncodecDecoderOutput
[ -0.0001343873591395095, 0.04192173480987549, 0.00047347068903036416, 0.008600790984928608, -0.0008579430868849158, 0.028137685731053352, 0.07837541401386261, -0.06288260221481323, 0.015037143602967262, -0.020049525424838066, 0.011163940653204918, 0.01993560791015625, -0.004841504618525505, ...
[ "ModelDecoderOutput", "ModelOutput", "None", "audio_values", "class", "r" ]
encodec/modeling_encodec.py:EncodecConv1d
[ -0.00016043669893406332, 0.023356763646006584, -0.0037517505697906017, -0.00880109891295433, -0.00019569751748349518, 0.02076156809926033, 0.0011847633868455887, -0.054611947387456894, 0.010324366390705109, 0.020648732781410217, 0.03904077410697937, -0.008406178094446659, 0.00406204583123326...
[ "Conv1d", "False", "GroupNorm", "ModelConv1d", "Module", "ValueError", "__init__", "_get_extra_padding_for_conv1d", "_pad1d", "and", "be", "been", "causal", "ceil", "class", "config", "conv", "def", "dilation", "dtype", "elif", "else", "end", "extra_pad", "extra_paddi...
encodec/modeling_encodec.py:EncodecConvTranspose1d
[ -0.00037704117130488157, 0.049646761268377304, 0.020320534706115723, -0.005715150386095047, -0.001363842748105526, 0.020551450550556183, 0.005859472323209047, -0.06650356948375702, -0.004012151155620813, 0.016279518604278564, 0.022398771718144417, -0.0052533200941979885, -0.00194834673311561...
[ "ConvTranspose1d", "GroupNorm", "ModelConvTranspose1d", "Module", "ValueError", "__init__", "be", "causal", "ceil", "class", "config", "conv", "convolutions", "def", "elif", "else", "end", "f", "for", "forward", "got", "hasattr", "hidden_states", "if", "in", "in_cha...
encodec/modeling_encodec.py:EncodecLSTM
[ -0.000041297960706287995, 0.008941447362303734, 0.06478331983089447, 0.0128779336810112, 0, 0.05106185004115105, -0.005736023187637329, -0.05691034719347954, 0.017095597460865974, 0.0128779336810112, 0.055110808461904526, -0.029917296022176743, 0.004273899365216494, -0.013946408405900002, ...
[ "LSTM", "ModelLSTM", "Module", "__init__", "class", "config", "def", "dimension", "forward", "hidden_states", "lstm", "nn", "num_lstm_layers", "permute", "return", "self", "super" ]
encodec/modeling_encodec.py:EncodecResnetBlock
[ -0.000045413547923089936, -0.011002041399478912, 0.021210120990872383, -0.016900042071938515, 0.0004855926672462374, 0.051040396094322205, -0.005359241738915443, -0.051267243921756744, 0.009357405826449394, -0.010151367634534836, 0.007599347736686468, -0.030624238774180412, 0.003742962377145...
[ "ELU", "Identity", "ModelConv1d", "ModelResnetBlock", "Module", "ModuleList", "Number", "ValueError", "__init__", "block", "class", "compress", "config", "def", "dilation", "dilations", "dim", "else", "enumerate", "for", "forward", "hidden", "hidden_states", "i", "if"...
encodec/modeling_encodec.py:EncodecEncoder
[ -0.00007807636575307697, 0.012252255342900753, 0.019084157422184944, 0.024843282997608185, -0.00009527963266009465, 0.053525980561971664, 0.01095362938940525, -0.07407815009355545, 0.011235939338803291, -0.011687635444104671, 0.028231002390384674, -0.01705152541399002, 0.0009316231007687747,...
[ "ELU", "ModelConv1d", "ModelEncoder", "ModelLSTM", "ModelResnetBlock", "Module", "ModuleList", "__init__", "audio_channels", "class", "config", "current_scale", "def", "dilation_growth_rate", "for", "forward", "hidden_size", "hidden_states", "in", "j", "kernel_size", "last_...
encodec/modeling_encodec.py:EncodecDecoder
[ -0.0002032310439972207, 0.042300332337617874, 0.012667478993535042, 0.01820950210094452, -0.0007669762708246708, 0.03732382133603096, 0.028388725593686104, -0.08324343711137772, 0.004524099640548229, -0.030311468988656998, 0.008595789782702923, -0.01606055349111557, -0.002219636458903551, ...
[ "ELU", "ModelConv1d", "ModelConvTranspose1d", "ModelDecoder", "ModelLSTM", "ModelResnetBlock", "Module", "ModuleList", "__init__", "audio_channels", "class", "config", "current_scale", "def", "dilation_growth_rate", "for", "forward", "hidden_size", "hidden_states", "in", "int...
encodec/modeling_encodec.py:EncodecEuclideanCodebook
[ -0.00018946794443763793, 0.00495285214856267, 0.019355973228812218, 0.007400813512504101, -0.0009535663411952555, 0.008994834497570992, 0.0450880341231823, -0.03802879527211189, 0.006973843555897474, -0.0004732250818051398, 0.036207057535648346, 0.003543850965797901, -0.001601137570105493, ...
[ "ModelEuclideanCodebook", "Module", "Tensor", "True", "__init__", "class", "clone", "cluster_size", "codebook_dim", "codebook_size", "config", "decode", "def", "dim", "dist", "embed", "embed_avg", "embed_ind", "embedding", "encode", "functional", "hidden_states", "indices...
encodec/modeling_encodec.py:EncodecVectorQuantization
[ -0.00010916955943685025, 0.016790982335805893, 0.016790982335805893, 0.0064797415398061275, -0.00037328945472836494, 0.012621410191059113, 0.04665413871407509, -0.045527227222919464, 0.0050429292023181915, 0.018368659541010857, 0.042822640389204025, 0.005606385413557291, -0.00331030273810029...
[ "ModelEuclideanCodebook", "ModelVectorQuantization", "Module", "__init__", "class", "codebook", "config", "decode", "def", "embed_in", "embed_ind", "encode", "hidden_states", "nn", "permute", "quantize", "return", "self", "super" ]
encodec/modeling_encodec.py:EncodecResidualVectorQuantizer
[ -0.00013512762961909175, 0.007913356646895409, -0.012943990528583527, -0.002727281767874956, -0.00028791901422664523, 0.041827742010354996, 0.033914387226104736, -0.040923360735177994, 0.007404640782624483, -0.008704692125320435, 0.032331716269254684, 0.008478596806526184, -0.000300283631077...
[ "ModelResidualVectorQuantizer", "ModelVectorQuantization", "Module", "ModuleList", "None", "_", "__init__", "all_indices", "and", "append", "bandwidth", "bw_per_q", "class", "codebook_size", "codes", "config", "decode", "def", "device", "embeddings", "encode", "enumerate", ...
encodec/modeling_encodec.py:EncodecPreTrainedModel
[ -0.00011222401371924207, 0.04320712760090828, -0.006475413683801889, -0.0119894128292799, -0.0005761421634815633, 0.019906949251890182, 0.02895556204020977, -0.02658030204474926, 0.011254212819039822, -0.014817103743553162, 0.02646719291806221, -0.0013360843295231462, -0.0009543459163978696,...
[ "Conv1d", "Model", "ModelConfig", "ModelConv1d", "ModelEuclideanCodebook", "ModelPreTrainedModel", "None", "PreTrainedAudioTokenizerBase", "Tensor", "True", "_init_weights", "a", "b", "base_model_prefix", "bias", "class", "cluster_size", "config", "conv", "copy_", "def", "d...
encodec/modeling_encodec.py:EncodecModel
[ 0, 0.0221566129475832, -0.016195695847272873, -0.005201742518693209, 0.00010148670116905123, 0.022718962281942368, 0.033291153609752655, -0.03801489993929863, 0.01000984013080597, -0.01979473978281021, 0.03374103456735611, 0.021819202229380608, -0.0024321661330759525, -0.00849149376153946,...
[ "Expected", "False", "ModelDecoder", "ModelDecoderOutput", "ModelEncoder", "ModelEncoderOutput", "ModelModel", "ModelOutput", "ModelPreTrainedModel", "ModelResidualVectorQuantizer", "None", "Number", "Select", "This", "True", "ValueError", "_", "__init__", "_decode_frame", "_en...
xlstm/modeling_xlstm.py:small_init_method
[ -0.00002179363764298614, 0.024559568613767624, 0.02669030800461769, 0.042839065194129944, 0.00009330743341706693, 0.023325983434915543, 0.031176073476672173, -0.010036901570856571, 0.002411099150776863, 0.03140036016702652, 0.011326558887958527, -0.04059618338942528, -0.000585252302698791, ...
[ "Model_init_method", "def", "dim", "init", "init_", "mean", "normal_", "return", "std", "tensor" ]
xlstm/modeling_xlstm.py:wang_init_method
[ -0.000032752319384599105, 0.03218783810734749, 0.02273406647145748, 0.04186669737100601, 0.00018640246707946062, 0.038040172308683395, 0.02194625325500965, -0.005008247215300798, 0.007259145379066467, 0.029936939477920532, 0.017219368368387222, -0.047944121062755585, 0.00009232197771780193, ...
[ "Model_init_method", "def", "dim", "init", "init_", "mean", "n_layers", "normal_", "return", "std", "tensor" ]
xlstm/modeling_xlstm.py:xLSTMPreTrainedModel
[ -0.000311466894345358, 0.023736298084259033, -0.0024053165689110756, 0.00492585776373744, -0.0014259062008932233, 0.02799961343407631, 0.016131464391946793, -0.020279554650187492, -0.004320927895605564, -0.003384726820513606, 0.012501885183155537, -0.015440115705132484, -0.001073030405677855...
[ "Embedding", "Linear", "ModelBlock", "ModelConfig", "ModelPreTrainedModel", "None", "PreTrainedModel", "True", "_can_record_outputs", "_init_weights", "_is_stateful", "_module_name_map", "_no_split_modules", "and", "backbone", "base_model_prefix", "bias", "class", "config", "co...
xlstm/modeling_xlstm.py:xLSTMCache
[ -0.00019002299814019352, -0.00298353866674006, 0.018071720376610756, -0.008808542974293232, -0.0007565401610918343, 0.03114246018230915, 0.004233783110976219, -0.051373694092035294, 0.0066206143237650394, 0.02614148147404194, 0.010115616954863071, -0.014775619842112064, -0.002244757721200585...
[ "ModelCache", "None", "__init__", "bfloat16", "class", "config", "def", "device", "dtype", "for", "in", "int", "kwargs", "layer", "max_batch_size", "num_heads", "num_hidden_layers", "qk_head_dim", "range", "reset", "rnn_state", "self", "seqlen_offset", "tensor", "torc...
xlstm/modeling_xlstm.py:xLSTMOutput
[ -0.0001818899909267202, 0.023966681212186813, 0.02796112932264805, 0.018032075837254524, -0.0010342764435335994, 0.029444780200719833, 0.05774829164147377, -0.011241515167057514, 0.0192874725908041, -0.0071900044567883015, -0.004593614023178816, 0.011640959419310093, -0.001733304699882865, ...
[ "FloatTensor", "ModelOutput", "None", "cache_params", "class", "hidden_states", "last_hidden_state", "r", "torch" ]
xlstm/modeling_xlstm.py:xLSTMModel
[ -0.00002335135286557488, 0.012350662611424923, -0.003482435829937458, 0.01770825684070587, 0.0000995736918412149, 0.04895148426294327, 0.008402962237596512, -0.01985129341483116, 0.007275048177689314, 0.015001261606812477, 0.03067927248775959, -0.02729552797973156, 0.0017059704987332225, 0...
[ "Embedding", "False", "ModelBlock", "ModelCache", "ModelModel", "ModelOutput", "ModelPreTrainedModel", "ModelRMSNorm", "Model_block", "ModuleList", "None", "ValueError", "You", "_", "__init__", "and", "auto_docstring", "blocks", "cache_params", "capture_outputs", "class", "...
xlstm/modeling_xlstm.py:xLSTMCausalLMOutput
[ -0.0001988928415812552, 0.02819819003343582, 0.03584709018468857, 0.004224020056426525, -0.0011915733339264989, 0.039043646305799484, 0.05091656744480133, -0.0077630640007555485, 0.017923545092344284, -0.016781918704509735, 0.002169091487303376, -0.00019621715182438493, -0.002340335631743073...
[ "ModelCausalLMOutput", "ModelOutput", "None", "cache_params", "class", "hidden_states", "logits", "loss", "r" ]
xlstm/modeling_xlstm.py:xLSTMForCausalLM
[ -0.0004018944164272398, 0.037646546959877014, 0.01397131197154522, 0.007102570496499538, -0.0018560215830802917, 0.010697699151933193, 0.027474964037537575, 0.014205140992999077, -0.002294451929628849, 0.02034316584467888, 0.012042218819260597, -0.02607198804616928, 0.00043477670988067985, ...
[ "CrossEntropyLoss", "GenerationMixin", "Linear", "ModelCausalLMOutput", "ModelForCausalLM", "ModelModel", "ModelPreTrainedModel", "Model_outputs", "None", "__init__", "and", "auto_docstring", "backbone", "cache_params", "can_return_tuple", "class", "config", "contiguous", "def", ...
minimax_m2/modeling_minimax_m2.py:MiniMaxM2TopKRouter
[ -0.0003562500060070306, 0.040193814784288406, 0.0004884665249846876, -0.012692783959209919, -0.001564561971463263, 0.055002063512802124, 0.06957526504993439, -0.021037114784121513, -0.0020713917911052704, 0.014103093184530735, 0.014514434151351452, -0.014690722338855267, 0.000096866948297247...
[ "F", "False", "ModelTopKRouter", "Module", "Parameter", "True", "_", "__init__", "class", "config", "def", "dim", "dtype", "e_score_correction_bias", "empty", "float", "forward", "functional", "gather", "hidden_dim", "hidden_size", "hidden_states", "keepdim", "linear", ...
minimax_m2/modeling_minimax_m2.py:MiniMaxM2Experts
[ -0.00034121109638363123, 0.03740254417061806, -0.011964167468249798, 0.00586592685431242, -0.0012632070574909449, 0.05877542495727539, 0.06318939477205276, -0.015565034002065659, -0.005227063782513142, -0.019165899604558945, 0.01178993284702301, -0.01568119041621685, -0.0016334573738276958, ...
[ "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", ...
minimax_m2/modeling_minimax_m2.py:MiniMaxM2SparseMoeBlock
[ -0.00039107189513742924, 0.03901171684265137, 0.0026585545856505632, -0.023266024887561798, -0.0015202232170850039, 0.040656790137290955, 0.056167472153902054, -0.0441819466650486, -0.0011897399090230465, -0.009400413371622562, 0.022678498178720474, -0.015510682947933674, 0.00043513634591363...
[ "ModelExperts", "ModelSparseMoeBlock", "ModelTopKRouter", "Module", "_", "__init__", "and", "batch_size", "class", "config", "def", "e_score_correction_bias", "empty_like", "experts", "forward", "gate", "hidden_dim", "hidden_states", "if", "jitter_noise", "nn", "num_experts...
minimax_m2/modeling_minimax_m2.py:MiniMaxM2RMSNorm
[ -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", ...
minimax_m2/modeling_minimax_m2.py:MiniMaxM2RotaryEmbedding
[ -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_m2/modeling_minimax_m2.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_m2/modeling_minimax_m2.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_m2/modeling_minimax_m2.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_m2/modeling_minimax_m2.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_m2/modeling_minimax_m2.py:MiniMaxM2Attention
[ -0.000045203636545920745, 0.03977217897772789, 0.021346649155020714, 0.004690645262598991, -0.00028965435922145844, 0.03415463864803314, 0.037300460040569305, -0.00966216716915369, 0.004325505346059799, 0.021459000185132027, 0.016515566036105156, 0.032357025891542435, -0.00007987438584677875...
[ "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", "...
minimax_m2/modeling_minimax_m2.py:MiniMaxM2DecoderLayer
[ -0.00019759255519602448, 0.04650070518255234, 0.007542187813669443, -0.0009640390635468066, -0.0008966980967670679, 0.039242058992385864, 0.041510388255119324, -0.03493223711848259, 0.004905257374048233, -0.007542187813669443, 0.001899724011309445, 0.017806367948651314, -0.001587828970514237...
[ "GradientCheckpointingLayer", "ModelAttention", "ModelDecoderLayer", "ModelRMSNorm", "ModelSparseMoeBlock", "None", "Tensor", "_", "__init__", "attention_mask", "class", "config", "def", "eps", "forward", "hidden_size", "hidden_states", "input_layernorm", "kwargs", "layer_idx",...
minimax_m2/modeling_minimax_m2.py:MiniMaxM2PreTrainedModel
[ -0.00037874607369303703, 0.041254185140132904, -0.002694923896342516, -0.0008558204281143844, -0.001573252840898931, 0.04824642091989517, 0.034028876572847366, -0.015033305622637272, -0.0101387407630682, -0.005477250553667545, 0.004282744135707617, -0.009556054137647152, -0.00439928099513053...
[ "ModelAttention", "ModelConfig", "ModelDecoderLayer", "ModelExperts", "ModelPreTrainedModel", "ModelSparseMoeBlock", "ModelTopKRouter", "OutputRecorder", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outputs", "_init_weights", "_no_split_modules", "_skip_keys_device_p...
minimax_m2/modeling_minimax_m2.py:MiniMaxM2Model
[ -0.00022799782163929194, 0.05608746409416199, -0.007523928303271532, -0.010145902633666992, -0.001018865266814828, 0.04651155695319176, 0.03967162221670151, -0.015617851167917252, 0.00843591894954443, -0.00032418439514003694, 0.018923819065093994, -0.008549918420612812, -0.001909481710754335...
[ "DynamicCache", "Embedding", "False", "ModelDecoderLayer", "ModelModel", "ModelPreTrainedModel", "ModelRMSNorm", "ModelRotaryEmbedding", "ModuleList", "MoeModelOutputWithPast", "None", "ValueError", "You", "__init__", "and", "arange", "attention_mask", "auto_docstring", "capture_...
minimax_m2/modeling_minimax_m2.py:load_balancing_loss_func
[ -0.00025329916388727725, 0.019065221771597862, 0.001883689546957612, -0.028769075870513916, -0.000941844773478806, 0.05890810862183571, 0.038587093353271484, -0.010845485143363476, 0.0004441654309630394, -0.023289252072572708, 0.0317373126745224, -0.0061362613923847675, -0.000970385503023862...
[ "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_m2/modeling_minimax_m2.py:MiniMaxM2ForCausalLM
[ -0.0004370313254185021, 0.040492139756679535, -0.0033792213071137667, -0.010649667121469975, -0.0017115536611527205, 0.04798201471567154, 0.03908778727054596, -0.0053833480924367905, -0.00687547167763114, 0.009713432751595974, 0.027267828583717346, -0.007021758239716291, 0.000199315545614808...
[ "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...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPOutput
[ -0.00007196026126621291, 0.016062933951616287, 0.015838276594877243, 0.011008163914084435, -0.0004107000131625682, 0.03392311930656433, 0.04470662772655487, -0.009379405528306961, 0.015388964675366879, 0.005195179488509893, 0.022353313863277435, 0.018758811056613922, -0.0032856001053005457, ...
[ "ModelOutput", "None", "class", "def", "else", "for", "if", "image_embeds", "in", "isinstance", "logits_per_image", "logits_per_text", "loss", "r", "return", "self", "text_embeds", "text_model_output", "to_tuple", "tuple", "v", "values", "vision_model_output" ]
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextEmbeddings
[ -0.00022372149396687746, 0.02795453369617462, 0.02159089967608452, -0.006676133256405592, -0.0010014199651777744, 0.036363620311021805, 0.03363635018467903, -0.01318181212991476, 0.006278406362980604, -0.01369317527860403, 0.032272711396217346, 0.025909079238772392, -0.0018323855474591255, ...
[ "Dropout", "Embedding", "False", "LayerNorm", "ModelTextEmbeddings", "Module", "None", "__init__", "arange", "buffered_token_type_ids", "buffered_token_type_ids_expanded", "class", "config", "def", "device", "dropout", "dtype", "else", "embeddings", "eps", "expand", "forwar...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPVisionEmbeddings
[ -0.000058578007156029344, 0.02115103229880333, 0.01723417453467846, 0.026746543124318123, -0.0002500494010746479, 0.009120683185756207, 0.026858452707529068, -0.011470797471702099, 0.0032873626332730055, 0.020815301686525345, 0.026075081899762154, 0.031111041083931923, -0.0001809798122849315...
[ "Conv2d", "Embedding", "False", "Input", "ModelVisionEmbeddings", "Module", "Parameter", "ValueError", "_", "__init__", "align_corners", "and", "arange", "batch_size", "bicubic", "cat", "class", "class_embedding", "class_embeds", "class_pos_embed", "config", "def", "dim",...
chinese_clip/modeling_chinese_clip.py:eager_attention_forward
[ 0.00004112156238988973, 0.031241774559020996, 0.026487592607736588, -0.012225042097270489, 0.0001750982628436759, 0.035769566893577576, 0.061577990651130676, -0.0215070191770792, 0.02297855168581009, 0.011602470651268959, 0.02422369457781315, 0.030788995325565338, 0.0024761371314525604, -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", "...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextSelfAttention
[ -0.000011196402738278266, 0.04541085287928581, 0.04855813831090927, -0.0031332364305853844, -0.0002862766559701413, 0.016860464587807655, 0.03596899285912514, -0.024841085076332092, 0.0042713177390396595, 0.020007751882076263, 0.020007751882076263, 0.011071705259382725, -0.001145106623880565...
[ "ALL_ATTENTION_FUNCTIONS", "Dropout", "False", "Linear", "ModelTextSelfAttention", "Module", "None", "The", "ValueError", "__init__", "_attn_implementation", "a", "all_head_size", "and", "attention", "attention_dropout", "attention_head_size", "attention_interface", "attention_ma...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextSelfOutput
[ -0.00007517141057178378, 0.05311761423945427, 0.04478985071182251, 0.019806567579507828, -0.00046069963718764484, 0.051317017525434494, 0.02554597146809101, -0.02757164277136326, 0.005204850807785988, 0.014517313800752163, 0.02757164277136326, 0.007652537431567907, 0.0026727612130343914, -...
[ "Dropout", "LayerNorm", "Linear", "ModelTextSelfOutput", "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" ]
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextAttention
[ 0.00017514680803287774, 0.0446111299097538, 0.0518576055765152, -0.012794562615454197, 0.0006156675517559052, 0.031703341752290726, 0.03872336447238922, -0.032382696866989136, 0.01449295599013567, -0.0034958594478666782, 0.02162620797753334, 0.0371381975710392, 0.0014507109299302101, -0.00...
[ "ModelTextAttention", "ModelTextSelfAttention", "ModelTextSelfOutput", "Module", "None", "_", "__init__", "attention_mask", "class", "config", "def", "forward", "hidden_states", "kwargs", "nn", "output", "residual", "return", "self", "super" ]
chinese_clip/modeling_chinese_clip.py:ChineseCLIPVisionAttention
[ -0.00007728143100393936, 0.04046736657619476, 0.038444001227617264, 0.014500807039439678, -0.00009484539623372257, 0.01933440938591957, 0.049460116773843765, -0.018772361800074577, 0.004215350840240717, 0.03799436241388321, 0.027540292590856552, 0.018997181206941605, -0.002121726516634226, ...
[ "ALL_ATTENTION_FUNCTIONS", "False", "Linear", "ModelVisionAttention", "Module", "None", "__init__", "_attn_implementation", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_weights", "class", "config", "contiguous", "def", "dropout", "eager_atten...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextIntermediate
[ -0.00021597807062789798, 0.02787272445857525, 0.04823688045144081, 0.0107509084045887, -0.0008319155313074589, 0.03299220651388168, 0.035267528146505356, -0.028327789157629013, -0.002602402353659272, -0.009271947667002678, 0.029010387137532234, -0.010068310424685478, -0.0024175322614610195, ...
[ "ACT2FN", "Linear", "ModelTextIntermediate", "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" ]
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextOutput
[ -0.0002003457339014858, 0.04379947856068611, 0.04811134189367294, 0.029048357158899307, -0.0009503124747425318, 0.04470723867416382, 0.0424378365278244, -0.037218209356069565, 0.002241035457700491, 0.014978059567511082, 0.020084215328097343, 0.017360933125019073, 0.0008297504391521215, 0.0...
[ "Dropout", "LayerNorm", "Linear", "ModelTextOutput", "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", ...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPVisionMLP
[ -0.00018684289534576237, 0.03735434636473656, 0.031887855380773544, 0.033937789499759674, -0.0004697764234151691, 0.04737624153494835, 0.031432315707206726, -0.033937789499759674, 0.0033169062808156013, 0.0001565921411383897, 0.04942617565393448, -0.02072710543870926, 0.0018079275032505393, ...
[ "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" ]
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextLayer
[ -0.000046429395297309384, 0.03057975135743618, 0.04307950288057327, 0.0028738270048052073, -0.00009939813753589988, 0.02321382611989975, 0.03281185030937195, -0.02578073926270008, -0.0016252468340098858, -0.0040177772752940655, 0.020423702895641327, 0.037052836269140244, 0.000488271558424457...
[ "GradientCheckpointingLayer", "ModelTextAttention", "ModelTextIntermediate", "ModelTextLayer", "ModelTextOutput", "None", "__init__", "apply_chunking_to_forward", "attention", "attention_mask", "attention_output", "chunk_size_feed_forward", "class", "config", "def", "feed_forward_chunk...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPVisionLayer
[ -0.00007579684461234137, 0.032302599400281906, 0.01817021146416664, 0.027591802179813385, 0.0001857679890235886, 0.04082689434289932, 0.037910688668489456, -0.014917519874870777, 0.00958983413875103, 0.03275124728679657, 0.0224323607981205, 0.016151299700140953, 0.0016263461438938975, -0.0...
[ "GradientCheckpointingLayer", "LayerNorm", "ModelVisionAttention", "ModelVisionLayer", "ModelVisionMLP", "_", "__init__", "attention_mask", "class", "config", "def", "embed_dim", "eps", "forward", "hidden_size", "hidden_states", "kwargs", "layer_norm1", "layer_norm2", "layer_no...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextPooler
[ -0.0001973846519831568, 0.017561038956046104, 0.045771997421979904, 0.01688125543296337, -0.0007505927351303399, 0.026058314368128777, 0.036934830248355865, -0.017221147194504738, 0, 0.0009347004233859479, 0.020053572952747345, -0.003469721181318164, -0.0013099968200549483, 0.0009347004233...
[ "Linear", "ModelTextPooler", "Module", "Tanh", "__init__", "activation", "class", "config", "def", "dense", "first_token_tensor", "forward", "hidden_size", "hidden_states", "nn", "pooled_output", "return", "self", "super" ]
chinese_clip/modeling_chinese_clip.py:ChineseCLIPPreTrainedModel
[ -0.00017355378076899797, 0.04713614657521248, 0.0043978700414299965, 0.023906372487545013, -0.0006871672230772674, 0.03653615340590477, 0.015110631473362446, -0.018155310302972794, -0.0009232708252966404, 0.01150212250649929, 0.01657658815383911, 0.007555315736681223, -0.003340689931064844, ...
[ "Model", "ModelConfig", "ModelModel", "ModelPreTrainedModel", "ModelTextEmbeddings", "ModelTextLayer", "ModelVisionAttention", "ModelVisionEmbeddings", "ModelVisionLayer", "ModelVisionMLP", "None", "PreTrainedModel", "True", "_can_record_outputs", "_init_weights", "_no_split_modules", ...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextEncoder
[ 0, 0.025363951921463013, 0.03770923987030983, 0.02053806744515896, 0.00018763433035928756, 0.03411788120865822, 0.025027262046933174, -0.037484779953956604, 0.0066496203653514385, 0.00437696510925889, 0.027720779180526733, 0.008529470302164555, -0.0026514308992773294, 0.0178445503115654, ...
[ "BaseModelOutput", "False", "ModelTextEncoder", "ModelTextLayer", "Module", "ModuleList", "None", "__init__", "attention_mask", "class", "config", "def", "for", "forward", "gradient_checkpointing", "hidden_states", "i", "in", "kwargs", "last_hidden_state", "layer", "layer_m...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPVisionEncoder
[ -0.0000325143919326365, 0.02947034128010273, 0.013160419650375843, 0.052416715770959854, 0.00009314934141002595, 0.04229331389069557, 0.025420982390642166, -0.03261984512209892, 0.010235882364213467, 0.020471764728426933, 0.020134316757321358, 0, 0.000030756855267100036, -0.001546630519442...
[ "BaseModelOutput", "False", "ModelVisionEncoder", "ModelVisionLayer", "Module", "ModuleList", "None", "_", "__init__", "attention_mask", "class", "config", "def", "encoder_layer", "for", "forward", "gradient_checkpointing", "hidden_states", "in", "inputs_embeds", "kwargs", ...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPVisionModel
[ 0.00002175549161620438, 0.039181750267744064, 0.003372429171577096, 0.04880926385521889, 0.0001862882199930027, 0.025859953835606575, 0.039405643939971924, -0.017128022387623787, 0.010299202054738998, 0.03156929463148117, 0.027986964210867882, 0.008843880146741867, 0.00004613475903170183, ...
[ "BaseModelOutputWithPooling", "False", "LayerNorm", "ModelPreTrainedModel", "ModelVisionConfig", "ModelVisionEmbeddings", "ModelVisionEncoder", "ModelVisionModel", "None", "__init__", "_input_embed_layer", "auto_docstring", "capture_outputs", "class", "config", "def", "embed_dim", ...
chinese_clip/modeling_chinese_clip.py:ChineseCLIPTextModel
[ 0.000010755486073321663, 0.026164330542087555, 0.02694702334702015, 0.012970351614058018, -0.00009172191494144499, 0.02694702334702015, 0.02124454267323017, -0.011237244121730328, 0.006652895826846361, -0.004248908255249262, 0.027617905288934708, 0.0012718772049993277, -0.0028931712731719017...
[ "BaseModelOutputWithPooling", "ModelPreTrainedModel", "ModelTextConfig", "ModelTextEmbeddings", "ModelTextEncoder", "ModelTextLayer", "ModelTextModel", "ModelTextPooler", "ModelTextSelfAttention", "None", "True", "ValueError", "You", "__init__", "_can_record_outputs", "_input_embed_lay...
chinese_clip/modeling_chinese_clip.py:contrastive_loss
[ 0.00006128331006038934, 0.03702041134238243, 0.03792334720492363, -0.001685952302068472, 0.00017370952991768718, 0.061851173639297485, 0.017607267946004868, 0.026072300970554352, 0.02246055379509926, -0.006235907319933176, 0.029345447197556496, -0.03137705475091934, 0.0021444750018417835, ...
[ "Model_loss", "arange", "cross_entropy", "def", "device", "functional", "len", "logits", "nn", "return", "torch" ]
chinese_clip/modeling_chinese_clip.py:image_text_contrastive_loss
[ 0.00012444604362826794, 0.041121914982795715, 0.09263728559017181, -0.02361121028661728, 0.000621347629930824, 0.03321385383605957, -0.005846316460520029, -0.02451498806476593, 0.0257576834410429, 0.023950127884745598, 0.0408959724009037, 0.007173740770667791, 0.0036715997848659754, -0.016...
[ "Model_loss", "Model_text_contrastive_loss", "T", "caption_loss", "contrastive_loss", "def", "return", "similarity" ]
chinese_clip/modeling_chinese_clip.py:_get_vector_norm
[ -0.000019035393052035943, 0.0236134584993124, 0.046335846185684204, 0.026175295934081078, 0.00016272540960926563, 0.019603626802563667, 0.03163312375545502, -0.03230142965912819, 0.00824243389070034, 0.050122909247875214, 0.029850976541638374, 0.012976264581084251, -0.0005882480181753635, ...
[ "True", "_get_vector_norm", "def", "dim", "keepdim", "normed_tensor", "pow", "return", "square_tensor", "sum", "sum_tensor", "tensor", "torch" ]
chinese_clip/modeling_chinese_clip.py:ChineseCLIPModel
[ -0.00003133298014290631, 0.04812745749950409, 0.045008085668087006, 0.025066383183002472, 0, 0.03921496495604515, 0.02350669726729393, -0.00818835198879242, 0.011697646230459213, 0.023395292460918427, 0.03587277978658676, 0.01983029581606388, -0.0008355461177416146, -0.001629314967431128, ...
[ "False", "Linear", "ModelModel", "ModelOutput", "ModelPreTrainedModel", "ModelTextModel", "ModelVisionModel", "None", "Parameter", "True", "__init__", "_from_config", "_get_vector_norm", "add_pooling_layer", "attention_mask", "auto_docstring", "can_return_tuple", "class", "config...
segformer/modeling_segformer.py:SegFormerImageClassifierOutput
[ -0.00017633380775805563, 0.031530965119600296, 0.03175780922174454, 0.021096257492899895, -0.001091674668714404, 0.038109369575977325, 0.051266174763441086, -0.017353372648358345, 0.014177592471241951, -0.023137832060456276, 0.027447819709777832, 0.024272039532661438, -0.00282134092412889, ...
[ "ImageClassifierOutput", "ModelImageClassifierOutput", "None", "attentions", "class", "hidden_states", "logits", "loss", "r" ]
segformer/modeling_segformer.py:SegformerOverlapPatchEmbeddings
[ -0.00009981406765291467, 0.002603080589324236, 0.03174351155757904, 0.018573330715298653, -0.00018995453137904406, 0.01744767464697361, 0.018348200246691704, -0.011650544591248035, 0.009399231523275375, 0.006753938738256693, 0.024989573284983635, 0.016322018578648567, -0.001801050384528935, ...
[ "Conv2d", "LayerNorm", "ModelOverlapPatchEmbeddings", "Module", "_", "__init__", "class", "def", "embeddings", "flatten", "forward", "height", "hidden_size", "kernel_size", "layer_norm", "nn", "num_channels", "padding", "patch_size", "pixel_values", "proj", "return", "sel...
segformer/modeling_segformer.py:SegformerSequenceReduction
[ -0.00005577645788434893, 0.021586807444691658, 0.02023763209581375, 0.011749069206416607, 0, 0.019000887870788574, -0.011467991396784782, -0.030131585896015167, 0.013997695408761501, 0.026421353220939636, 0.0010189085733145475, 0.0026561892591416836, 0.0016583615215495229, -0.0115242069587...
[ "Conv2d", "LayerNorm", "ModelSequenceReduction", "Module", "__init__", "batch_size", "class", "def", "forward", "height", "hidden_size", "hidden_states", "kernel_size", "layer_norm", "nn", "num_channels", "reshape", "return", "self", "seq_len", "sequence_reduction", "sequen...