types
Useful types for Federated Learning.
Classes
AggregatorType
class AggregatorType( value, names=None, *, module=None, qualname=None, type=None, start=1,):
Available aggregator names from bitfount.federated.aggregator
.
AlgorithmType
class AlgorithmType(value, names=None, *, module=None, qualname=None, type=None, start=1):
Available algorithm names from bitfount.federated.algorithm
.
Variables
- static
CSVReportAlgorithm
- static
ColumnAverage
- static
ComputeIntersectionRSA
- static
FederatedModelTraining
- static
HuggingFaceImageClassificationInference
- static
HuggingFaceImageSegmentationInference
- static
HuggingFacePerplexityEvaluation
- static
HuggingFaceTextClassificationInference
- static
HuggingFaceTextGenerationInference
- static
HuggingFaceZeroShotImageClassificationInference
- static
ModelEvaluation
- static
ModelInference
- static
ModelTrainingAndEvaluation
- static
PrivateSqlQuery
- static
SqlQuery
- static
TIMMFineTuning
- static
TIMMInference
HuggingFaceImageClassificationInferenceDictionary
class HuggingFaceImageClassificationInferenceDictionary(*args, **kwargs):
Hugging Face dictionary response for image classification.
Ancestors
- builtins.dict
Variables
- static
image_classification : str
ProtocolType
class ProtocolType(value, names=None, *, module=None, qualname=None, type=None, start=1):
Available protocol names from bitfount.federated.protocol
.
Variables
- static
Conversation
- static
FederatedAveraging
- static
InferenceAndCSVReport
- static
InferenceAndReturnCSVReport
- static
InstrumentedInferenceAndCSVReport
- static
PrivateSetIntersection
- static
ResultsOnly
SerializedAggregator
class SerializedAggregator(*args, **kwargs):
Serialized representation of an aggregator.
Ancestors
- builtins.dict
Variables
- static
class_name : str
SerializedAlgorithm
class SerializedAlgorithm(*args, **kwargs):
Serialized representation of an algorithm.
Ancestors
- builtins.dict
SerializedModel
class SerializedModel(*args, **kwargs):
Serialized representation of a model.
Ancestors
- builtins.dict
Variables
- static
class_name : str
- static
hub : NotRequired[Optional[BitfountHub]]
- static
schema : NotRequired[_StrAnyDict]
SerializedProtocol
class SerializedProtocol(*args, **kwargs):
Serialized representation of a protocol.
Ancestors
- builtins.dict
Variables
- static
aggregator : typing_extensions.NotRequired[SerializedAggregator]
- static
algorithm : Union[SerializedAlgorithm, List[SerializedAlgorithm]]
- static
class_name : str
TextGenerationDictionary
class TextGenerationDictionary(*args, **kwargs):
Hugging Face dictionary response for text generation.
Ancestors
- builtins.dict
Variables
- static
generated_text : str