identifier
stringlengths
24
117
embedding
listlengths
2.56k
2.56k
tokens
listlengths
4
444
canine/modeling_canine.py:CaninePooler
[ -0.000256904138950631, 0.011360871605575085, 0.036994196474552155, 0.02317846193909645, -0.0011489323806017637, 0.03288372978568077, 0.036537475883960724, -0.005851705092936754, -0.00134874670766294, 0.0015913783572614193, 0.014101182110607624, -0.01575678586959839, -0.0013273380463942885, ...
[ "Linear", "ModelPooler", "Module", "Tanh", "__init__", "activation", "class", "config", "def", "dense", "first_token_tensor", "forward", "hidden_size", "hidden_states", "nn", "pooled_output", "return", "self", "super" ]
canine/modeling_canine.py:CaninePredictionHeadTransform
[ -0.00030270309071056545, 0.0421849861741066, 0.04310205206274986, 0.03232653811573982, -0.0013397745788097382, 0.027053415775299072, 0.029575344175100327, -0.011348678730428219, -0.0017409904394298792, 0.020404694601893425, 0.01593400351703167, 0.006218846887350082, 0.00018269653082825243, ...
[ "ACT2FN", "LayerNorm", "Linear", "ModelPredictionHeadTransform", "Module", "__init__", "class", "config", "def", "dense", "else", "eps", "forward", "hidden_act", "hidden_size", "hidden_states", "if", "isinstance", "layer_norm_eps", "nn", "return", "self", "str", "super"...
canine/modeling_canine.py:CanineLMPredictionHead
[ -0.0003420651482883841, 0.03779279813170433, 0.032953474670648575, 0.01912684179842472, -0.0016923223156481981, 0.021661724895238876, 0.05277165025472641, -0.027422823011875153, 0, 0.003283825470134616, 0.020394284278154373, 0.005473042372614145, 0.0002502476563677192, 0.005645875353366136...
[ "Linear", "ModelLMPredictionHead", "ModelPredictionHeadTransform", "Module", "Parameter", "__init__", "bias", "class", "config", "decoder", "def", "forward", "hidden_size", "hidden_states", "nn", "return", "self", "super", "torch", "transform", "vocab_size", "zeros" ]
canine/modeling_canine.py:CanineOnlyMLMHead
[ -0.0003736490325536579, 0.019480785354971886, 0.0179643165320158, 0.030096063390374184, -0.0017789339181035757, 0.040128085762262344, 0.04199450835585594, -0.010032021440565586, -0.002201795345172286, -0.004753544926643372, 0.015164682641625404, 0.010673603974282742, -0.002099725417792797, ...
[ "ModelLMPredictionHead", "ModelOnlyMLMHead", "Module", "__init__", "class", "config", "def", "forward", "nn", "prediction_scores", "predictions", "return", "self", "sequence_output", "super" ]
canine/modeling_canine.py:CaninePreTrainedModel
[ -0.00031052721897140145, 0.031016824766993523, -0.009764555841684341, 0.0040206992998719215, -0.001371345715597272, 0.028719281777739525, 0.02400931902229786, 0.009017853997647762, -0.004135576542466879, -0.004796119872480631, 0.0039632609114050865, -0.0029437262564897537, -0.001708797295577...
[ "Model", "ModelConfig", "ModelEmbeddings", "ModelPreTrainedModel", "PreTrainedModel", "True", "_init_weights", "arange", "base_model_prefix", "class", "config", "copy_", "def", "expand", "if", "init", "isinstance", "module", "position_ids", "self", "shape", "super", "supp...
canine/modeling_canine.py:CanineModel
[ -0.0002779807255137712, 0.02559574693441391, 0.010961407795548439, -0.0036155427806079388, -0.0009325805003754795, 0.0521097294986248, 0.0019512453582137823, -0.01268309447914362, 0.0007317169802263379, -0.0072023905813694, 0.04223872348666191, 0.02203759364783764, 0.0022525405511260033, 0...
[ "CharactersToMolecules", "ConvProjection", "False", "MaxPool1d", "ModelEmbeddings", "ModelEncoder", "ModelModel", "ModelModelOutputWithPooling", "ModelPooler", "ModelPreTrainedModel", "None", "True", "__init__", "_create_3d_attention_mask_from_input_mask", "_downsample_attention_mask", ...
canine/modeling_canine.py:CanineForSequenceClassification
[ -0.0003137399035040289, 0.030803553760051727, 0.0034368778578937054, 0.011693941429257393, -0.001247829059138894, 0.02703867480158806, 0.02007935382425785, 0.012777769938111305, -0.006075145211070776, 0.009811501950025558, 0.05886901170015335, 0.00021391356131061912, -0.000244217982981354, ...
[ "BCEWithLogitsLoss", "CrossEntropyLoss", "Dropout", "Linear", "MSELoss", "Model", "ModelForSequenceClassification", "ModelModel", "ModelPreTrainedModel", "None", "SequenceClassifierOutput", "__init__", "and", "attention_mask", "attentions", "auto_docstring", "class", "classifier", ...
canine/modeling_canine.py:CanineForMultipleChoice
[ -0.0002454288478475064, 0.05486224219202995, 0.016390379518270493, 0.030504317954182625, -0.0009959432063624263, 0.04052066057920456, 0.04484589770436287, -0.001522370264865458, 0.00023297956795431674, 0.011951318010687828, 0.041658882051706314, -0.006943146698176861, -0.000988829298876226, ...
[ "CrossEntropyLoss", "Dropout", "Linear", "Model", "ModelForMultipleChoice", "ModelModel", "ModelPreTrainedModel", "MultipleChoiceModelOutput", "None", "__init__", "attention_mask", "attentions", "auto_docstring", "class", "classifier", "config", "def", "dropout", "else", "forwa...
canine/modeling_canine.py:CanineForTokenClassification
[ -0.0002429522282909602, 0.037453655153512955, 0.0010072763543576002, -0.031324878334999084, -0.0008547662291675806, 0.03722666576504707, 0.04063154384493828, 0.016570406034588814, -0.0019010568503290415, 0.008341950364410877, 0.05742894113063812, 0.0213372353464365, -0.0010072763543576002, ...
[ "CrossEntropyLoss", "Dropout", "Linear", "Model", "ModelForTokenClassification", "ModelModel", "ModelPreTrainedModel", "None", "TokenClassifierOutput", "__init__", "attention_mask", "attentions", "auto_docstring", "class", "classifier", "config", "def", "dropout", "else", "forw...
canine/modeling_canine.py:CanineForQuestionAnswering
[ -0.00019710397464223206, 0.028833497315645218, 0.01312149316072464, 0.012333077378571033, -0.0007496990729123354, 0.04820600152015686, 0.03626713156700134, 0.02500404790043831, 0.002421563258394599, 0.030635589733719826, 0.022300906479358673, 0.022075645625591278, 0.0008024947601370513, 0....
[ "CrossEntropyLoss", "Linear", "Model", "ModelForQuestionAnswering", "ModelModel", "ModelPreTrainedModel", "None", "QuestionAnsweringModelOutput", "__init__", "and", "attention_mask", "attentions", "auto_docstring", "clamp_", "class", "config", "def", "dim", "else", "end_logits"...
granite4_vision/modeling_granite4_vision.py:Granite4VisionModelOutputWithPast
[ -0.00024888524785637856, 0.017303790897130966, 0.00750594912096858, 0.01753298006951809, -0.0014181087026372552, 0.03071136586368084, 0.05844327062368393, -0.04858813062310219, 0.011058383621275425, -0.010829194448888302, 0.03139893338084221, 0.029565418139100075, -0.002034055069088936, 0....
[ "BaseModelOutputWithPast", "ModelModelOutputWithPast", "None", "class", "deepstack_features", "image_hidden_states", "r" ]
granite4_vision/modeling_granite4_vision.py:Granite4VisionCausalLMOutputWithPast
[ -0.0003421515866648406, 0.016772707924246788, 0.017005661502480507, 0.011647713370621204, -0.001878193812444806, 0.03331246227025986, 0.04961926117539406, -0.04286358505487442, 0.011647713370621204, -0.004571727477014065, 0.02457667514681816, 0.012812484987080097, -0.0010701336432248354, 0...
[ "ModelCausalLMOutputWithPast", "ModelOutput", "None", "attentions", "class", "deepstack_features", "hidden_states", "image_hidden_states", "logits", "loss", "past_key_values", "r" ]
granite4_vision/modeling_granite4_vision.py:Granite4VisionImageFeaturesOutput
[ -0.000156962574692443, 0.016324108466506004, 0.018036426976323128, 0.03173498064279556, -0.0007170335738919675, 0.04292213171720505, 0.0589037761092186, -0.0369860902428627, 0.016209954395890236, -0.006820737384259701, 0.023401692509651184, 0.026598021388053894, 0.0011843539541587234, 0.02...
[ "BaseModelOutputWithPooling", "ModelImageFeaturesOutput", "None", "class", "deepstack_features", "r" ]
granite4_vision/modeling_granite4_vision.py:interpolate_downsample
[ -0.0001318198919761926, 0.04626092687249184, 0.03285196051001549, 0.016425980255007744, -0.00008642495959065855, 0.015532050281763077, 0.030617134645581245, -0.041120823472738266, 0.0124591626226902, 0.025030065327882767, -0.012738515622913837, 0.0012082034954801202, 0.000558706815354526, ...
[ "Model", "Model_downsample", "_", "area", "batch", "channels", "def", "flatten", "functional", "image_features", "mode", "new_side", "nn", "orig_side", "permute", "return", "size", "spatial", "torch", "view" ]
granite4_vision/modeling_granite4_vision.py:spatial_offset_downsample
[ -0.00018028938211500645, 0.03849925845861435, 0.05470947176218033, 0.01272051502019167, -0.0006367292953655124, 0.023639895021915436, 0.03534727171063423, -0.07609795033931732, 0.01407136581838131, 0.013114512898027897, 0.005009406246244907, 0.03197014331817627, 0.0023499182425439358, 0.01...
[ "Model_offset_downsample", "_", "batch", "channels", "def", "grid", "image_features", "new_side", "offset", "offset_h", "offset_w", "orig_side", "reshape", "return", "shape" ]
granite4_vision/modeling_granite4_vision.py:Granite4VisionWindowQFormerDownsampler
[ -0.00018651766004040837, 0.05738789588212967, 0.019502917304635048, 0.030711490660905838, -0.00042732685687951744, 0.012049215845763683, 0.04281675070524216, -0.05380115285515785, -0.0007495733443647623, 0.03183234855532646, 0.009919587522745132, 0.04438595101237297, 0.00035201924038119614, ...
[ "AutoModel", "Check", "Dropout", "Expected", "Fraction", "LayerNorm", "Linear", "ModelWindowQFormerDownsampler", "Module", "None", "Parameter", "True", "ValueError", "_", "__init__", "_downsample_rate", "_spatial_offset", "_unwindowed_raster", "_windowed_raster", "and", "batc...
granite4_vision/modeling_granite4_vision.py:Granite4VisionTextRotaryEmbedding
[ -0.0003746231959667057, 0.05500349774956703, 0.007139876950532198, -0.015513806603848934, -0.001858424860984087, 0.03972474858164787, 0.042310383170843124, -0.006522850599139929, -0.006757908500730991, 0.024681055918335915, 0.0052887978963553905, 0.0009916495764628053, -0.0024240324273705482...
[ "False", "ModelTextRotaryEmbedding", "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", "depre...
granite4_vision/modeling_granite4_vision.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" ]
granite4_vision/modeling_granite4_vision.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" ]
granite4_vision/modeling_granite4_vision.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" ]
granite4_vision/modeling_granite4_vision.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",...
granite4_vision/modeling_granite4_vision.py:Granite4VisionTextAttention
[ -0.0000904929474927485, 0.03980986773967743, 0.04070952534675598, -0.009896238334476948, -0.00048145762411877513, 0.028114313259720802, 0.04183409735560417, -0.022154079750180244, 0.0009066865895874798, 0.005763434339314699, 0.02586516924202442, 0.03418700397014618, -0.0019117733463644981, ...
[ "ALL_ATTENTION_FUNCTIONS", "Linear", "ModelTextAttention", "Module", "None", "Tensor", "True", "__init__", "_attn_implementation", "apply_rotary_pos_emb", "attention_dropout", "attention_interface", "attention_mask", "attention_multiplier", "attn_output", "attn_weights", "class", "...
granite4_vision/modeling_granite4_vision.py:Granite4VisionTextRMSNorm
[ -0.00007755715341772884, 0.048057232052087784, 0.038581158965826035, 0.049185335636138916, -0.0003772097988985479, 0.03406874090433121, 0.027300117537379265, -0.03564808890223503, 0.008686400949954987, 0.03677619248628616, 0.021998029202222824, 0.011845092289149761, 0.0019741819705814123, ...
[ "ModelTextRMSNorm", "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"...
granite4_vision/modeling_granite4_vision.py:Granite4VisionTextMLP
[ -0.0002030546747846529, 0.03228837624192238, 0.03320435807108879, 0.017861654981970787, -0.0006726745050400496, 0.05747789144515991, 0.02599099837243557, -0.016945673152804375, -0.001803340157493949, -0.0085300849750638, 0.03480732813477516, -0.02667798474431038, -0.0015528763178735971, 0....
[ "ACT2FN", "Linear", "ModelTextMLP", "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" ]
granite4_vision/modeling_granite4_vision.py:Granite4VisionTextDecoderLayer
[ -0.00009795463847694919, 0.0420563630759716, 0.02968684397637844, -0.001166670466773212, -0.00046385693713091314, 0.0384579561650753, 0.03598405420780182, -0.042731061577796936, 0.004582344088703394, 0.0006922713364474475, 0.007309260778129101, 0.02608843892812729, -0.002192778280004859, 0...
[ "False", "GradientCheckpointingLayer", "ModelTextAttention", "ModelTextDecoderLayer", "ModelTextMLP", "ModelTextRMSNorm", "None", "Tensor", "_", "__init__", "attention_mask", "class", "config", "def", "eps", "forward", "hidden_size", "hidden_states", "input_layernorm", "kwargs"...
granite4_vision/modeling_granite4_vision.py:Granite4VisionPreTrainedModel
[ -0.00023637899721506983, 0.053460754454135895, 0.007166015915572643, 0.02525167539715767, -0.001109026256017387, 0.02741285413503647, 0.026161644607782364, -0.032531436532735825, -0.0011872268514707685, 0.014275158755481243, 0.009668434038758278, 0.009611560963094234, -0.0036967541091144085,...
[ "ModelConfig", "ModelModel", "ModelPreTrainedModel", "ModelTextAttention", "ModelTextDecoderLayer", "ModelWindowQFormerDownsampler", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outputs", "_init_weights", "_no_split_modules", "_skip_keys_device_placement", "_supports_a...
granite4_vision/modeling_granite4_vision.py:Granite4VisionTextModel
[ -0.00016509732813574374, 0.046785227954387665, 0.008701600134372711, 0.003927020821720362, -0.0008440269739367068, 0.03638850897550583, 0.0490453839302063, -0.0409088209271431, 0.006441444158554077, 0.010114197619259357, 0.030060073360800743, 0.009379646740853786, -0.002034140285104513, 0....
[ "BaseModelOutputWithPast", "Embedding", "False", "ModelPreTrainedModel", "ModelTextConfig", "ModelTextDecoderLayer", "ModelTextModel", "ModelTextRMSNorm", "ModelTextRotaryEmbedding", "ModuleList", "None", "Tensor", "ValueError", "You", "__init__", "and", "arange", "attention_mask",...
granite4_vision/modeling_granite4_vision.py:get_anyres_image_grid_shape
[ -0.00021376764925662428, -0.00861404463648796, -0.00945855863392353, 0.008726646192371845, -0.0006756113143637776, -0.00675611337646842, 0.029276490211486816, -0.03017730638384819, 0.010866082273423672, 0.04616677388548851, -0.0030824767891317606, -0.026123637333512306, -0.002857272978872060...
[ "Model_anyres_image_grid_shape", "Tensor", "TypeError", "a", "be", "def", "either", "f", "grid_pinpoints", "height", "if", "image_size", "invalid", "isinstance", "list", "lists", "ndarray", "not", "np", "of", "or", "patch_size", "raise", "return", "select_best_resolut...
granite4_vision/modeling_granite4_vision.py:image_size_to_num_patches
[ 0.00007070718129398301, -0.009218121878802776, -0.011285215616226196, -0.004525259602814913, 0.0005028066225349903, -0.01608981192111969, 0.026145944371819496, -0.019218387082219124, 0.004972198978066444, 0.008100773207843304, -0.0057543423026800156, -0.024246452376246452, -0.005307403393089...
[ "Model_size", "Model_size_to_num_patches", "Tensor", "TypeError", "a", "be", "best_resolution", "def", "f", "for", "grid_pinpoints", "height", "i", "if", "in", "invalid", "isinstance", "j", "list", "lists", "ndarray", "not", "np", "num_patches", "of", "or", "patch...
granite4_vision/modeling_granite4_vision.py:unpad_image
[ -0.00005202382817515172, 0.02917824499309063, 0.039346419274806976, -0.006438002921640873, -0.00008893700578482822, 0.02077844738960266, -0.003108477685600519, -0.03735699504613876, 0.0071287755854427814, 0.045977842062711716, -0.010776055976748466, -0.01668907143175602, 0.001823640312068164...
[ "Model_image", "Modelded_tensor", "Tensor", "TypeError", "be", "current_aspect_ratio", "current_height", "current_width", "def", "either", "else", "f", "if", "image_size", "int", "invalid", "isinstance", "list", "ndarray", "new_height", "new_width", "not", "np", "or", ...
granite4_vision/modeling_granite4_vision.py:Granite4VisionModel
[ -0.00020341758499853313, 0.03748495131731033, -0.010437427088618279, 0.02053816244006157, -0.0006277887732721865, 0.042198628187179565, 0.03299573436379433, -0.03703603148460388, -0.002048204652965069, 0.016161177307367325, 0.02940436266362667, 0.02177269570529461, -0.000799641537014395, 0...
[ "AutoModel", "CLS", "Fraction", "Image", "ModelConfig", "ModelImageFeaturesOutput", "ModelModel", "ModelModelOutputWithPast", "ModelPreTrainedModel", "ModelTextModel", "ModelWindowQFormerDownsampler", "ModuleList", "None", "Obtains", "Parameter", "True", "ValueError", "You", "_",...
granite4_vision/modeling_granite4_vision.py:Granite4VisionForConditionalGeneration
[ -0.0002048855385510251, 0.036536168307065964, 0.005659744143486023, 0.019837122410535812, -0.0006304170237854123, 0.02790646068751812, 0.027682311832904816, -0.043260619044303894, -0.002269501332193613, 0.02869097888469696, 0.041691578924655914, 0.014569638296961784, 0.001961297355592251, ...
[ "GenerationMixin", "Linear", "ModelCausalLMOutputWithPast", "ModelForConditionalGeneration", "ModelModel", "ModelPreTrainedModel", "None", "True", "__init__", "_tied_weights_keys", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "config", "deepstack_fea...
ernie4_5/modeling_ernie4_5.py:Ernie4_5RotaryEmbedding
[ -0.00039366394048556685, 0.04802330583333969, 0.0005248852539807558, -0.008634732104837894, -0.001996042672544718, 0.040216561406850815, 0.047077033668756485, 0.0008058098028413951, -0.0019812569953501225, 0.02306538075208664, 0, -0.001951686106622219, -0.0019664715509861708, 0.00952186249...
[ "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...
ernie4_5/modeling_ernie4_5.py:Ernie4_5MLP
[ -0.0002212489052908495, 0.027053525671362877, 0.02313939854502678, 0.026362797245383263, -0.0008490202017128468, 0.058942150324583054, 0.03430617228150368, -0.003626323537901044, -0.0004442966019269079, -0.0040004681795835495, 0.02774425409734249, -0.04650903865695, -0.0018851127242669463, ...
[ "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" ]
ernie4_5/modeling_ernie4_5.py:rotate_half
[ 0.000020890642190352082, 0.007993859238922596, 0.029498467221856117, -0.00021638307953253388, 0.00044683986925520003, 0.031750258058309555, 0.018126919865608215, -0.02184237726032734, 0.016438078135252, 0.026345958933234215, -0.004559877794235945, -0.00911975558847189, 0.00020318898896221071...
[ "Model_half", "def", "dim", "flatten", "return", "stack", "torch", "x", "x1", "x2" ]
ernie4_5/modeling_ernie4_5.py:repeat_kv
[ -0.0002073117793770507, -0.001958739012479782, -0.003831693669781089, -0.009035934694111347, -0.00046823869342915714, 0.03202609717845917, 0.010179723612964153, -0.0571894571185112, 0.011380702257156372, 0.052156783640384674, 0.006176461465656757, -0.02207513153553009, 0.0006791247869841754,...
[ "Model_kv", "None", "batch", "def", "expand", "head_dim", "hidden_states", "if", "n_rep", "num_key_value_heads", "reshape", "return", "shape", "slen" ]
ernie4_5/modeling_ernie4_5.py:eager_attention_forward
[ -0.000020655716070905328, 0.020133469253778458, 0.01408211700618267, -0.01877615600824356, 0, 0.03845718875527382, 0.05293518677353859, -0.03461147099733353, 0.020359687507152557, 0.007861101999878883, 0.02805112488567829, 0.020246578380465508, 0.002516683656722307, -0.01832371950149536, ...
[ "Model_attention_forward", "None", "attention_mask", "attn_output", "attn_weights", "contiguous", "def", "dim", "dropout", "dtype", "float32", "functional", "if", "is", "key", "key_states", "kwargs", "matmul", "module", "nn", "not", "num_key_value_groups", "p", "query",...
ernie4_5/modeling_ernie4_5.py:apply_rotary_pos_emb
[ -0.0001594654022483155, 0.029029790312051773, 0.025968054309487343, -0.001885235426016152, -0.0007796086138114333, 0.017803426831960678, 0.04104993864893913, -0.00521629024296999, 0.010772773995995522, 0.035153262317180634, 0.0062368689104914665, 0.006321917288005352, -0.0005067455931566656,...
[ "Model_rotary_pos_emb", "cos", "def", "dim", "float", "k", "k_embed", "q", "q_embed", "repeat_interleave", "return", "rotate_half", "shape", "sin", "unsqueeze", "unsqueeze_dim" ]
ernie4_5/modeling_ernie4_5.py:Ernie4_5Attention
[ -0.00011331891437293962, 0.03215797618031502, 0.027547916397452354, -0.0071961903013288975, -0.0003865141188725829, 0.031708214432001114, 0.04362690448760986, -0.005931234918534756, 0.003401324385777116, 0.007533511612564325, 0.014954582788050175, 0.026760833337903023, -0.001286037964746356,...
[ "ALL_ATTENTION_FUNCTIONS", "Linear", "ModelAttention", "Module", "None", "Tensor", "True", "__init__", "_attn_implementation", "apply_rotary_pos_emb", "attention_dropout", "attention_interface", "attention_mask", "attn_output", "attn_weights", "class", "config", "contiguous", "co...
ernie4_5/modeling_ernie4_5.py:Ernie4_5RMSNorm
[ -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", ...
ernie4_5/modeling_ernie4_5.py:Ernie4_5DecoderLayer
[ -0.00015424266166519374, 0.043547552078962326, 0.011112522333860397, 0.0025524955708533525, -0.000567612994927913, 0.03926048427820206, 0.043547552078962326, -0.03181453049182892, 0.007107501849532127, -0.004371677525341511, -0.004399882163852453, 0.02380448952317238, -0.0014948317548260093,...
[ "False", "GradientCheckpointingLayer", "ModelAttention", "ModelDecoderLayer", "ModelMLP", "ModelRMSNorm", "None", "Tensor", "_", "__init__", "attention_mask", "class", "config", "def", "eps", "forward", "hidden_size", "hidden_states", "input_layernorm", "kwargs", "layer_idx",...
ernie4_5/modeling_ernie4_5.py:Ernie4_5PreTrainedModel
[ -0.00033686848473735154, 0.02805064059793949, 0.016459466889500618, 0.011127526871860027, -0.001680720248259604, 0.02932566963136196, 0.03060069866478443, -0.03152799233794212, -0.004056910984218121, 0.0036801977548748255, 0.006664924789220095, 0.003998954780399799, -0.0042887344025075436, ...
[ "ModelAttention", "ModelConfig", "ModelDecoderLayer", "ModelPreTrainedModel", "PreTrainedModel", "True", "_can_compile_fullgraph", "_can_record_outputs", "_no_split_modules", "_skip_keys_device_placement", "_supports_attention_backend", "_supports_flash_attn", "_supports_flex_attn", "_supp...
ernie4_5/modeling_ernie4_5.py:Ernie4_5Model
[ -0.00014654066762886941, 0.049039922654628754, -0.007344688754528761, -0.006581970956176519, -0.0008651195676065981, 0.04090426489710808, 0.04090426489710808, -0.019887156784534454, 0.012429472990334034, 0.009548095054924488, 0.015932325273752213, -0.002005665097385645, -0.001285320497117936...
[ "BaseModelOutputWithPast", "DynamicCache", "Embedding", "False", "ModelDecoderLayer", "ModelModel", "ModelPreTrainedModel", "ModelRMSNorm", "ModelRotaryEmbedding", "ModuleList", "None", "ValueError", "You", "__init__", "and", "arange", "attention_mask", "auto_docstring", "capture...
ernie4_5/modeling_ernie4_5.py:Ernie4_5ForCausalLM
[ -0.00029686582274734974, 0.03799882531166077, 0.003157088067382574, -0.0005652894033119082, -0.001166131696663797, 0.02582554891705513, 0.039364054799079895, -0.00600131182000041, 0.002062062034383416, 0.03253791853785515, 0.02628062479197979, 0.0009065962512977421, 0.001095026032999158, -...
[ "CausalLMOutputWithPast", "GenerationMixin", "Linear", "ModelForCausalLM", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "_fsdp_plan", "_pp_plan", "_tied_weights_keys", "_tp_plan", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "colwise_g...
bridgetower/modeling_bridgetower.py:BridgeTowerModelOutput
[ -0.00008211164822569117, 0.025629373267292976, 0.033498041331768036, 0.027540335431694984, -0.0005269196699373424, 0.03911851719021797, 0.04608790576457977, -0.02012130618095398, 0.01528769638389349, -0.009048966690897942, 0.01090372446924448, 0.015062876977026463, -0.0005796116311103106, ...
[ "ModelModelOutput", "ModelOutput", "None", "attentions", "class", "hidden_states", "image_features", "pooler_output", "r", "text_features" ]
bridgetower/modeling_bridgetower.py:BridgeTowerContrastiveOutput
[ -0.00010682785796234384, 0.04479208588600159, 0.06527490168809891, 0.0007948344573378563, -0.0007280120626091957, 0.039164941757917404, 0.03128693625330925, -0.011873279698193073, 0.01823195442557335, -0.007427833508700132, 0.017106525599956512, 0.029261162504553795, -0.00018815771909430623,...
[ "ModelContrastiveOutput", "ModelOutput", "None", "attentions", "class", "cross_embeds", "hidden_states", "image_embeds", "logits", "loss", "r", "text_embeds" ]
bridgetower/modeling_bridgetower.py:BridgeTowerResidualAttention
[ -0.00009657377086114138, 0.039059899747371674, 0.04921999201178551, 0.0006208943668752909, -0.00036865603760816157, 0.05644494295120239, 0.018175272271037102, -0.02314242720603943, 0.005390492267906666, 0.001601625233888626, 0.013038781471550465, 0.015917474403977394, 0.0014816797338426113, ...
[ "False", "LayerNorm", "Linear", "ModelResidualAttention", "Module", "ModuleDict", "MultiheadAttention", "None", "OrderedDict", "QuickGELUActivation", "__init__", "attention", "attention_mask", "attn", "attn_mask", "bool", "c_fc", "c_proj", "class", "config", "def", "device"...
bridgetower/modeling_bridgetower.py:BridgeTowerTransformer
[ -0.00009324814163846895, 0.036311615258455276, 0.0331735759973526, -0.004146696999669075, -0.00039925967575982213, 0.04057038575410843, 0.003348177531734109, -0.021293848752975464, 0.0039785876870155334, -0.019724829122424126, -0.0012678245548158884, 0.0004623006680049002, 0.0017021070234477...
[ "ModelResidualAttention", "ModelTransformer", "Module", "ModuleList", "None", "_", "__init__", "attention_mask", "block", "class", "config", "def", "else", "for", "forward", "hidden_size", "hidden_state", "hidden_states", "if", "in", "nn", "num_hidden_layers", "range", ...
bridgetower/modeling_bridgetower.py:BridgeTowerVisionEmbeddings
[ -0.00008221053576562554, 0.020598111674189568, 0.017015831544995308, 0.026419317349791527, -0.00020027885329909623, 0.008395969867706299, 0.026195425540208817, -0.010411002673208714, 0.0026027506683021784, 0.021941468119621277, 0.025411801412701607, 0.031568847596645355, -0.00026412319857627...
[ "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",...
bridgetower/modeling_bridgetower.py:BridgeTowerVisionTransformer
[ -0.00018139532767236233, 0.05365075170993805, 0.03043214976787567, 0.0500439777970314, -0.0004860690387431532, 0.024233007803559303, 0.030206725001335144, -0.023105891421437263, 0.003212282434105873, 0.03539146110415459, 0.023444026708602905, 0.02073894627392292, 0.0019160982919856906, -0....
[ "False", "LayerNorm", "ModelTransformer", "ModelVisionEmbeddings", "ModelVisionTransformer", "Module", "ModuleList", "_", "__init__", "append", "attention_mask", "class", "config", "def", "dim", "else", "embeddings", "eps", "for", "forward", "forward_post", "forward_pre", ...
bridgetower/modeling_bridgetower.py:BridgeTowerLinkTower
[ -0.0002495674416422844, -0.0005633093533106148, 0.03285733610391617, 0.00185392948333174, -0.0009554867283441126, 0.052708640694618225, 0.03126010298728943, -0.02612614445388317, -0.0025099352933466434, 0.03148828074336052, 0.020649923011660576, 0.007187542039901018, -0.0015473180683329701, ...
[ "LayerNorm", "ModelLinkTower", "Module", "Parameter", "__init__", "add", "attention_mask", "beta", "class", "config", "cross_modal_hidden_states", "def", "elif", "else", "eps", "forward", "hidden_size", "hidden_states", "if", "in", "interpolate", "layer_norm_eps", "link_t...
bridgetower/modeling_bridgetower.py:BridgeTowerSelfOutput
[ -0.00013246347953099757, 0.04747490957379341, 0.03797992691397667, 0.02125067450106144, -0.0007523925160057843, 0.05629167705774307, 0.023850489407777786, -0.019555142149329185, 0.0037866891361773014, 0.018198715522885323, 0.013451224192976952, 0.002840016968548298, 0.00370191247202456, -0...
[ "Dropout", "LayerNorm", "Linear", "ModelSelfOutput", "Module", "__init__", "class", "config", "def", "dense", "dropout", "eps", "forward", "hidden_dropout_prob", "hidden_size", "hidden_states", "input_tensor", "layer_norm_eps", "nn", "return", "self", "super" ]
bridgetower/modeling_bridgetower.py:BridgeTowerIntermediate
[ -0.00024281529476866126, 0.022624673321843147, 0.04022163897752762, 0.01268352847546339, -0.0009426947217434645, 0.03633659705519676, 0.03450834006071091, -0.020339353010058403, -0.0015568746021017432, -0.0032851481810212135, 0.023081736639142036, -0.02125347964465618, -0.0014354669256135821...
[ "ACT2FN", "Linear", "ModelIntermediate", "Module", "__init__", "class", "config", "def", "dense", "else", "forward", "hidden_act", "hidden_size", "hidden_states", "if", "intermediate_act_fn", "intermediate_size", "isinstance", "nn", "return", "self", "str", "super" ]
bridgetower/modeling_bridgetower.py:BridgeTowerOutput
[ -0.0002483437128830701, 0.03887740522623062, 0.04962586611509323, 0.030873233452439308, -0.0012577984016388655, 0.04985455423593521, 0.03727656975388527, -0.022983407601714134, 0.002272613113746047, 0.015436616726219654, 0.011205840855836868, 0.0015722480602562428, 0.0014007301069796085, 0...
[ "Dropout", "LayerNorm", "Linear", "ModelOutput", "Module", "__init__", "class", "config", "def", "dense", "dropout", "eps", "forward", "hidden_dropout_prob", "hidden_size", "hidden_states", "input_tensor", "intermediate_size", "layer_norm_eps", "nn", "return", "self", "su...
bridgetower/modeling_bridgetower.py:BridgeTowerPooler
[ -0.00025695894146338105, 0.01159170363098383, 0.03723049536347389, 0.023526018485426903, -0.0011491774348542094, 0.03266233578324318, 0.036545272916555405, -0.006595279555767775, -0.0013490344863384962, 0.0014275496359914541, 0.013989986851811409, -0.016216963529586792, -0.001370447687804699...
[ "Linear", "ModelPooler", "Module", "Tanh", "__init__", "activation", "class", "config", "def", "dense", "first_token_tensor", "forward", "hidden_size", "hidden_states", "nn", "pooled_output", "return", "self", "super" ]
bridgetower/modeling_bridgetower.py:eager_attention_forward
[ 0.000042139141442021355, 0.02733616903424263, 0.025528818368911743, -0.010505221784114838, 0.0002700434997677803, 0.03682475537061691, 0.06144990026950836, -0.025528818368911743, 0.020219728350639343, 0.013103287667036057, 0.02326963096857071, 0.026545453816652298, 0.0024145066272467375, -...
[ "Model_attention_forward", "None", "attention_mask", "attn_output", "attn_weights", "contiguous", "def", "dim", "dropout", "functional", "if", "is", "key", "kwargs", "matmul", "module", "nn", "not", "p", "query", "return", "scaling", "size", "softmax", "torch", "tra...
bridgetower/modeling_bridgetower.py:BridgeTowerSelfAttention
[ -0.00005816198972752318, 0.038063306361436844, 0.039854519069194794, -0.006717054173350334, -0.0001976633066078648, 0.009963629767298698, 0.024629198014736176, -0.02664431370794773, 0.0027847785968333483, 0.031570155173540115, 0.013713985681533813, 0.0071088820695877075, -0.00020378561748657...
[ "ALL_ATTENTION_FUNCTIONS", "Dropout", "EncoderDecoderCache", "False", "Linear", "ModelSelfAttention", "Module", "None", "The", "ValueError", "__init__", "_attn_implementation", "a", "all_head_size", "and", "attention", "attention_head_size", "attention_interface", "attention_mask...
bridgetower/modeling_bridgetower.py:BridgeTowerCrossAttention
[ -0.0002705775259528309, 0.03761565312743187, 0.05458856746554375, -0.00009676282206783071, -0.001204159576445818, 0.01743164286017418, 0.027064919471740723, -0.02844110317528248, -0.0014191881055012345, 0.026147466152906418, 0.008027730509638786, 0.015826096758246422, -0.00013170496094971895...
[ "ALL_ATTENTION_FUNCTIONS", "Dropout", "False", "Linear", "ModelCrossAttention", "Module", "None", "The", "True", "ValueError", "__init__", "_attn_implementation", "a", "all_head_size", "and", "attention", "attention_head_size", "attention_interface", "attention_mask", "attentio...
bridgetower/modeling_bridgetower.py:BridgeTowerAttention
[ 0.000021843554350198247, 0.036417923867702484, 0.03461951017379761, -0.004018336068838835, 0.00027924624737352133, 0.03978995606303215, 0.040464360266923904, -0.01719735376536846, 0.012532711960375309, 0.005114245694130659, 0.01967017538845539, 0.036417923867702484, 0.001369887264445424, -...
[ "False", "ModelAttention", "ModelCrossAttention", "ModelSelfAttention", "ModelSelfOutput", "Module", "None", "__init__", "attention_class", "attention_mask", "attention_output", "attn_weights", "class", "config", "def", "else", "encoder_attention_mask", "encoder_hidden_states", "...
bridgetower/modeling_bridgetower.py:BridgeTowerBertCrossLayer
[ -0.00010179139644606039, 0.03376287966966629, 0.03988098353147507, -0.01206626370549202, -0.00048505811719223857, 0.03988098353147507, 0.0228862464427948, -0.007421035319566727, 0.004985122941434383, 0.008667316287755966, 0.013199246488511562, 0.02356603555381298, 0.0018127720104530454, 0....
[ "False", "ModelAttention", "ModelBertCrossLayer", "ModelIntermediate", "ModelOutput", "Module", "None", "True", "__init__", "add_cross_attention", "apply_chunking_to_forward", "attention", "attention_mask", "attention_output", "chunk_size_feed_forward", "class", "config", "cross_at...
bridgetower/modeling_bridgetower.py:BridgeTowerTextLayer
[ -0.00002333683369215578, 0.0330536812543869, 0.03461702913045883, -0.00028963846853002906, 0, 0.03350035101175308, 0.029256973415613174, -0.029926979914307594, 0.0014098064275458455, 0.004969218745827675, 0.017308514565229416, 0.03618038073182106, 0.0008200606680475175, 0.00466213235631585...
[ "False", "GradientCheckpointingLayer", "If", "ModelAttention", "ModelIntermediate", "ModelOutput", "ModelTextLayer", "None", "True", "ValueError", "_", "__init__", "add_cross_attention", "and", "apply_chunking_to_forward", "are", "attention", "attention_mask", "attention_output",...
bridgetower/modeling_bridgetower.py:BridgeTowerTextEncoder
[ 0, 0.031236274167895317, 0.03258460387587547, 0.012640578672289848, -0.00009392652282258496, 0.03932624310255051, 0.026517124846577644, -0.047416213899850845, 0.009494478814303875, 0.006067477632313967, 0.025618238374590874, 0.014831611886620522, -0.0017977711977437139, 0.01539341546595096...
[ "BaseModelOutputWithPastAndCrossAttentions", "ModelTextEncoder", "ModelTextLayer", "Module", "ModuleList", "None", "__init__", "attention_mask", "class", "config", "def", "else", "encoder_attention_mask", "encoder_hidden_states", "for", "forward", "hidden_states", "i", "if", "i...
bridgetower/modeling_bridgetower.py:BridgeTowerTextEmbeddings
[ -0.00020981744455639273, 0.01760350726544857, 0.015008118934929371, -0.012412729673087597, -0.0008956912788562477, 0.024938302114605904, 0.023132814094424248, -0.013710424304008484, 0.001643276191316545, -0.013541160151362419, 0.03182172402739525, 0.027533691376447678, -0.0006241628434509039...
[ "Dropout", "Embedding", "False", "LayerNorm", "ModelTextEmbeddings", "Module", "None", "__init__", "arange", "batch_size", "buffered_token_type_ids", "class", "config", "create_position_ids_from_input_ids", "create_position_ids_from_inputs_embeds", "cumsum", "def", "device", "dim...
bridgetower/modeling_bridgetower.py:BridgeTowerPreTrainedModel
[ -0.0002509548794478178, 0.05285358801484108, 0.010650454089045525, 0.0103656817227602, -0.001167563139460981, 0.034628212451934814, 0.014124665409326553, -0.017883649095892906, 0.0013740224530920386, 0.009568322449922562, 0.0030897706747055054, -0.002933146432042122, -0.002164263278245926, ...
[ "Conv2d", "Embedding", "False", "Linear", "Model", "ModelConfig", "ModelCrossAttention", "ModelForContrastiveLearning", "ModelMLMHead", "ModelPreTrainedModel", "ModelResidualAttention", "ModelSelfAttention", "ModelTextEmbeddings", "ModelTextLayer", "ModelVisionEmbeddings", "ModelVision...
bridgetower/modeling_bridgetower.py:BridgeTowerVisionModel
[ -0.000022232112314668484, 0.05066480487585068, 0.016627876088023186, 0.023770051077008247, -0.00009459545981371775, 0.02566719241440296, 0.04062112048268318, -0.019640982151031494, 0.0004463859659153968, 0.018636614084243774, 0.0185250174254179, 0.012108218856155872, -0.000906721455976367, ...
[ "False", "ModelPreTrainedModel", "ModelVisionConfig", "ModelVisionModel", "ModelVisionTransformer", "None", "__init__", "class", "config", "def", "dtype", "embeddings", "forward", "image", "image_mask", "input_modalities", "interpolate_pos_encoding", "kwargs", "patch_embedding", ...
bridgetower/modeling_bridgetower.py:BridgeTowerTextModel
[ 0.00011950560292461887, 0.0366227962076664, 0.032379914075136185, 0.006615551188588142, 0.00027739256620407104, 0.024005796760320663, 0.009211527183651924, -0.017753124237060547, 0.005443174857646227, 0.005080296657979488, 0.02266593836247921, 0, -0.0020097875967621803, 0.00898821745067834...
[ "BaseModelOutputWithPoolingAndCrossAttentions", "DynamicCache", "EncoderDecoderCache", "False", "ModelPooler", "ModelPreTrainedModel", "ModelTextConfig", "ModelTextEmbeddings", "ModelTextEncoder", "ModelTextModel", "None", "True", "ValueError", "You", "__init__", "_create_attention_mas...
bridgetower/modeling_bridgetower.py:BridgeTowerModel
[ 0.000056380798923783004, 0.04363611713051796, 0.023608257994055748, 0.018573321402072906, 0.0000970274195424281, 0.04497876390814781, 0.009230717085301876, -0.004447527229785919, 0.00956637877970934, 0.025174682959914207, 0.030433394014835358, 0.014097821898758411, 0.0008111841743811965, 0...
[ "Embedding", "False", "LayerNorm", "Linear", "Make", "ModelBertCrossLayer", "ModelLinkTower", "ModelModel", "ModelModelOutput", "ModelPooler", "ModelPreTrainedModel", "ModelTextModel", "ModelVisionModel", "ModuleList", "None", "NotImplementedError", "_", "__init__", "_apply_image...
bridgetower/modeling_bridgetower.py:BridgeTowerPredictionHeadTransform
[ -0.0003345771401654929, 0.04282587394118309, 0.04466784745454788, 0.030853047966957092, -0.001482212683185935, 0.026478361338377, 0.029356444254517555, -0.01059134490787983, -0.003683946095407009, 0.02187342941761017, 0.015081154182553291, 0.007713261991739273, 0.00001528981556475628, 0.01...
[ "ACT2FN", "LayerNorm", "Linear", "ModelPredictionHeadTransform", "Module", "__init__", "class", "config", "def", "dense", "else", "eps", "forward", "hidden_act", "hidden_size", "hidden_states", "if", "isinstance", "layer_norm_eps", "nn", "return", "self", "str", "super"...
bridgetower/modeling_bridgetower.py:BridgeTowerMLMHead
[ -0.0003868766943924129, 0.035338371992111206, 0.02115652523934841, 0.004010440316051245, -0.001612894469872117, 0.042778030037879944, 0.04022064805030823, -0.021853992715477943, 0.001511180424131453, 0.00034328497713431716, 0.02417888678610325, 0.019761590287089348, -0.0008791001164354384, ...
[ "Linear", "ModelMLMHead", "ModelPredictionHeadTransform", "Module", "None", "Parameter", "__init__", "bias", "class", "config", "decoder", "def", "forward", "hidden_size", "if", "is", "mlm_score", "nn", "not", "return", "self", "super", "text_config", "torch", "transf...
bridgetower/modeling_bridgetower.py:BridgeTowerITMHead
[ -0.0003463011817075312, 0.026945875957608223, 0.03429475054144859, -0.007815470919013023, -0.0016695362282916903, 0.054591644555330276, 0.05669132620096207, -0.024729549884796143, -0.0028287337627261877, -0.00676563149318099, 0.027529120445251465, -0.010556717403233051, -0.000918609439395368...
[ "Linear", "ModelITMHead", "Module", "__init__", "class", "def", "fc", "forward", "hidden_size", "itm_score", "nn", "return", "self", "super", "x" ]
bridgetower/modeling_bridgetower.py:BridgeTowerForMaskedLM
[ -0.00009618777403375134, 0.05193440243601799, 0.02484792470932007, -0.010017518885433674, -0.000545646995306015, 0.04566645622253418, 0.015781790018081665, -0.02719840407371521, 0.005792252719402313, 0.0020426784176379442, 0.03313056752085686, 0.04566645622253418, -0.000528158328961581, -0...
[ "CrossEntropyLoss", "MaskedLMOutput", "Model", "ModelForMaskedLM", "ModelMLMHead", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "_tied_weights_keys", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "config", "decoder", "def", "device", ...
bridgetower/modeling_bridgetower.py:BridgeTowerForImageAndTextRetrieval
[ -0.00018193789583165199, 0.03956707566976547, 0.03481902554631233, -0.00008831936429487541, -0.0009185214294120669, 0.05132415145635605, 0.027357807382941246, -0.015374635346233845, 0.003009923966601491, -0.0000379773264285177, 0.044089026749134064, 0.02769695408642292, -0.000120997530757449...
[ "CrossEntropyLoss", "Model", "ModelForImageAndTextRetrieval", "ModelITMHead", "ModelModel", "ModelPreTrainedModel", "None", "SequenceClassifierOutput", "__init__", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "config", "def", "device", "forward", ...
bridgetower/modeling_bridgetower.py:BridgeTowerContrastiveHead
[ -0.0001576193026266992, 0.016117673367261887, 0.07484010607004166, 0.020062558352947235, -0.000574121659155935, 0.028515884652733803, 0.0340387225151062, -0.021189669147133827, 0.007438926491886377, 0.012060077860951424, -0.0022401311434805393, -0.01222914457321167, -0.0009369102190248668, ...
[ "Linear", "ModelContrastiveHead", "Module", "__init__", "class", "def", "embed_size", "fc", "forward", "hidden_size", "nn", "return", "self", "super", "x" ]
bridgetower/modeling_bridgetower.py:BridgeTowerForContrastiveLearning
[ -0.0001307978091062978, 0.05191180482506752, 0.0602266825735569, 0.004241711460053921, -0.0006531111430376768, 0.04943981394171715, 0.011067776009440422, -0.01719157211482525, 0.010786868631839752, 0.014944307506084442, 0.03730458766222, 0.01061832346022129, 0.0004143393598496914, -0.02269...
[ "Model", "ModelContrastiveHead", "ModelContrastiveOutput", "ModelForContrastiveLearning", "ModelModel", "ModelPreTrainedModel", "None", "Parameter", "True", "__init__", "arange", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "config", "contrastive_h...
fuyu/modeling_fuyu.py:FuyuPreTrainedModel
[ -0.0003598293988034129, 0.030705442652106285, 0.015585338696837425, 0.016515806317329407, -0.0018173202406615019, 0.030472826212644577, 0.0237269327044487, -0.02489001862704754, -0.0015774340135976672, 0.015003795735538006, 0.012793934904038906, 0.006891278550028801, -0.003721871878951788, ...
[ "ModelConfig", "ModelPreTrainedModel", "PreTrainedModel", "True", "_no_split_modules", "_skip_keys_device_placement", "_supports_attention_backend", "_supports_flash_attn", "_supports_flex_attn", "_supports_sdpa", "base_model_prefix", "class", "config", "image", "input_modalities", "mo...
fuyu/modeling_fuyu.py:FuyuModel
[ -0.0001604037097422406, 0.041512127965688705, 0, 0.011163396760821342, -0.0006346026784740388, 0.0316389724612236, 0.008021938614547253, -0.02176581881940365, 0.0009185961098410189, 0.006703647784888744, 0.02715117670595646, 0.024458497762680054, -0.0009536570287309587, 0.00998535007238388...
[ "AutoModel", "BaseModelOutputWithPooling", "Batch", "False", "Got", "Image", "Linear", "ModelModel", "ModelPreTrainedModel", "None", "Number", "True", "ValueError", "You", "__init__", "all", "and", "arange", "as_tuple", "attention_mask", "auto_docstring", "batch", "batch_...
fuyu/modeling_fuyu.py:FuyuForCausalLM
[ -0.00017363265214953572, 0.0455724336206913, 0.010158387012779713, 0.0007190847536548972, -0.0007892393623478711, 0.025816895067691803, 0.023235205560922623, -0.022673970088362694, 0.0054439976811409, 0.016612611711025238, 0.0316537581384182, 0.013974797911942005, 0.00007629313768120483, 0...
[ "CausalLMOutputWithPast", "GenerationMixin", "Linear", "ModelForCausalLM", "ModelModel", "ModelPreTrainedModel", "None", "__init__", "_tied_weights_keys", "attention_mask", "attentions", "auto_docstring", "can_return_tuple", "class", "config", "def", "else", "embed_tokens", "forw...
radio/modeling_radio.py:RadioModelOutput
[ -0.00011716134031303227, 0.026046816259622574, 0.012685137800872326, 0.03495460003614426, -0.0007293954258784652, 0.03360151872038841, 0.044877197593450546, -0.01747730001807213, 0.011162920854985714, -0.02446822077035904, 0.00290348706766963, 0.024580977857112885, -0.00033122304012067616, ...
[ "ModelModelOutput", "ModelOutput", "None", "attentions", "class", "features", "hidden_states", "last_hidden_state", "summary" ]
radio/modeling_radio.py:RadioInputConditioner
[ -0.00011122952128062025, 0.051772285252809525, 0.006949866656213999, 0.03376453369855881, -0.00037985100061632693, 0.00540232565253973, 0.01913323625922203, -0.015981879085302353, 0.0017867066198959947, 0.046820156276226044, 0.01913323625922203, 0.010523280128836632, 0.0010129360016435385, ...
[ "ModelInputConditioner", "Module", "True", "__init__", "class", "config", "def", "dtype", "float", "forward", "nn", "norm_mean", "norm_std", "normalized", "persistent", "pixel_values", "register_buffer", "return", "self", "super", "tensor", "to", "torch", "view" ]
radio/modeling_radio.py:RadioPatchEmbeddings
[ -0.00020399465574882925, 0.012828603386878967, 0.009422779083251953, 0.02179727330803871, -0.0010288426419720054, 0.004626244306564331, 0.015439734794199467, -0.014872097410261631, -0.0007237375830300152, 0.0018732030875980854, 0.006754884030669928, 0.021683745086193085, -0.00394507916644215...
[ "F", "False", "Linear", "ModelPatchEmbeddings", "Module", "Parameter", "__init__", "_image_to_patches", "_interpolate_position_embedding", "align_corners", "batch", "bilinear", "cat", "channels", "class", "cls_register_token", "cols", "config", "def", "dim", "dtype", "embed...
radio/modeling_radio.py:RadioMLP
[ -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", ...
radio/modeling_radio.py:RadioLayerScale
[ -0.000023226379198604263, 0.023110684007406235, 0.023671623319387436, 0.02120349183678627, -0.00019808157230727375, 0.03253445774316788, 0.030963830649852753, -0.018959736451506615, 0.005581342615187168, 0.03365633636713028, 0.0025242252741008997, -0.027149444445967674, 0.0016687933821231127...
[ "ModelLayerScale", "Module", "Parameter", "__init__", "class", "config", "def", "forward", "hidden_size", "hidden_state", "lambda1", "layerscale_value", "nn", "ones", "return", "self", "super", "torch" ]
radio/modeling_radio.py:eager_attention_forward
[ 0.000042139141442021355, 0.02733616903424263, 0.025528818368911743, -0.010505221784114838, 0.0002700434997677803, 0.03682475537061691, 0.06144990026950836, -0.025528818368911743, 0.020219728350639343, 0.013103287667036057, 0.02326963096857071, 0.026545453816652298, 0.0024145066272467375, -...
[ "Model_attention_forward", "None", "attention_mask", "attn_output", "attn_weights", "contiguous", "def", "dim", "dropout", "functional", "if", "is", "key", "kwargs", "matmul", "module", "nn", "not", "p", "query", "return", "scaling", "size", "softmax", "torch", "tra...
radio/modeling_radio.py:RadioSelfAttention
[ -0.00009189219417748973, 0.040070272982120514, 0.04254652559757233, 0.0004748496285174042, -0.0004924366367049515, 0.012268707156181335, 0.03129083290696144, -0.019584909081459045, 0.001618006150238216, 0.025212755426764488, 0.014238453470170498, 0.009567340835928917, -0.0009426644537597895,...
[ "ALL_ATTENTION_FUNCTIONS", "False", "Linear", "ModelSelfAttention", "Module", "None", "The", "ValueError", "__init__", "_attn_implementation", "a", "all_head_size", "and", "attention", "attention_head_size", "attention_interface", "attention_probs", "attention_probs_dropout_prob", ...
radio/modeling_radio.py:RadioSelfOutput
[ -0.000045811011659679934, 0.04601266607642174, 0.04556376114487648, 0.0052185095846652985, -0.0004909888375550508, 0.042421434074640274, 0.028617633506655693, -0.01952732726931572, 0.0009188505355268717, 0.010829810984432697, 0.010661471635103226, 0, 0.0034369216300547123, -0.0045732101425...
[ "Dropout", "Linear", "ModelSelfOutput", "Module", "__init__", "class", "config", "def", "dense", "dropout", "forward", "hidden_dropout_prob", "hidden_size", "hidden_states", "input_tensor", "nn", "return", "self", "super" ]
radio/modeling_radio.py:RadioAttention
[ 0.00014823954552412033, 0.03975643217563629, 0.04178943112492561, -0.008131997659802437, 0.0006353122880682349, 0.0281231589615345, 0.042692989110946655, -0.012536829337477684, 0.015247495844960213, 0.002414186717942357, 0.020329993218183517, 0.03072088025510311, 0.003670693375170231, -0.0...
[ "ModelAttention", "ModelSelfAttention", "ModelSelfOutput", "Module", "_", "__init__", "attention", "class", "config", "def", "forward", "hidden_states", "kwargs", "nn", "output", "return", "self", "self_attn_output", "super" ]
radio/modeling_radio.py:RadioSwiGLUFFN
[ -0.00014908294542692602, 0.03339457884430885, 0.007553535513579845, 0.014993484131991863, -0.0002928414905909449, 0.0265793576836586, 0.03362175077199936, -0.027601640671491623, 0.003890354884788394, -0.003890354884788394, 0.03135001286864281, -0.018401093780994415, 0.0020871611777693033, ...
[ "Linear", "ModelSwiGLUFFN", "Module", "__init__", "chunk", "class", "config", "def", "dim", "forward", "functional", "hidden", "hidden_features", "hidden_size", "hidden_state", "in_features", "int", "mlp_ratio", "nn", "out_features", "return", "self", "silu", "super", ...
radio/modeling_radio.py:RadioDropPath
[ 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", ...
radio/modeling_radio.py:RadioLayer
[ -0.000011456271749921143, 0.024809570983052254, 0.01784941926598549, 0.012124134227633476, 0.00009778942330740392, 0.0460268072783947, 0.009878924116492271, -0.002245210111141205, 0.0041536386124789715, 0.006819825619459152, 0.019645588472485542, -0.003620401257649064, 0.001641809823922813, ...
[ "GradientCheckpointingLayer", "Identity", "LayerNorm", "ModelAttention", "ModelDropPath", "ModelLayer", "ModelLayerScale", "ModelMLP", "ModelSwiGLUFFN", "__init__", "attention", "class", "config", "def", "drop_path", "drop_path_rate", "else", "eps", "forward", "hidden_size", ...
radio/modeling_radio.py:RadioPreTrainedModel
[ -0.00020890413725282997, 0.040789417922496796, -0.0008674833225086331, 0.029232416301965714, -0.0009418390109203756, 0.029459023848176003, 0.022320875898003578, -0.009120967239141464, -0.00023368938127532601, 0.008384491316974163, 0.005296959076076746, -0.0006904458859935403, -0.002195263747...
[ "LayerNorm", "Linear", "ModelConfig", "ModelInputConditioner", "ModelLayer", "ModelLayerScale", "ModelModel", "ModelPatchEmbeddings", "ModelPreTrainedModel", "ModelSelfAttention", "None", "PreTrainedModel", "True", "_can_record_outputs", "_init_weights", "_keys_to_ignore_on_load_missin...
radio/modeling_radio.py:RadioEncoder
[ 0, 0.007697898894548416, 0.024835556745529175, 0.027307873591780663, 0.00009657491318648681, 0.04225416108965874, 0.02056518942117691, -0.0397818423807621, 0.010001649148762226, -0.0009552137344144285, 0.018430005759000778, -0.00223351432941854, -0.0015241277869790792, 0.016744334250688553...
[ "BaseModelOutput", "False", "ModelEncoder", "ModelLayer", "ModelPreTrainedModel", "ModuleList", "_", "__init__", "capture_outputs", "class", "config", "def", "for", "forward", "hidden_states", "in", "kwargs", "last_hidden_state", "layer", "merge_with_config_defaults", "nn", ...
radio/modeling_radio.py:RadioModel
[ -0.00022145808907225728, 0.01893555372953415, 0.008050444535911083, 0.03923174366354942, -0.0009000056888908148, 0.03492305427789688, 0.02108989655971527, -0.01598750241100788, 0.0029055301565676928, 0.011338653974235058, -0.0005031527834944427, 0.010544948279857635, 0.001062998897396028, ...
[ "Identity", "ModelEncoder", "ModelInputConditioner", "ModelModel", "ModelModelOutput", "ModelPatchEmbeddings", "ModelPreTrainedModel", "True", "__init__", "all_summary", "attentions", "auto_docstring", "can_return_tuple", "class", "conditioner", "config", "def", "dtype", "embeddi...
reformer/modeling_reformer.py:ReformerDynamicCache
[ -0.0002604183100629598, -0.03538835421204567, -0.01335624884814024, -0.017351709306240082, -0.0011130208149552345, 0.013127936981618404, -0.0024115450214594603, -0.06940683722496033, -0.0021118854638189077, 0.007762606255710125, 0.005450947675853968, -0.0023401975631713867, -0.00236873654648...
[ "Any", "ModelDynamicCache", "None", "__len__", "_distributed_cache_data", "_seen_tokens", "and", "append", "beam_idx", "buckets", "buckets_cache", "cache_kwargs", "cat", "class", "def", "device", "dim", "else", "for", "get_seq_length", "get_start_idx", "if", "in", "inde...
reformer/modeling_reformer.py:_stable_argsort
[ -0.00022461415210273117, -0.003958824556320906, 0.03301827982068062, 0.0003246376581955701, -0.0009616293828003109, 0.0009405717719346285, 0.03436596691608429, -0.01987835392355919, 0.0058680446818470955, 0.09029489010572433, -0.0059241983108222485, 0.003102482995018363, -0.00332709727808833...
[ "_stable_argsort", "arange", "argsort", "def", "device", "dim", "expand", "return", "scale_offset", "scaled_vector", "shape", "torch", "vector", "view" ]
reformer/modeling_reformer.py:_get_least_common_mult_chunk_len
[ -0.00018428706971462816, 0.011794372461736202, 0.048992007970809937, 0.004848167300224304, -0.000786764023359865, 0.028351856395602226, 0.030166376382112503, -0.06713719666004181, 0.014402743428945541, 0.049672454595565796, 0.02857867069542408, -0.001141162239946425, 0.00005670371319865808, ...
[ "NotImplementedError", "Only", "Select", "_get_least_common_mult_chunk_len", "and", "attn", "attn_layers", "attn_types", "attn_types_set", "but", "config", "def", "elif", "else", "exist", "f", "from", "if", "layer", "lcm", "len", "local", "local_attn_chunk_length", "lsh...
reformer/modeling_reformer.py:_get_min_chunk_len
[ -0.00011772809375543147, 0.03306226432323456, 0.04363319277763367, 0.0005833690520375967, -0.0004023840883746743, 0.030138392001390457, 0.0321626141667366, -0.06387539952993393, 0.010402243584394455, 0.04903111606836319, 0.018667809665203094, 0.006044547073543072, 0.003739184932783246, 0.0...
[ "NotImplementedError", "Only", "Select", "_get_min_chunk_len", "and", "attn", "attn_layers", "attn_types", "attn_types_set", "but", "config", "def", "elif", "else", "exist", "f", "from", "if", "layer", "len", "local", "local_attn_chunk_length", "lsh", "lsh_attn_chunk_le...
reformer/modeling_reformer.py:AxialPositionEmbeddings
[ -0.00021273833408486098, 0.019710784777998924, -0.0025350574869662523, -0.013615253381431103, -0.0009114813874475658, 0.013672220520675182, 0.02688870020210743, -0.01743208058178425, 0.006693691480904818, 0.004016214981675148, 0.006779142655432224, 0.02210342325270176, 0.0007690624333918095,...
[ "Got", "If", "Make", "Model", "ModelPositionEmbeddings", "Model_h", "Model_pos_embd_dim", "Model_pos_embds", "Model_pos_embds_dim", "Model_pos_shape", "Model_w", "Module", "Parameter", "ParameterList", "Position", "True", "ValueError", "You", "__init__", "_get_least_common_mult...
reformer/modeling_reformer.py:PositionEmbeddings
[ 0.00009191312710754573, 0.025792237371206284, 0.02205915004014969, 0.0002845771668944508, 0.0002934149815700948, 0.04751201719045639, 0.039593346416950226, -0.0029977818485349417, 0.011255823075771332, -0.03393715247511864, 0.03619962930679321, -0.002955360570922494, 0.001675646984949708, ...
[ "Embedding", "ModelEmbeddings", "Model_embeddings", "Model_ids", "Module", "__init__", "class", "config", "def", "dropout", "embedding", "forward", "functional", "hidden_dropout_prob", "hidden_size", "max_Model_embeddings", "nn", "p", "return", "self", "super", "training" ]
reformer/modeling_reformer.py:ReformerEmbeddings
[ -0.00029931950848549604, 0.02400326170027256, 0.010097526013851166, -0.00917432364076376, -0.0014280786272138357, 0.04569851607084274, 0.024234062060713768, 0.006058515515178442, 0.00487566227093339, -0.004760262090712786, 0.01661764271557331, 0.021464454010128975, -0.0006743704434484243, ...
[ "AxialPositionEmbeddings", "Embedding", "Length", "ModelEmbeddings", "Module", "None", "PositionEmbeddings", "Sequence", "ValueError", "__init__", "arange", "axial_pos_embds", "be", "class", "config", "def", "device", "dropout", "dtype", "else", "embeddings", "equal", "ex...
reformer/modeling_reformer.py:EfficientAttentionMixin
[ -0.00027433765353634953, 0.004332765005528927, 0.03103732317686081, -0.024354103952646255, -0.0007504462264478207, 0.003044262994080782, 0.020955856889486313, -0.042591363191604614, 0.0035256813280284405, 0.024467378854751587, -0.013366438448429108, 0.018690358847379684, -0.00215222314000129...
[ "ModelAttentionMixin", "None", "_merge_hidden_size_dims", "_split_hidden_size_dim", "_split_seq_length_dim_to", "and", "append", "attn_head_size", "batch_size", "but", "cat", "class", "def", "dim", "dim_factor_1", "dim_factor_2", "elif", "else", "for", "i", "if", "in", "i...