Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenMOSS/rope_pp
/ types & classes
Types & classes
79 in github.com/OpenMOSS/rope_pp
⨍
Functions
305
◇
Types & classes
79
↳
Endpoints
5
↓ 10 callers
Class
CheckpointingCallback
utils/callback_utils.py:72
↓ 10 callers
Class
CustomLoggingCallback
utils/callback_utils.py:13
↓ 10 callers
Class
EvaluatingDataset
utils/dataset_utils.py:191
↓ 10 callers
Class
StreamingTrainingJsonlZSD
utils/dataset_utils.py:17
↓ 10 callers
Class
TrainerWithDatasetCheckpointing
utils/trainer_utils.py:14
↓ 4 callers
Class
LlamaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
rope_pp/modeling_llama_pythia.py:470
↓ 4 callers
Class
LlamaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
rope_pp/modeling_llama_alibi.py:587
↓ 4 callers
Class
LlamaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
rope_pp/modeling_llama_fope.py:1242
↓ 4 callers
Class
LlamaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
rope_pp/modeling_llama_mask.py:502
↓ 4 callers
Class
LlamaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
rope_pp/modeling_llama_rope_pp.py:503
↓ 3 callers
Class
LlamaRMSNorm
rope_pp/modeling_llama_pythia.py:69
↓ 3 callers
Class
LlamaRMSNorm
rope_pp/modeling_llama_alibi.py:71
↓ 3 callers
Class
LlamaRMSNorm
rope_pp/modeling_llama_fope.py:55
↓ 3 callers
Class
LlamaRMSNorm
rope_pp/modeling_llama_mask.py:54
↓ 3 callers
Class
LlamaRMSNorm
rope_pp/modeling_llama_rope_pp.py:54
↓ 2 callers
Class
LlamaForCausalLM
rope_pp/modeling_llama_fope.py:1514
↓ 1 callers
Class
FourierEmbedding
rope_pp/modeling_llama_fope.py:567
↓ 1 callers
Class
LlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
rope_pp/modeling_llama_pythia.py:222
↓ 1 callers
Class
LlamaAttention
rope_pp/modeling_llama_alibi.py:313
↓ 1 callers
Class
LlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
rope_pp/modeling_llama_fope.py:904
↓ 1 callers
Class
LlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
rope_pp/modeling_llama_mask.py:184
↓ 1 callers
Class
LlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
rope_pp/modeling_llama_rope_pp.py:192
↓ 1 callers
Class
LlamaDecoderLayer
rope_pp/modeling_llama_pythia.py:298
↓ 1 callers
Class
LlamaDecoderLayer
rope_pp/modeling_llama_alibi.py:415
↓ 1 callers
Class
LlamaDecoderLayer
rope_pp/modeling_llama_fope.py:1070
↓ 1 callers
Class
LlamaDecoderLayer
rope_pp/modeling_llama_mask.py:330
↓ 1 callers
Class
LlamaDecoderLayer
rope_pp/modeling_llama_rope_pp.py:331
↓ 1 callers
Class
LlamaForCausalLM
rope_pp/modeling_llama_pythia.py:741
↓ 1 callers
Class
LlamaForCausalLM
rope_pp/modeling_llama_rope_pp.py:774
↓ 1 callers
Class
LlamaMLP
rope_pp/modeling_llama_pythia.py:168
↓ 1 callers
Class
LlamaMLP
rope_pp/modeling_llama_alibi.py:162
↓ 1 callers
Class
LlamaMLP
rope_pp/modeling_llama_fope.py:850
↓ 1 callers
Class
LlamaMLP
rope_pp/modeling_llama_mask.py:130
↓ 1 callers
Class
LlamaMLP
rope_pp/modeling_llama_rope_pp.py:138
↓ 1 callers
Class
LlamaRotaryEmbedding
rope_pp/modeling_llama_pythia.py:92
↓ 1 callers
Class
LlamaRotaryEmbedding
rope_pp/modeling_llama_alibi.py:94
↓ 1 callers
Class
LlamaRotaryEmbedding
rope_pp/modeling_llama_fope.py:158
↓ 1 callers
Class
LlamaRotaryEmbedding
rope_pp/modeling_llama_mask.py:77
↓ 1 callers
Class
LlamaRotaryEmbedding
rope_pp/modeling_llama_rope_pp.py:77
↓ 1 callers
Class
MultiTokenEOSCriteria
Criteria to stop on the specified multi-token sequence.
rope_pp/pythia_wrapper.py:24
↓ 1 callers
Class
MultiTokenEOSCriteria
Criteria to stop on the specified multi-token sequence.
rope_pp/mask_wrapper.py:24
↓ 1 callers
Class
MultiTokenEOSCriteria
Criteria to stop on the specified multi-token sequence.
rope_pp/rope_pp_wrapper.py:24
↓ 1 callers
Class
MultiTokenEOSCriteria
Criteria to stop on the specified multi-token sequence.
rope_pp/alibi_wrapper.py:24
↓ 1 callers
Class
MultiTokenEOSCriteria
Criteria to stop on the specified multi-token sequence.
rope_pp/fope_wrapper.py:24
↓ 1 callers
Class
RotaryEmbedding
[Rotary positional embeddings (RoPE)](https://arxiv.org/abs/2104.09864).
rope_pp/modeling_llama_fope.py:197
Class
AlibiCausalLM
rope_pp/alibi_wrapper.py:98
Class
FoPECausalLM
rope_pp/fope_wrapper.py:98
Class
KwargsForCausalLM
rope_pp/modeling_llama_pythia.py:738
Class
KwargsForCausalLM
rope_pp/modeling_llama_alibi.py:855
Class
KwargsForCausalLM
rope_pp/modeling_llama_fope.py:1511
Class
KwargsForCausalLM
rope_pp/modeling_llama_mask.py:770
Class
KwargsForCausalLM
rope_pp/modeling_llama_rope_pp.py:771
Class
LlamaConfig
r""" This is the configuration class to store the configuration of a [`LlamaModel`]. It is used to instantiate an LLaMA model according to the
rope_pp/configuration_llama.py:7
Class
LlamaForCausalLM
rope_pp/modeling_llama_alibi.py:858
Class
LlamaForCausalLM
rope_pp/modeling_llama_mask.py:773
Class
LlamaForQuestionAnswering
rope_pp/modeling_llama_pythia.py:972
Class
LlamaForQuestionAnswering
rope_pp/modeling_llama_alibi.py:1089
Class
LlamaForQuestionAnswering
rope_pp/modeling_llama_fope.py:1743
Class
LlamaForQuestionAnswering
rope_pp/modeling_llama_mask.py:1002
Class
LlamaForQuestionAnswering
rope_pp/modeling_llama_rope_pp.py:1003
Class
LlamaForSequenceClassification
rope_pp/modeling_llama_pythia.py:879
Class
LlamaForSequenceClassification
rope_pp/modeling_llama_alibi.py:996
Class
LlamaForSequenceClassification
rope_pp/modeling_llama_fope.py:1650
Class
LlamaForSequenceClassification
rope_pp/modeling_llama_mask.py:909
Class
LlamaForSequenceClassification
rope_pp/modeling_llama_rope_pp.py:910
Class
LlamaForTokenClassification
rope_pp/modeling_llama_pythia.py:1053
Class
LlamaForTokenClassification
rope_pp/modeling_llama_alibi.py:1170
Class
LlamaForTokenClassification
rope_pp/modeling_llama_fope.py:1824
Class
LlamaForTokenClassification
rope_pp/modeling_llama_mask.py:1083
Class
LlamaForTokenClassification
rope_pp/modeling_llama_rope_pp.py:1084
Class
LlamaPreTrainedModel
rope_pp/modeling_llama_pythia.py:373
Class
LlamaPreTrainedModel
rope_pp/modeling_llama_alibi.py:490
Class
LlamaPreTrainedModel
rope_pp/modeling_llama_fope.py:1145
Class
LlamaPreTrainedModel
rope_pp/modeling_llama_mask.py:405
Class
LlamaPreTrainedModel
rope_pp/modeling_llama_rope_pp.py:406
Class
MaskCausalLM
rope_pp/mask_wrapper.py:98
Class
PythiaCausalLM
rope_pp/pythia_wrapper.py:98
Class
RoPEPPCausalLM
rope_pp/rope_pp_wrapper.py:98
Class
StreamingTrainingParquet
utils/dataset_utils.py:104