Spaces:
Sleeping
Sleeping
Hugo Flores Garcia
commited on
Commit
•
dac02f7
1
Parent(s):
793d060
defaults
Browse files
vampnet/modules/transformer.py
CHANGED
@@ -587,18 +587,18 @@ class VampNet(at.ml.BaseModel):
|
|
587 |
self,
|
588 |
codec,
|
589 |
time_steps: int = 300,
|
590 |
-
sampling_steps: int =
|
591 |
start_tokens: Optional[torch.Tensor] = None,
|
592 |
sampling_temperature: float = 1.0,
|
593 |
mask: Optional[torch.Tensor] = None,
|
594 |
-
mask_temperature: float =
|
595 |
typical_filtering=False,
|
596 |
typical_mass=0.2,
|
597 |
typical_min_tokens=1,
|
598 |
top_p=None,
|
599 |
return_signal=True,
|
600 |
seed: int = None,
|
601 |
-
sample_cutoff: float =
|
602 |
):
|
603 |
if seed is not None:
|
604 |
at.util.seed(seed)
|
|
|
587 |
self,
|
588 |
codec,
|
589 |
time_steps: int = 300,
|
590 |
+
sampling_steps: int = 36,
|
591 |
start_tokens: Optional[torch.Tensor] = None,
|
592 |
sampling_temperature: float = 1.0,
|
593 |
mask: Optional[torch.Tensor] = None,
|
594 |
+
mask_temperature: float = 10.5,
|
595 |
typical_filtering=False,
|
596 |
typical_mass=0.2,
|
597 |
typical_min_tokens=1,
|
598 |
top_p=None,
|
599 |
return_signal=True,
|
600 |
seed: int = None,
|
601 |
+
sample_cutoff: float = 0.5
|
602 |
):
|
603 |
if seed is not None:
|
604 |
at.util.seed(seed)
|