|
pulsatrix 1.1.0
|
Sampling settings. The defaults fill greedily by confidence. More...
#include <masked_diffusion.hpp>
Public Attributes | |
| int64_t | steps = 64 |
| Denoising steps. Must be positive. | |
| int64_t | mask_token_id = -1 |
| The token that marks a masked position. Must be set. | |
| UnmaskingSchedule | schedule = UnmaskingSchedule::Confidence |
| bool | do_sample = false |
| false: each filled position takes its most likely token. true: sample it. | |
| float | temperature = 1.0f |
| Divides the logits before sampling. Must be positive. | |
| std::vector< int64_t > | suppressed_token_ids |
| Tokens never generated. The mask token never is (MDLM's SUBS parameterization). | |
| std::optional< uint64_t > | seed |
| The seed for sampling and for the ancestral schedule's draws; unset draws one from the global stream (next_seed(), FND-7). | |
Sampling settings. The defaults fill greedily by confidence.
| bool pulsatrix::MaskedDiffusionConfig::do_sample = false |
false: each filled position takes its most likely token. true: sample it.
| int64_t pulsatrix::MaskedDiffusionConfig::mask_token_id = -1 |
The token that marks a masked position. Must be set.
| UnmaskingSchedule pulsatrix::MaskedDiffusionConfig::schedule = UnmaskingSchedule::Confidence |
| std::optional<uint64_t> pulsatrix::MaskedDiffusionConfig::seed |
The seed for sampling and for the ancestral schedule's draws; unset draws one from the global stream (next_seed(), FND-7).
| int64_t pulsatrix::MaskedDiffusionConfig::steps = 64 |
Denoising steps. Must be positive.
| std::vector<int64_t> pulsatrix::MaskedDiffusionConfig::suppressed_token_ids |
Tokens never generated. The mask token never is (MDLM's SUBS parameterization).
| float pulsatrix::MaskedDiffusionConfig::temperature = 1.0f |
Divides the logits before sampling. Must be positive.