Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cambridgeltl/composable-sft
/ types & classes
Types & classes
29 in github.com/cambridgeltl/composable-sft
⨍
Functions
110
◇
Types & classes
29
↓ 11 callers
Class
MasakhanerConfig
BuilderConfig for Masakhaner
examples/token-classification/ner_dataset.py:69
↓ 10 callers
Class
SFT
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 callers
Class
MultiSourceDataset
src/sft/multisource.py:27
↓ 3 callers
Class
MultiSourceDataLoader
src/sft/multisource.py:150
↓ 2 callers
Class
Biaffine
examples/dependency-parsing/dp/modeling_biaffine.py:10
↓ 1 callers
Class
DataCollatorForDependencyParsing
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 callers
Class
DataCollatorWithConsistentEvalMasking
src/sft/utils.py:6
↓ 1 callers
Class
ParsingMetric
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 callers
Class
SftArguments
src/sft/sft_args.py:5
↓ 1 callers
Class
_RegLossCalculationCallback
src/sft/trainer.py:19
Class
DataTrainingArguments
Arguments pertaining to what data we are going to input our model for training and eval.
examples/dependency-parsing/run_dp.py:101
Class
DataTrainingArguments
Arguments pertaining to what data we are going to input our model for training and eval.
examples/token-classification/run_token_classification.py:100
Class
DataTrainingArguments
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
Class
DataTrainingArguments
Arguments pertaining to what data we are going to input our model for training and eval.
examples/question-answering/run_qa.py:100
Class
DataTrainingArguments
Arguments pertaining to what data we are going to input our model for training and eval.
examples/language-modeling/run_mlm.py:121
Class
DependencyParsingTrainer
examples/dependency-parsing/dp/utils_udp.py:259
Class
Masakhaner
Masakhaner dataset.
examples/token-classification/ner_dataset.py:80
Class
Metric
examples/dependency-parsing/dp/utils_udp.py:180
Class
ModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune from.
examples/dependency-parsing/run_dp.py:64
Class
ModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune from.
examples/token-classification/run_token_classification.py:64
Class
ModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune from.
examples/text-classification/run_text_classification.py:165
Class
ModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune from.
examples/question-answering/run_qa.py:68
Class
ModelArguments
Arguments pertaining to which model/config/tokenizer we are going to fine-tune, or train from scratch.
examples/language-modeling/run_mlm.py:64
Class
QuestionAnsweringTrainer
examples/question-answering/trainer_qa.py:28
Class
TransformerForBiaffineParsing
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
Class
UDTrainingArguments
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