Download code/models/common/sampling/__init__.py from Lottolabs/Qwen3.8-Flash-Next-Coder-P150-tt-model: direct link, hf CLI and curl.
- Browser
- Download file 807 Bytes
-
https://huggingface.co/Lottolabs/Qwen3.8-Flash-Next-Coder-P150-tt-model/resolve/main/code/models/common/sampling/__init__.py
- Command line
-
hf download hf://Lottolabs/Qwen3.8-Flash-Next-Coder-P150-tt-model/code/models/common/sampling/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Lottolabs/Qwen3.8-Flash-Next-Coder-P150-tt-model/resolve/main/code/models/common/sampling/__init__.py
807 Bytes
| # SPDX-FileCopyrightText: © 2025 Tenstorrent USA, Inc. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| from .tt_sampling import TTSampling | |
| from .tt_penalties import TTPenalties, apply_penalties | |
| from .tt_log_probs import LogProbsCalculator, LogProbsResult | |
| from .generator import ( | |
| SamplingGenerator, | |
| SamplingParams, | |
| SAMPLING_PARAM_FIELDS, | |
| format_sampling_params, | |
| broadcast_sampling_params, | |
| chunk_sampling_params, | |
| SeedManager, | |
| ) | |
| from ._utils import split_list | |
| __all__ = [ | |
| "TTSampling", | |
| "TTPenalties", | |
| "apply_penalties", | |
| "LogProbsCalculator", | |
| "LogProbsResult", | |
| "SamplingGenerator", | |
| "SamplingParams", | |
| "SAMPLING_PARAM_FIELDS", | |
| "format_sampling_params", | |
| "broadcast_sampling_params", | |
| "chunk_sampling_params", | |
| "SeedManager", | |
| "split_list", | |
| ] | |