SYMBOL INDEX (63 symbols across 3 files) FILE: configuration_qwen2_parscale.py class Qwen2ParScaleConfig (line 11) | class Qwen2ParScaleConfig(PretrainedConfig): method __init__ (line 129) | def __init__( FILE: modeling_qwen2_parscale.py class Qwen2MLP (line 46) | class Qwen2MLP(nn.Module): method __init__ (line 47) | def __init__(self, config): method forward (line 57) | def forward(self, x): function rotate_half (line 62) | def rotate_half(x): function apply_rotary_pos_emb (line 69) | def apply_rotary_pos_emb(q, k, cos, sin, position_ids=None, unsqueeze_di... function repeat_kv (line 96) | def repeat_kv(hidden_states: torch.Tensor, n_rep: int) -> torch.Tensor: function eager_attention_forward (line 108) | def eager_attention_forward( class ParscaleCache (line 133) | class ParscaleCache(DynamicCache): method __init__ (line 134) | def __init__(self, prefix_k, prefix_v) -> None: method update (line 141) | def update( method get_seq_length (line 154) | def get_seq_length(self, layer_idx = 0): method reorder_cache (line 160) | def reorder_cache(self, beam_idx: torch.LongTensor): class Qwen2Attention (line 166) | class Qwen2Attention(nn.Module): method __init__ (line 169) | def __init__(self, config: Qwen2ParScaleConfig, layer_idx: int): method forward (line 187) | def forward( class Qwen2RMSNorm (line 269) | class Qwen2RMSNorm(nn.Module): method __init__ (line 270) | def __init__(self, hidden_size, eps=1e-6): method forward (line 278) | def forward(self, hidden_states): method extra_repr (line 285) | def extra_repr(self): class Qwen2DecoderLayer (line 289) | class Qwen2DecoderLayer(nn.Module): method __init__ (line 290) | def __init__(self, config: Qwen2ParScaleConfig, layer_idx: int): method forward (line 303) | def forward( class Qwen2RotaryEmbedding (line 346) | class Qwen2RotaryEmbedding(nn.Module): method __init__ (line 347) | def __init__(self, config: Qwen2ParScaleConfig, device=None): method _dynamic_frequency_update (line 364) | def _dynamic_frequency_update(self, position_ids, device): method forward (line 384) | def forward(self, x, position_ids): class Qwen2PreTrainedModel (line 428) | class Qwen2PreTrainedModel(PreTrainedModel): method _init_weights (line 441) | def _init_weights(self, module): class Qwen2Model (line 532) | class Qwen2Model(Qwen2PreTrainedModel): method __init__ (line 540) | def __init__(self, config: Qwen2ParScaleConfig): method get_input_embeddings (line 565) | def get_input_embeddings(self): method set_input_embeddings (line 568) | def set_input_embeddings(self, value): method forward (line 572) | def forward( method _update_causal_mask (line 704) | def _update_causal_mask( method _prepare_4d_causal_attention_mask_with_cache_position (line 769) | def _prepare_4d_causal_attention_mask_with_cache_position( class KwargsForCausalLM (line 825) | class KwargsForCausalLM(FlashAttentionKwargs, LossKwargs): ... class Qwen2ParScaleForCausalLM (line 828) | class Qwen2ParScaleForCausalLM(Qwen2PreTrainedModel, GenerationMixin): method __init__ (line 832) | def __init__(self, config): method get_input_embeddings (line 841) | def get_input_embeddings(self): method set_input_embeddings (line 844) | def set_input_embeddings(self, value): method get_output_embeddings (line 847) | def get_output_embeddings(self): method set_output_embeddings (line 850) | def set_output_embeddings(self, new_embeddings): method set_decoder (line 853) | def set_decoder(self, decoder): method get_decoder (line 856) | def get_decoder(self): method forward (line 861) | def forward( class Qwen2ForSequenceClassification (line 964) | class Qwen2ForSequenceClassification(Qwen2PreTrainedModel): method __init__ (line 965) | def __init__(self, config): method get_input_embeddings (line 974) | def get_input_embeddings(self): method set_input_embeddings (line 977) | def set_input_embeddings(self, value): method forward (line 981) | def forward( class Qwen2ForTokenClassification (line 1060) | class Qwen2ForTokenClassification(Qwen2PreTrainedModel): method __init__ (line 1061) | def __init__(self, config): method get_input_embeddings (line 1077) | def get_input_embeddings(self): method set_input_embeddings (line 1080) | def set_input_embeddings(self, value): method forward (line 1089) | def forward( class Qwen2ForQuestionAnswering (line 1148) | class Qwen2ForQuestionAnswering(Qwen2PreTrainedModel): method __init__ (line 1151) | def __init__(self, config): method get_input_embeddings (line 1159) | def get_input_embeddings(self): method set_input_embeddings (line 1162) | def set_input_embeddings(self, value): method forward (line 1166) | def forward( FILE: parametric_fit.py function parametric_fit (line 10) | def parametric_fit(param_list, p_list, loss_list):