MCPcopy Create free account

hub / github.com/cambridgeltl/composable-sft / types & classes

Types & classes29 in github.com/cambridgeltl/composable-sft

↓ 11 callersClassMasakhanerConfig
BuilderConfig for Masakhaner
examples/token-classification/ner_dataset.py:69
↓ 10 callersClassSFT
Represents a sparse fine-tuning of a pre-trained base model. Contains two sets of tensors, "diffs", the difference tensors for sparsely fine-
src/sft/sft.py:55
↓ 4 callersClassMultiSourceDataset
src/sft/multisource.py:27
↓ 3 callersClassMultiSourceDataLoader
src/sft/multisource.py:150
↓ 2 callersClassBiaffine
examples/dependency-parsing/dp/modeling_biaffine.py:10
↓ 1 callersClassDataCollatorForDependencyParsing
Data collator that will dynamically pad the inputs received, as well as the labels. Args: tokenizer (:class:`~transformers.PreTraine
examples/dependency-parsing/dp/utils_udp.py:126
↓ 1 callersClassDataCollatorWithConsistentEvalMasking
src/sft/utils.py:6
↓ 1 callersClassParsingMetric
based on allennlp.training.metrics.AttachmentScores Computes labeled and unlabeled attachment scores for a dependency parse. Note that the in
examples/dependency-parsing/dp/utils_udp.py:195
↓ 1 callersClassSftArguments
src/sft/sft_args.py:5
↓ 1 callersClass_RegLossCalculationCallback
src/sft/trainer.py:19
ClassDataTrainingArguments
Arguments pertaining to what data we are going to input our model for training and eval.
examples/dependency-parsing/run_dp.py:101
ClassDataTrainingArguments
Arguments pertaining to what data we are going to input our model for training and eval.
examples/token-classification/run_token_classification.py:100
ClassDataTrainingArguments
Arguments pertaining to what data we are going to input our model for training and eval. Using `HfArgumentParser` we can turn this class
examples/text-classification/run_text_classification.py:64
ClassDataTrainingArguments
Arguments pertaining to what data we are going to input our model for training and eval.
examples/question-answering/run_qa.py:100
ClassDataTrainingArguments
Arguments pertaining to what data we are going to input our model for training and eval.
examples/language-modeling/run_mlm.py:121
ClassDependencyParsingTrainer
examples/dependency-parsing/dp/utils_udp.py:259
ClassMasakhaner
Masakhaner dataset.
examples/token-classification/ner_dataset.py:80
ClassMetric
examples/dependency-parsing/dp/utils_udp.py:180
ClassModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune from.
examples/dependency-parsing/run_dp.py:64
ClassModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune from.
examples/token-classification/run_token_classification.py:64
ClassModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune from.
examples/text-classification/run_text_classification.py:165
ClassModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune from.
examples/question-answering/run_qa.py:68
ClassModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune, or train from scratch.
examples/language-modeling/run_mlm.py:64
ClassQuestionAnsweringTrainer
examples/question-answering/trainer_qa.py:28
ClassTransformerForBiaffineParsing
Credit: G. Glavaš & I. Vulić Based on paper "Is Supervised Syntactic Parsing Beneficial for Language Understanding? An Empirical Investigatio
examples/dependency-parsing/dp/modeling_biaffine.py:44
ClassUDTrainingArguments
Extends TrainingArguments for Universal Dependencies (UD) dependency parsing. TrainingArguments is the subset of the arguments we use in our
examples/dependency-parsing/dp/utils_udp.py:70
Class_LotteryTicketSparseFineTuner
src/sft/lt_sft.py:17
Class_MultiSourceTrainer
src/sft/multisource.py:391
Class_SparseFineTuner
Superclass for Trainers that learn sparse fine-tunings. Keeps track of original model parameters so that difference vectors can be calculated
src/sft/trainer.py:30