MCPcopy Create free account

hub / github.com/Pints-AI/1.5-Pints / functions

Functions589 in github.com/Pints-AI/1.5-Pints

Method__init__
(self, filenames, n_chunks, block_size, seed, shuffle, wrap)
lit_gpt/packed_dataset.py:180
Method__init__
(self, datasets, seed, weights=None)
lit_gpt/packed_dataset.py:284
Method__init__
(self, datasets, seed, weights)
lit_gpt/packed_dataset.py:297
Method__init__
( self, hidden_size, prenorm=False, p=0.0, eps=1e-5, residual_
lit_gpt/rmsnorm.py:766
Method__init__
(self, size: int, dim: int = -1, eps: float = 1e-5)
lit_gpt/rmsnorm.py:807
Method__init__
Store LoRA specific attributes in a class. Args: r: rank of the weight update matrices. To make sense of using LoRA the rank shou
lit_gpt/lora.py:63
Method__init__
LoRA wrapper around linear class. This class has three weight matrices: 1. Pretrained weights are stored as `self.linear.weight`
lit_gpt/lora.py:89
Method__init__
LoRA wrapper around linear class that is used for calculation of q, k and v matrices. This class has three weight matrices: 1. Pr
lit_gpt/lora.py:159
Method__init__
(self, config: Config)
lit_gpt/lora.py:601
Method__init__
Causal self-attention with calculating qkv matrices with a single matrix* and Low Ranking Adaptation for parameter-efficient fine-tuning.
lit_gpt/lora.py:613
Method__init__
(self, config: Config)
lit_gpt/lora.py:664
Method__init__
(self, config: Config)
lit_gpt/lora.py:698
Method__init__
(self, in_features: int, out_features: int, **kwargs)
lit_gpt/adapter_v2.py:50
Method__init__
(self, config: Config, block_idx: int)
lit_gpt/adapter_v2.py:117
Method__init__
Causal self-attention with calculating qkv matrices with a single matrix* and Low Ranking Adaptation for parameter-efficient fine-tuning.
lit_gpt/adapter_v2.py:130
Method__init__
(self, config: Config)
lit_gpt/adapter_v2.py:280
Method__init__
(self, config: Config)
lit_gpt/adapter_v2.py:304
Method__init__
(self, config: Config)
lit_gpt/model.py:246
Method__init__
(self, config: Config)
lit_gpt/model.py:284
Method__init__
(self, config: Config)
lit_gpt/model.py:406
Method__init__
(self, config: Config)
lit_gpt/model.py:418
Method__init__
(self, prompt_style='chatml', num_workers: Optional[int] = None)
lit_gpt/datamodules/llama_instruct.py:51
Method__init__
(self, prompt_style='chatml', num_workers: Optional[int] = None)
lit_gpt/datamodules/ultrachat_200k.py:60
Method__init__
(self, prompt_style='chatml', num_workers: Optional[int] = None)
lit_gpt/datamodules/wizardlm_evol_instruct_v2.py:58
Method__init__
( self, data: List[List[MultiTurnDataRow]], tokenizer: Tokenizer, prompt_style
lit_gpt/datamodules/sft_multiturn_dataset_base.py:58
Method__init__
(self, prompt_style='chatml', num_workers: Optional[int] = None)
lit_gpt/datamodules/capybara.py:60
Method__init__
( self, prompt_style='chatml', data_files_path='data/slim_orca_idontknow/slim-orca-ido
lit_gpt/datamodules/slim_orca_idontknow.py:56
Method__init__
(self, prompt_style='chatml', num_workers: Optional[int] = None)
lit_gpt/datamodules/slim_orca_dedup.py:56
Method__init__
( self, data: List[Dict[str, str]], tokenizer: Tokenizer, prompt_style: Union[
lit_gpt/datamodules/sft_dataset_base.py:28
Method__init__
(self, prompt_style='chatml', num_workers: Optional[int] = None)
lit_gpt/datamodules/deita.py:61
Method__init__
(self, prompt_style='chatml', num_workers: Optional[int] = None)
lit_gpt/datamodules/meta_math_qa.py:52
Method__init__
(self, level=logging.NOTSET)
prepare_dataset/preparer.py:45
Method__init__
(self, seed: int = None)
dpo/adapters/nectar.py:28
Method__init__
(self, score_distance: float = SCORE_DISTANCE)
dpo/adapters/ultrafeedback_binarized.py:33
Method__init__
(self, fname_tokenizer: Path, fname_added_tokens: Path | None)
tokenizer/convert/convert.py:338
Method__init__
(self, fname_tokenizer: Path, fname_added_tokens: Path | None)
tokenizer/convert/convert.py:396
Method__init__
(self, ndarray: NDArray)
tokenizer/convert/convert.py:599
Method__init__
(self, fp: IO[bytes], data_base_path: str, zip_file: zipfile.ZipFile)
tokenizer/convert/convert.py:781
Method__init__
(self, fname_out: Path, endianess:gguf.GGUFEndian = gguf.GGUFEndian.LITTLE)
tokenizer/convert/convert.py:970
Method__init__
(self, path: Path)
tokenizer/convert/convert.py:1290
Method__init__
(self, ratio: float)
util/splitter.py:12
Method__iter__
(self)
lit_gpt/utils.py:440
Method__iter__
(self)
lit_gpt/packed_dataset.py:61
Method__iter__
(self)
lit_gpt/packed_dataset.py:264
Method__iter__
(self)
lit_gpt/packed_dataset.py:292
Method__len__
(self)
lit_gpt/datamodules/sft_multiturn_dataset_base.py:80
Method__len__
(self)
lit_gpt/datamodules/sft_dataset_base.py:50
Method__next__
(self)
lit_gpt/utils.py:430
Method__next__
(self)
lit_gpt/packed_dataset.py:267
Method__next__
(self)
lit_gpt/packed_dataset.py:302
Method__post_init__
(self)
lit_gpt/config_base.py:55
Method__reduce_ex__
(self, protocol_version)
lit_gpt/utils_old.py:291
Method__reduce_ex__
(self, protocol_version)
lit_gpt/utils.py:136
Method__repr__
(self)
lit_gpt/utils_old.py:190
Method__repr__
(self)
lit_gpt/datamodules/base.py:49
Method__repr__
(self)
tokenizer/convert/convert.py:391
Method__repr__
(self)
tokenizer/convert/convert.py:454
Method__torch_function__
(cls, func, types, args=(), kwargs=None)
lit_gpt/utils_old.py:156
Function_filter_rows
(row: UltraFeedbackRow)
dpo/adapters/ultrafeedback_binarized.py:133
Function_format_row
(row: DistilabelCapybaraDPORow)
dpo/adapters/distilabel_capybara_dpo.py:71
Function_format_row
(row: OpenHermesRow)
dpo/adapters/open_hermes_preferences.py:71
Function_format_row
(row: UltraFeedbackRow)
dpo/adapters/ultrafeedback_binarized.py:95
Function_format_rows
(row: NectarRow)
dpo/adapters/nectar.py:68
Method_init_weights
Meant to be used with `gpt.apply(gpt._init_weights)`. Unused method left for completeness.
lit_gpt/adapter.py:118
Method_init_weights
Meant to be used with `gpt.apply(gpt._init_weights)`. Unused method left for completeness.
lit_gpt/lora.py:585
Method_init_weights
Meant to be used with `gpt.apply(gpt._init_weights)`. Unused method left for completeness.
lit_gpt/adapter_v2.py:96
Method_init_weights
Meant to be used with `gpt.apply(gpt._init_weights)`.
lit_gpt/model.py:86
Method_load_from_state_dict
For compatibility with older checkpoints.
lit_gpt/adapter.py:269
Method_load_from_state_dict
For compatibility with base checkpoints.
lit_gpt/lora.py:649
Method_load_from_state_dict
For compatibility with base checkpoints.
lit_gpt/lora.py:683
Method_load_from_state_dict
For compatibility with base checkpoints.
lit_gpt/lora.py:725
Method_load_from_state_dict
For compatibility with base checkpoints.
lit_gpt/adapter_v2.py:260
Method_load_from_state_dict
For compatibility with base checkpoints.
lit_gpt/adapter_v2.py:289
Method_load_from_state_dict
For compatibility with base checkpoints.
lit_gpt/adapter_v2.py:316
Function_sft_collate_fn
( samples: List[SFTDatasetItem], max_seq_length: int, pad_id: int, ignore_index: int, eos_
lit_gpt/datamodules/base.py:90
Methodall_tokens
(self)
tokenizer/convert/convert.py:387
Methodall_tokens
(self)
tokenizer/convert/convert.py:450
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:21
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:37
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:71
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:95
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:104
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:123
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:128
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:142
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:161
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:178
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:187
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:222
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:236
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:246
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:251
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:256
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:261
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:270
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:285
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:290
Methodapply
(self, prompt: str, **kwargs: str)
lit_gpt/prompts.py:301
Methodastype
(self, data_type: DataType)
tokenizer/convert/convert.py:604
Methodastype
(self, data_type: DataType)
tokenizer/convert/convert.py:658
← previousnext →301–400 of 589, ranked by callers