feat: add code for finetuning moondream
This commit is contained in:
8
resnet/label.py
Normal file
8
resnet/label.py
Normal file
@@ -0,0 +1,8 @@
|
||||
def label_fake(example):
|
||||
example["is_synthetic"] = 1.0
|
||||
return example
|
||||
|
||||
|
||||
def label_real(example):
|
||||
example["is_synthetic"] = 0.0
|
||||
return example
|
Reference in New Issue
Block a user