Quantumbraid's picture
download
raw
896 Bytes
# This is an example extension for custom training. It is great for experimenting with new ideas.
from toolkit.extension import Extension
# This is for generic training (LoRA, Dreambooth, FineTuning)
class ConceptSliderTrainerTrainer(Extension):
# uid must be unique, it is how the extension is identified
uid = "concept_slider"
# name is the name of the extension for printing
name = "Concept Slider Trainer"
# This is where your process class is loaded
# keep your imports in here so they don't slow down the rest of the program
@classmethod
def get_process(cls):
# import your process class here so it is only loaded when needed and return it
from .ConceptSliderTrainer import ConceptSliderTrainer
return ConceptSliderTrainer
AI_TOOLKIT_EXTENSIONS = [
# you can put a list of extensions here
ConceptSliderTrainerTrainer
]

Xet Storage Details

Size:
896 Bytes
·
Xet hash:
dc1daa61d3913bd90bc79025e536c37fe2f0ed2ed537d57d2b06b9d1a0e8330f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.