Add files using upload-large-folder tool
Browse files- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/__init__.py +29 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/configuration_granite_speech.py +150 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/feature_extraction_granite_speech.py +184 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/modeling_granite_speech.py +601 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/processing_granite_speech.py +105 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/hyperclovax/modular_hyperclovax.py +235 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/ibert/quant_modules.py +819 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/mobilevitv2/configuration_mobilevitv2.py +82 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/musicgen_melody/configuration_musicgen_melody.py +163 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/musicgen_melody/processing_musicgen_melody.py +117 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/pp_ocrv5_mobile_det/__init__.py +27 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/pp_ocrv5_mobile_det/configuration_pp_ocrv5_mobile_det.py +76 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/infer_eval_hzj_c1tov_power2_target64_late_m_gamma_20260606_193437.log +88 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/infer_eval_lr2e3_ema_decode32_gamma_temp_clean_20260608_155828.log +497 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/infer_eval_lr2e3_ema_decode32_highentropy_gamma_20260608_154300.log +621 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/length_diag_len512_d256_l3_h4_4gpu_steps40000_20260526_221958.log +426 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/owt_t5_cleanstream_len1024_C1_to_64_d768_l12_h12_gbs512_8gpu_1m_lr3e4_20260527_142702.log +0 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/qwen35_owt_worst20_20260528_013940.log +24 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/vllm_qwen36_35b_a3b.log +0 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr3e4_elfopt_t5embed_unfixed_stateprobadd_selfcond_ce_fast_20260531_230026/step_226000.pt +3 -0
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/__init__.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2025 The HuggingFace Team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
from typing import TYPE_CHECKING
|
| 15 |
+
|
| 16 |
+
from ...utils import _LazyModule
|
| 17 |
+
from ...utils.import_utils import define_import_structure
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
if TYPE_CHECKING:
|
| 21 |
+
from .configuration_granite_speech import *
|
| 22 |
+
from .feature_extraction_granite_speech import *
|
| 23 |
+
from .modeling_granite_speech import *
|
| 24 |
+
from .processing_granite_speech import *
|
| 25 |
+
else:
|
| 26 |
+
import sys
|
| 27 |
+
|
| 28 |
+
_file = globals()["__file__"]
|
| 29 |
+
sys.modules[__name__] = _LazyModule(__name__, _file, define_import_structure(_file), module_spec=__spec__)
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/configuration_granite_speech.py
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2025 The HuggingFace Inc. team.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""Config class for Granite Speech."""
|
| 15 |
+
|
| 16 |
+
from huggingface_hub.dataclasses import strict
|
| 17 |
+
|
| 18 |
+
from ...configuration_utils import PreTrainedConfig
|
| 19 |
+
from ...utils import auto_docstring
|
| 20 |
+
from ..auto import CONFIG_MAPPING, AutoConfig
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
@auto_docstring(checkpoint="ibm-granite/granite-speech-3.3-2b")
|
| 24 |
+
@strict
|
| 25 |
+
class GraniteSpeechEncoderConfig(PreTrainedConfig):
|
| 26 |
+
r"""
|
| 27 |
+
feedforward_mult (`int`, *optional*, defaults to 4):
|
| 28 |
+
Multiplier for the up/down projections in the encoder's feedforward layers;
|
| 29 |
+
The projections will have intermediate dim of size `hidden_dim * feedforward_mult`.
|
| 30 |
+
output_dim (`int`, *optional*, defaults to 42):
|
| 31 |
+
Intermediate dimension of the feedforward projections in the conformer
|
| 32 |
+
to be added to every other encoder block's output.
|
| 33 |
+
context_size (`int`, *optional*, defaults to 200):
|
| 34 |
+
Context size to be used in conformer attention.
|
| 35 |
+
max_pos_emb (`int`, *optional*, defaults to 512):
|
| 36 |
+
Max pos embeds to be used in attention (shaw's relative positional encoding).
|
| 37 |
+
conv_expansion_factor (`int`, *optional*, defaults to 2):
|
| 38 |
+
Intermediate dimension to be used in conformer convolutions.
|
| 39 |
+
|
| 40 |
+
Example:
|
| 41 |
+
|
| 42 |
+
```python
|
| 43 |
+
>>> from transformers import GraniteSpeechEncoderConfig, GraniteSpeechCTCEncoder
|
| 44 |
+
|
| 45 |
+
>>> # Initializing a GraniteSpeechEncoderConfig
|
| 46 |
+
>>> configuration = GraniteSpeechEncoderConfig()
|
| 47 |
+
|
| 48 |
+
>>> # Initializing a GraniteSpeechCTCEncoder (with random weights)
|
| 49 |
+
>>> model = GraniteSpeechCTCEncoder(configuration)
|
| 50 |
+
|
| 51 |
+
>>> # Accessing the model configuration
|
| 52 |
+
>>> configuration = model.config
|
| 53 |
+
```"""
|
| 54 |
+
|
| 55 |
+
model_type = "granite_speech_encoder"
|
| 56 |
+
attribute_map = {
|
| 57 |
+
"hidden_size": "hidden_dim",
|
| 58 |
+
"num_hidden_layers": "num_layers",
|
| 59 |
+
"num_attention_heads": "num_heads",
|
| 60 |
+
"num_mel_bins": "input_dim",
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
input_dim: int = 160
|
| 64 |
+
num_layers: int = 10
|
| 65 |
+
hidden_dim: int = 1024
|
| 66 |
+
feedforward_mult: int = 4
|
| 67 |
+
num_heads: int = 8
|
| 68 |
+
dim_head: int | None = None
|
| 69 |
+
output_dim: int = 42
|
| 70 |
+
context_size: int = 200
|
| 71 |
+
max_pos_emb: int = 512
|
| 72 |
+
dropout: float | int = 0.1
|
| 73 |
+
conv_kernel_size: int = 15
|
| 74 |
+
conv_expansion_factor: int = 2
|
| 75 |
+
|
| 76 |
+
def __post_init__(self, **kwargs):
|
| 77 |
+
super().__post_init__(**kwargs)
|
| 78 |
+
if self.dim_head is None:
|
| 79 |
+
self.dim_head = self.hidden_dim // self.num_heads
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
@auto_docstring(checkpoint="ibm-granite/granite-speech-3.3-2b")
|
| 83 |
+
@strict
|
| 84 |
+
class GraniteSpeechConfig(PreTrainedConfig):
|
| 85 |
+
r"""
|
| 86 |
+
projector_config (`Union[AutoConfig, dict]`, *optional*, defaults to `Blip2QFormerConfig`):
|
| 87 |
+
The config object or dictionary of the audio projector.
|
| 88 |
+
has_lora_adapter (`bool`, *optional*, defaults to `True`):
|
| 89 |
+
Indicates whether or not the model has a lora adapter that should only
|
| 90 |
+
be activate when processing audio inputs.
|
| 91 |
+
downsample_rate (`int`, *optional*, defaults to 5):
|
| 92 |
+
Downsample rate for the audio feature extractor.
|
| 93 |
+
window_size (`int`, *optional*, defaults to 15):
|
| 94 |
+
Window size for the audio feature projector.
|
| 95 |
+
|
| 96 |
+
Example:
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
>>> from transformers import GraniteSpeechConfig, GraniteSpeechForConditionalGeneration
|
| 100 |
+
|
| 101 |
+
>>> # Initializing a GraniteSpeechConfig
|
| 102 |
+
>>> configuration = GraniteSpeechConfig()
|
| 103 |
+
|
| 104 |
+
>>> # Initializing a GraniteSpeechForConditionalGeneration (with random weights)
|
| 105 |
+
>>> model = GraniteSpeechForConditionalGeneration(configuration)
|
| 106 |
+
|
| 107 |
+
>>> # Accessing the model configuration
|
| 108 |
+
>>> configuration = model.config
|
| 109 |
+
```"""
|
| 110 |
+
|
| 111 |
+
model_type = "granite_speech"
|
| 112 |
+
attribute_map = {
|
| 113 |
+
"audio_token_id": "audio_token_index",
|
| 114 |
+
}
|
| 115 |
+
sub_configs = {
|
| 116 |
+
"text_config": AutoConfig,
|
| 117 |
+
"encoder_config": GraniteSpeechEncoderConfig,
|
| 118 |
+
"projector_config": AutoConfig,
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
text_config: dict | PreTrainedConfig | None = None
|
| 122 |
+
encoder_config: dict | PreTrainedConfig | None = None
|
| 123 |
+
projector_config: dict | PreTrainedConfig | None = None
|
| 124 |
+
audio_token_index: int = 49155
|
| 125 |
+
initializer_range: float = 0.02
|
| 126 |
+
has_lora_adapter: bool = True
|
| 127 |
+
downsample_rate: int = 5
|
| 128 |
+
window_size: int = 15
|
| 129 |
+
|
| 130 |
+
def __post_init__(self, **kwargs):
|
| 131 |
+
if isinstance(self.text_config, dict):
|
| 132 |
+
self.text_config["model_type"] = self.text_config.get("model_type", "granite")
|
| 133 |
+
self.text_config = CONFIG_MAPPING[self.text_config["model_type"]](**self.text_config)
|
| 134 |
+
elif self.text_config is None:
|
| 135 |
+
self.text_config = CONFIG_MAPPING["granite"]()
|
| 136 |
+
|
| 137 |
+
if isinstance(self.projector_config, dict):
|
| 138 |
+
self.projector_config["model_type"] = self.projector_config.get("model_type", "blip_2_qformer")
|
| 139 |
+
self.projector_config = CONFIG_MAPPING[self.projector_config["model_type"]](**self.projector_config)
|
| 140 |
+
elif self.projector_config is None:
|
| 141 |
+
self.projector_config = CONFIG_MAPPING["blip_2_qformer"]()
|
| 142 |
+
|
| 143 |
+
if not isinstance(self.encoder_config, GraniteSpeechEncoderConfig):
|
| 144 |
+
self.encoder_config = {} if self.encoder_config is None else self.encoder_config
|
| 145 |
+
self.encoder_config = GraniteSpeechEncoderConfig(**self.encoder_config)
|
| 146 |
+
|
| 147 |
+
super().__post_init__(**kwargs)
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
__all__ = ["GraniteSpeechEncoderConfig", "GraniteSpeechConfig"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/feature_extraction_granite_speech.py
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2025 The HuggingFace Inc. team.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""Feature extractor class for Granite Speech."""
|
| 15 |
+
|
| 16 |
+
import math
|
| 17 |
+
from collections.abc import Sequence
|
| 18 |
+
|
| 19 |
+
import numpy as np
|
| 20 |
+
|
| 21 |
+
from ...feature_extraction_utils import BatchFeature, FeatureExtractionMixin
|
| 22 |
+
from ...tokenization_utils_base import AudioInput
|
| 23 |
+
from ...utils import is_torch_available, is_torchaudio_available, logging
|
| 24 |
+
from ...utils.import_utils import requires_backends
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
logger = logging.get_logger(__name__)
|
| 28 |
+
|
| 29 |
+
if is_torch_available():
|
| 30 |
+
import torch
|
| 31 |
+
|
| 32 |
+
if is_torchaudio_available():
|
| 33 |
+
import torchaudio
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
class GraniteSpeechFeatureExtractor(FeatureExtractionMixin):
|
| 37 |
+
model_input_names = ["input_features"]
|
| 38 |
+
|
| 39 |
+
def __init__(
|
| 40 |
+
self,
|
| 41 |
+
sampling_rate: int = 16000,
|
| 42 |
+
n_fft: int = 512,
|
| 43 |
+
win_length: int = 400,
|
| 44 |
+
hop_length: int = 160,
|
| 45 |
+
n_mels: int = 80,
|
| 46 |
+
projector_window_size: int = 15,
|
| 47 |
+
projector_downsample_rate: int = 5,
|
| 48 |
+
**kwargs,
|
| 49 |
+
):
|
| 50 |
+
super().__init__(**kwargs)
|
| 51 |
+
self.sampling_rate = sampling_rate
|
| 52 |
+
self.melspec_kwargs = {
|
| 53 |
+
"sample_rate": sampling_rate,
|
| 54 |
+
"n_fft": n_fft,
|
| 55 |
+
"win_length": win_length,
|
| 56 |
+
"hop_length": hop_length,
|
| 57 |
+
"n_mels": n_mels,
|
| 58 |
+
}
|
| 59 |
+
requires_backends(self, ["torchaudio"])
|
| 60 |
+
self.mel_filters = torchaudio.transforms.MelSpectrogram(**self.melspec_kwargs)
|
| 61 |
+
self.projector_window_size = projector_window_size
|
| 62 |
+
self.projector_downsample_rate = projector_downsample_rate
|
| 63 |
+
|
| 64 |
+
def __call__(
|
| 65 |
+
self,
|
| 66 |
+
audios: AudioInput,
|
| 67 |
+
device: str | None = "cpu",
|
| 68 |
+
) -> BatchFeature:
|
| 69 |
+
requires_backends(self, ["torchaudio"])
|
| 70 |
+
|
| 71 |
+
speech_inputs = {}
|
| 72 |
+
batched_audio, audio_lengths = self._get_audios_and_audio_lengths(audios)
|
| 73 |
+
speech_inputs["input_features"] = self._extract_mel_spectrograms(
|
| 74 |
+
batched_audio,
|
| 75 |
+
device=device,
|
| 76 |
+
)
|
| 77 |
+
audio_embed_sizes = self._get_num_audio_features(audio_lengths)
|
| 78 |
+
speech_inputs["audio_embed_sizes"] = audio_embed_sizes
|
| 79 |
+
# TODO (@alex-jw-brooks): Currently input_features_mask is not
|
| 80 |
+
# a great name, because input_features and input_features_mask
|
| 81 |
+
# have different shapes (before/after the projector).
|
| 82 |
+
#
|
| 83 |
+
# We should align this with other multimodal models, e.g,. llava
|
| 84 |
+
# and qwen2audio and refactor this to ensure input_feature_mask
|
| 85 |
+
# has the same dimensionality as input_features, or compute it in
|
| 86 |
+
# the model based on the audio embedding sizes (since we do not
|
| 87 |
+
# have an attention mask for the audio features to infer padding from).
|
| 88 |
+
speech_inputs["input_features_mask"] = torch.arange(max(audio_embed_sizes)).view(1, -1) < torch.tensor(
|
| 89 |
+
audio_embed_sizes
|
| 90 |
+
).view(-1, 1)
|
| 91 |
+
return BatchFeature(data=speech_inputs)
|
| 92 |
+
|
| 93 |
+
def _extract_mel_spectrograms(self, audio: "torch.Tensor", device="cpu"):
|
| 94 |
+
"""
|
| 95 |
+
Compute the Mel features to be passed to the conformer encoder.
|
| 96 |
+
"""
|
| 97 |
+
requires_backends(self, ["torchaudio"])
|
| 98 |
+
if device is not None:
|
| 99 |
+
melspec = self.mel_filters.to(device)
|
| 100 |
+
audio = audio.to(device)
|
| 101 |
+
else:
|
| 102 |
+
melspec = self.mel_filters
|
| 103 |
+
|
| 104 |
+
bsz = audio.shape[0]
|
| 105 |
+
with torch.no_grad():
|
| 106 |
+
# Compute mel features
|
| 107 |
+
mel = melspec(audio.float())
|
| 108 |
+
logmel = mel.transpose(-1, -2).clip_(min=1e-10).log10_()
|
| 109 |
+
mx = logmel.amax(dim=(-2, -1), keepdim=True)
|
| 110 |
+
logmel = torch.maximum(logmel, mx - 8.0).div_(4).add_(1)
|
| 111 |
+
# remove last frame if odd
|
| 112 |
+
if logmel.shape[1] % 2 == 1:
|
| 113 |
+
logmel = logmel[:, :-1]
|
| 114 |
+
|
| 115 |
+
# stacking and skipping by 2
|
| 116 |
+
audio = logmel.reshape(bsz, -1, 2 * logmel.shape[-1])
|
| 117 |
+
|
| 118 |
+
return audio
|
| 119 |
+
|
| 120 |
+
def _get_num_audio_features(self, audio_lengths: Sequence[int]) -> Sequence[int]:
|
| 121 |
+
"""
|
| 122 |
+
Gets the (variable length) number of features (i.e., projector output) for the sequences
|
| 123 |
+
being considered.
|
| 124 |
+
|
| 125 |
+
Args:
|
| 126 |
+
audio_lengths (`Sequence[int]`):
|
| 127 |
+
Sequence of one or more raw audio lengths.
|
| 128 |
+
"""
|
| 129 |
+
hop_length = self.melspec_kwargs["hop_length"]
|
| 130 |
+
effective_window_size = self.projector_window_size // self.projector_downsample_rate
|
| 131 |
+
|
| 132 |
+
projector_lengths = []
|
| 133 |
+
for raw_length in audio_lengths:
|
| 134 |
+
# mel sequence length computation
|
| 135 |
+
mel_length = raw_length // hop_length + 1
|
| 136 |
+
# encoder frame takes two mel features
|
| 137 |
+
encoder_length = mel_length // 2
|
| 138 |
+
nblocks = math.ceil(encoder_length / self.projector_window_size)
|
| 139 |
+
# projector output length
|
| 140 |
+
projector_length = nblocks * effective_window_size
|
| 141 |
+
projector_lengths.append(projector_length)
|
| 142 |
+
|
| 143 |
+
return projector_lengths
|
| 144 |
+
|
| 145 |
+
def _get_audios_and_audio_lengths(self, audios: AudioInput) -> Sequence["torch.Tensor", Sequence[int]]:
|
| 146 |
+
"""
|
| 147 |
+
Coerces audio inputs to torch tensors and extracts audio lengths prior to stacking.
|
| 148 |
+
|
| 149 |
+
Args:
|
| 150 |
+
audios (`AudioInput`):
|
| 151 |
+
Audio sequence, numpy array, or torch tensor.
|
| 152 |
+
"""
|
| 153 |
+
requires_backends(self, ["torch"])
|
| 154 |
+
|
| 155 |
+
# Coerce to PyTorch tensors if we have numpy arrays, since
|
| 156 |
+
# currently we have a dependency on torch/torchaudio anyway
|
| 157 |
+
if isinstance(audios, np.ndarray):
|
| 158 |
+
audios = torch.from_numpy(audios)
|
| 159 |
+
elif isinstance(audios, Sequence) and isinstance(audios[0], np.ndarray):
|
| 160 |
+
audios = [torch.from_numpy(arr) for arr in audios]
|
| 161 |
+
|
| 162 |
+
if isinstance(audios, torch.Tensor):
|
| 163 |
+
if audios.ndim == 1:
|
| 164 |
+
audios = audios.unsqueeze(0)
|
| 165 |
+
if not torch.is_floating_point(audios):
|
| 166 |
+
raise ValueError("Invalid audio provided. Audio should be a floating point between 0 and 1")
|
| 167 |
+
|
| 168 |
+
if audios.shape[0] > 1:
|
| 169 |
+
logger.warning("Audio samples are already collated; assuming they all have the same length")
|
| 170 |
+
lengths = [audios.shape[-1]] * audios.shape[0]
|
| 171 |
+
return audios, lengths
|
| 172 |
+
|
| 173 |
+
elif isinstance(audios, Sequence) and isinstance(audios[0], torch.Tensor):
|
| 174 |
+
if not torch.is_floating_point(audios[0]):
|
| 175 |
+
raise ValueError("Invalid audio provided. Audio should be a floating point between 0 and 1")
|
| 176 |
+
lengths = [audio.shape[-1] for audio in audios]
|
| 177 |
+
audios = [audio.squeeze(0) for audio in audios]
|
| 178 |
+
audios = torch.nn.utils.rnn.pad_sequence(audios, batch_first=True, padding_value=0.0)
|
| 179 |
+
return audios, lengths
|
| 180 |
+
|
| 181 |
+
raise TypeError("Invalid audio provided. Audio should be a one or more torch tensors or numpy arrays")
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
__all__ = ["GraniteSpeechFeatureExtractor"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/modeling_granite_speech.py
ADDED
|
@@ -0,0 +1,601 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2025 The HuggingFace Inc. team.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
import math
|
| 16 |
+
from dataclasses import dataclass
|
| 17 |
+
|
| 18 |
+
import torch
|
| 19 |
+
import torch.nn.functional as F
|
| 20 |
+
from torch import nn
|
| 21 |
+
|
| 22 |
+
from ... import initialization as init
|
| 23 |
+
from ...cache_utils import Cache
|
| 24 |
+
from ...generation import GenerationMixin
|
| 25 |
+
from ...modeling_outputs import BaseModelOutputWithPooling, ModelOutput
|
| 26 |
+
from ...modeling_utils import PreTrainedModel
|
| 27 |
+
from ...processing_utils import Unpack
|
| 28 |
+
from ...utils import (
|
| 29 |
+
TransformersKwargs,
|
| 30 |
+
auto_docstring,
|
| 31 |
+
can_return_tuple,
|
| 32 |
+
is_peft_available,
|
| 33 |
+
logging,
|
| 34 |
+
torch_compilable_check,
|
| 35 |
+
)
|
| 36 |
+
from ...utils.generic import merge_with_config_defaults
|
| 37 |
+
from ...utils.output_capturing import capture_outputs
|
| 38 |
+
from ..auto import AutoModel, AutoModelForCausalLM
|
| 39 |
+
from .configuration_granite_speech import GraniteSpeechConfig, GraniteSpeechEncoderConfig
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
logger = logging.get_logger(__name__)
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
@auto_docstring(
|
| 46 |
+
custom_intro="""
|
| 47 |
+
Base class for LlavaNext causal language model (or autoregressive) outputs.
|
| 48 |
+
"""
|
| 49 |
+
)
|
| 50 |
+
@dataclass
|
| 51 |
+
class GraniteSpeechCausalLMOutputWithPast(ModelOutput):
|
| 52 |
+
r"""
|
| 53 |
+
loss (`torch.FloatTensor` of shape `(1,)`, *optional*, returned when `labels` is provided):
|
| 54 |
+
Language modeling loss (for next-token prediction).
|
| 55 |
+
logits (`torch.FloatTensor` of shape `(batch_size, sequence_length, config.vocab_size)`):
|
| 56 |
+
Prediction scores of the language modeling head (scores for each vocabulary token before SoftMax).
|
| 57 |
+
past_key_values (`Cache`, *optional*, returned when `use_cache=True` is passed or when `config.use_cache=True`):
|
| 58 |
+
It is a [`~cache_utils.Cache`] instance. For more details, see our [kv cache guide](https://huggingface.co/docs/transformers/en/kv_cache).
|
| 59 |
+
|
| 60 |
+
Contains pre-computed hidden-states (key and values in the self-attention blocks) that can be used (see
|
| 61 |
+
`past_key_values` input) to speed up sequential decoding.
|
| 62 |
+
"""
|
| 63 |
+
|
| 64 |
+
loss: torch.FloatTensor | None = None
|
| 65 |
+
logits: torch.FloatTensor | None = None
|
| 66 |
+
past_key_values: Cache | None = None
|
| 67 |
+
hidden_states: tuple[torch.FloatTensor] | None = None
|
| 68 |
+
attentions: tuple[torch.FloatTensor] | None = None
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
### Projector
|
| 72 |
+
class GraniteSpeechEncoderProjector(nn.Module):
|
| 73 |
+
def __init__(self, config: GraniteSpeechConfig):
|
| 74 |
+
super().__init__()
|
| 75 |
+
self.hidden_size = config.projector_config.hidden_size
|
| 76 |
+
self.downsample_rate = config.downsample_rate
|
| 77 |
+
self.window_size = config.window_size
|
| 78 |
+
self.num_queries = config.window_size // config.downsample_rate
|
| 79 |
+
|
| 80 |
+
self.query = nn.Parameter(torch.zeros(1, self.num_queries, config.projector_config.hidden_size))
|
| 81 |
+
self.query.data.normal_(mean=0.0, std=1.0)
|
| 82 |
+
|
| 83 |
+
# By default, this will be a blip_2_qformer config
|
| 84 |
+
self.qformer = AutoModel.from_config(config.projector_config)
|
| 85 |
+
self.linear = nn.Linear(config.projector_config.hidden_size, config.text_config.hidden_size)
|
| 86 |
+
|
| 87 |
+
def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
|
| 88 |
+
batch_size, seq_len, dim = hidden_states.size()
|
| 89 |
+
nblocks = math.ceil(seq_len / self.window_size)
|
| 90 |
+
pad = nblocks * self.window_size - seq_len
|
| 91 |
+
hidden_states = nn.functional.pad(hidden_states, (0, 0, 0, pad), "constant", 0)
|
| 92 |
+
hidden_states = hidden_states.view(batch_size * nblocks, self.window_size, dim)
|
| 93 |
+
|
| 94 |
+
query_output = self.qformer(
|
| 95 |
+
query_embeds=self.query,
|
| 96 |
+
encoder_hidden_states=hidden_states,
|
| 97 |
+
encoder_attention_mask=None,
|
| 98 |
+
return_dict=True,
|
| 99 |
+
)
|
| 100 |
+
query_proj = self.linear(
|
| 101 |
+
query_output.last_hidden_state.view(batch_size, nblocks * self.window_size // self.downsample_rate, -1)
|
| 102 |
+
)
|
| 103 |
+
return query_proj
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
### Encoder - conformer is adapted from: https://github.com/lucidrains/conformer.git
|
| 107 |
+
class GraniteSpeechConformerFeedForward(nn.Module):
|
| 108 |
+
"""Feedforward module for conformer encoder blocks."""
|
| 109 |
+
|
| 110 |
+
def __init__(self, config: GraniteSpeechEncoderConfig):
|
| 111 |
+
super().__init__()
|
| 112 |
+
self.pre_norm = nn.LayerNorm(config.hidden_dim)
|
| 113 |
+
self.up_proj = nn.Linear(config.hidden_dim, config.hidden_dim * config.feedforward_mult)
|
| 114 |
+
self.silu = nn.SiLU()
|
| 115 |
+
self.dropout = nn.Dropout(config.dropout)
|
| 116 |
+
self.down_proj = nn.Linear(config.hidden_dim * config.feedforward_mult, config.hidden_dim)
|
| 117 |
+
|
| 118 |
+
def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
|
| 119 |
+
hidden_states = self.pre_norm(hidden_states)
|
| 120 |
+
hidden_states = self.up_proj(hidden_states)
|
| 121 |
+
hidden_states = self.dropout(self.silu(hidden_states))
|
| 122 |
+
hidden_states = self.down_proj(hidden_states)
|
| 123 |
+
hidden_states = self.dropout(hidden_states)
|
| 124 |
+
return hidden_states
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
class GraniteSpeechConformerAttention(nn.Module):
|
| 128 |
+
"""Attention for conformer blocks using Shaw's relative positional embeddings.
|
| 129 |
+
See the following [paper](https://huggingface.co/papers/1803.02155) for more details.
|
| 130 |
+
"""
|
| 131 |
+
|
| 132 |
+
def __init__(self, config: GraniteSpeechEncoderConfig):
|
| 133 |
+
super().__init__()
|
| 134 |
+
|
| 135 |
+
inner_dim = config.dim_head * config.num_heads
|
| 136 |
+
self.max_pos_emb = config.max_pos_emb
|
| 137 |
+
self.context_size = config.context_size
|
| 138 |
+
self.num_heads = config.num_heads
|
| 139 |
+
self.dim_head = config.dim_head
|
| 140 |
+
self.scale = self.dim_head**-0.5
|
| 141 |
+
self.pre_norm = nn.LayerNorm(config.hidden_dim)
|
| 142 |
+
self.to_q = nn.Linear(config.hidden_dim, inner_dim, bias=False)
|
| 143 |
+
self.to_kv = nn.Linear(config.hidden_dim, inner_dim * 2, bias=False)
|
| 144 |
+
self.to_out = nn.Linear(inner_dim, config.hidden_dim)
|
| 145 |
+
self.rel_pos_emb = nn.Embedding(2 * self.max_pos_emb + 1, self.dim_head)
|
| 146 |
+
self.dropout = nn.Dropout(config.dropout)
|
| 147 |
+
|
| 148 |
+
if self.context_size <= 0 or self.context_size > self.max_pos_emb:
|
| 149 |
+
raise ValueError("Context size is either less than 0 or exceeds the max_pos_emb")
|
| 150 |
+
|
| 151 |
+
def forward(self, hidden_states: torch.Tensor, attention_dists: torch.Tensor) -> torch.Tensor:
|
| 152 |
+
hidden_states = self.pre_norm(hidden_states)
|
| 153 |
+
bsz, num_features, _ = hidden_states.shape
|
| 154 |
+
|
| 155 |
+
num_blocks = math.ceil(num_features / self.context_size)
|
| 156 |
+
remainder = num_features % self.context_size
|
| 157 |
+
if remainder > 0:
|
| 158 |
+
# right padding to reach block size
|
| 159 |
+
hidden_states = torch.nn.functional.pad(hidden_states, (0, 0, 0, self.context_size - remainder))
|
| 160 |
+
|
| 161 |
+
query_states = self.to_q(hidden_states)
|
| 162 |
+
key_states, value_states = self.to_kv(hidden_states).chunk(2, dim=-1)
|
| 163 |
+
|
| 164 |
+
query_states = query_states.reshape(bsz, num_blocks, self.context_size, self.num_heads, -1).transpose(2, 3)
|
| 165 |
+
key_states = key_states.reshape(bsz, num_blocks, self.context_size, self.num_heads, -1).transpose(2, 3)
|
| 166 |
+
value_states = value_states.reshape(bsz, num_blocks, self.context_size, self.num_heads, -1).transpose(2, 3)
|
| 167 |
+
|
| 168 |
+
# shaw's relative positional embedding
|
| 169 |
+
rel_pos_emb = self.rel_pos_emb(attention_dists)
|
| 170 |
+
# alternative computation of `pos_attn` - for readability
|
| 171 |
+
# rel_pos_emb_expanded = rel_pos_emb.view([1, 1, 1] + list(rel_pos_emb.shape))
|
| 172 |
+
# pos_attn = torch.sum(query_states.unsqueeze(-2) * rel_pos_emb_expanded, dim=-1) * self.scale
|
| 173 |
+
# einsum implementation of pos_attn - gives x30 speedup over the alternative
|
| 174 |
+
# TODO (@avihu111) find a fast alternative to einsum
|
| 175 |
+
pos_attn = torch.einsum("b m h c d, c r d -> b m h c r", query_states, rel_pos_emb) * self.scale
|
| 176 |
+
|
| 177 |
+
if remainder > 0:
|
| 178 |
+
# masked attention in the extended block
|
| 179 |
+
mask = torch.ones(self.context_size, self.context_size, dtype=bool, device=hidden_states.device)
|
| 180 |
+
mask[:remainder, :remainder] = 0
|
| 181 |
+
mask_value = -torch.finfo(pos_attn.dtype).max
|
| 182 |
+
pos_attn[:, -1, :].masked_fill_(mask, mask_value)
|
| 183 |
+
|
| 184 |
+
with torch.nn.attention.sdpa_kernel(torch.nn.attention.SDPBackend.MATH):
|
| 185 |
+
out = F.scaled_dot_product_attention(
|
| 186 |
+
query_states, key_states, value_states, attn_mask=pos_attn, scale=self.scale
|
| 187 |
+
)
|
| 188 |
+
out = out.transpose(2, 3).reshape(bsz, hidden_states.shape[1], -1)
|
| 189 |
+
out = self.to_out(out[:, :num_features, :])
|
| 190 |
+
return self.dropout(out)
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
class GraniteSpeechConformerDepthWiseConv1d(nn.Module):
|
| 194 |
+
"""Wrapper for padded 1D pointwise convolution."""
|
| 195 |
+
|
| 196 |
+
def __init__(self, chan_in: int, chan_out: int, kernel_size: int):
|
| 197 |
+
super().__init__()
|
| 198 |
+
# Padding for the 1D conv is symmetric or close (i.e., offset by one).
|
| 199 |
+
pad = kernel_size // 2
|
| 200 |
+
pad_offset = (kernel_size + 1) % 2
|
| 201 |
+
self.padding = (pad, pad - pad_offset)
|
| 202 |
+
|
| 203 |
+
self.conv = nn.Conv1d(chan_in, chan_out, kernel_size, groups=chan_in, bias=False)
|
| 204 |
+
|
| 205 |
+
def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
|
| 206 |
+
hidden_states = F.pad(hidden_states, self.padding)
|
| 207 |
+
return self.conv(hidden_states)
|
| 208 |
+
|
| 209 |
+
|
| 210 |
+
class GraniteSpeechConformerConvModule(nn.Module):
|
| 211 |
+
"""Conformer conv module consisting of several 1D/depthwise 1D convolutional layers."""
|
| 212 |
+
|
| 213 |
+
def __init__(self, config: GraniteSpeechEncoderConfig):
|
| 214 |
+
super().__init__()
|
| 215 |
+
inner_dim = config.hidden_dim * config.conv_expansion_factor
|
| 216 |
+
|
| 217 |
+
self.norm = nn.LayerNorm(config.hidden_dim)
|
| 218 |
+
self.up_conv = nn.Conv1d(config.hidden_dim, inner_dim * 2, 1)
|
| 219 |
+
self.glu = nn.GLU(dim=1)
|
| 220 |
+
self.depth_conv = GraniteSpeechConformerDepthWiseConv1d(
|
| 221 |
+
inner_dim,
|
| 222 |
+
inner_dim,
|
| 223 |
+
kernel_size=config.conv_kernel_size,
|
| 224 |
+
)
|
| 225 |
+
self.silu = nn.SiLU()
|
| 226 |
+
self.batch_norm = nn.BatchNorm1d(inner_dim)
|
| 227 |
+
self.down_conv = nn.Conv1d(inner_dim, config.hidden_dim, 1)
|
| 228 |
+
self.dropout = nn.Dropout(config.dropout)
|
| 229 |
+
|
| 230 |
+
def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
|
| 231 |
+
hidden_states = self.norm(hidden_states)
|
| 232 |
+
hidden_states = self.up_conv(hidden_states.permute(0, 2, 1))
|
| 233 |
+
hidden_states = self.glu(hidden_states)
|
| 234 |
+
hidden_states = self.depth_conv(hidden_states)
|
| 235 |
+
hidden_states = self.silu(self.batch_norm(hidden_states))
|
| 236 |
+
hidden_states = self.down_conv(hidden_states).permute(0, 2, 1)
|
| 237 |
+
hidden_states = self.dropout(hidden_states)
|
| 238 |
+
return hidden_states
|
| 239 |
+
|
| 240 |
+
|
| 241 |
+
class GraniteSpeechConformerBlock(nn.Module):
|
| 242 |
+
"""Conformer block, consisting largely of linear layers, attention, and convolutional layers."""
|
| 243 |
+
|
| 244 |
+
def __init__(self, config: GraniteSpeechEncoderConfig):
|
| 245 |
+
super().__init__()
|
| 246 |
+
self.ff1 = GraniteSpeechConformerFeedForward(config)
|
| 247 |
+
self.attn = GraniteSpeechConformerAttention(config)
|
| 248 |
+
self.conv = GraniteSpeechConformerConvModule(config)
|
| 249 |
+
self.ff2 = GraniteSpeechConformerFeedForward(config)
|
| 250 |
+
self.post_norm = nn.LayerNorm(config.hidden_dim)
|
| 251 |
+
|
| 252 |
+
def forward(self, hidden_states: torch.Tensor, attention_dists: torch.Tensor) -> torch.Tensor:
|
| 253 |
+
hidden_states = 0.5 * self.ff1(hidden_states) + hidden_states
|
| 254 |
+
hidden_states = self.attn(hidden_states, attention_dists=attention_dists) + hidden_states
|
| 255 |
+
hidden_states = self.conv(hidden_states) + hidden_states
|
| 256 |
+
hidden_states = 0.5 * self.ff2(hidden_states) + hidden_states
|
| 257 |
+
hidden_states = self.post_norm(hidden_states)
|
| 258 |
+
return hidden_states
|
| 259 |
+
|
| 260 |
+
|
| 261 |
+
@auto_docstring
|
| 262 |
+
class GraniteSpeechPreTrainedModel(PreTrainedModel):
|
| 263 |
+
config: GraniteSpeechConfig
|
| 264 |
+
input_modalities = ("audio", "text")
|
| 265 |
+
|
| 266 |
+
_supports_flash_attn = False # `blip_2_qformer` dependency does not allow for this
|
| 267 |
+
_supports_sdpa = True
|
| 268 |
+
|
| 269 |
+
@torch.no_grad()
|
| 270 |
+
def _init_weights(self, module: nn.Module):
|
| 271 |
+
"""Initialize the weights."""
|
| 272 |
+
super()._init_weights(module)
|
| 273 |
+
if isinstance(module, GraniteSpeechEncoderProjector):
|
| 274 |
+
init.normal_(module.query)
|
| 275 |
+
elif isinstance(module, GraniteSpeechCTCEncoder):
|
| 276 |
+
context_size = module.config.context_size
|
| 277 |
+
seq = torch.arange(context_size)
|
| 278 |
+
relpos_dist = seq.view(-1, 1) - seq.view(1, -1)
|
| 279 |
+
attention_dists = torch.clamp(relpos_dist, -context_size, context_size) + module.config.max_pos_emb
|
| 280 |
+
init.copy_(module.attention_dists, attention_dists)
|
| 281 |
+
|
| 282 |
+
|
| 283 |
+
class GraniteSpeechCTCEncoder(GraniteSpeechPreTrainedModel):
|
| 284 |
+
config: GraniteSpeechEncoderConfig
|
| 285 |
+
input_modalities = "audio"
|
| 286 |
+
_can_record_outputs = {
|
| 287 |
+
"hidden_states": GraniteSpeechConformerBlock,
|
| 288 |
+
"attentions": GraniteSpeechConformerAttention,
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
def __init__(self, config: GraniteSpeechEncoderConfig):
|
| 292 |
+
super().__init__(config)
|
| 293 |
+
|
| 294 |
+
# Precompute clamped relative positional encoding distances
|
| 295 |
+
seq = torch.arange(config.context_size)
|
| 296 |
+
relpos_dist = seq.view(-1, 1) - seq.view(1, -1)
|
| 297 |
+
attention_dists = torch.clamp(relpos_dist, -config.context_size, config.context_size) + config.max_pos_emb
|
| 298 |
+
self.register_buffer("attention_dists", attention_dists, persistent=False)
|
| 299 |
+
self.input_linear = nn.Linear(config.input_dim, config.hidden_dim, bias=True)
|
| 300 |
+
self.layers = nn.ModuleList([GraniteSpeechConformerBlock(config) for _ in range(config.num_layers)])
|
| 301 |
+
|
| 302 |
+
self.out = nn.Linear(config.hidden_dim, config.output_dim, bias=True)
|
| 303 |
+
self.out_mid = nn.Linear(config.output_dim, config.hidden_dim, bias=True)
|
| 304 |
+
self.num_layers = config.num_layers
|
| 305 |
+
self.post_init()
|
| 306 |
+
|
| 307 |
+
@merge_with_config_defaults
|
| 308 |
+
@capture_outputs
|
| 309 |
+
def forward(
|
| 310 |
+
self, hidden_states: torch.Tensor, **kwargs: Unpack[TransformersKwargs]
|
| 311 |
+
) -> tuple | BaseModelOutputWithPooling:
|
| 312 |
+
hidden_states = self.input_linear(hidden_states)
|
| 313 |
+
for idx, layer in enumerate(self.layers, start=1):
|
| 314 |
+
hidden_states = layer(hidden_states, attention_dists=self.attention_dists)
|
| 315 |
+
|
| 316 |
+
if idx == self.num_layers // 2:
|
| 317 |
+
hidden_states_mid = hidden_states.clone()
|
| 318 |
+
hidden_states_mid = self.out(hidden_states_mid)
|
| 319 |
+
hidden_states += self.out_mid(nn.Softmax(dim=-1)(hidden_states_mid))
|
| 320 |
+
|
| 321 |
+
return BaseModelOutputWithPooling(last_hidden_state=hidden_states)
|
| 322 |
+
|
| 323 |
+
|
| 324 |
+
@auto_docstring(
|
| 325 |
+
custom_intro="""
|
| 326 |
+
The Granite Speech model, which consists of an audio encoder, projector, and language model.
|
| 327 |
+
"""
|
| 328 |
+
)
|
| 329 |
+
class GraniteSpeechForConditionalGeneration(GraniteSpeechPreTrainedModel, GenerationMixin):
|
| 330 |
+
_supports_attention_backend = True
|
| 331 |
+
|
| 332 |
+
def __init__(self, config: GraniteSpeechConfig):
|
| 333 |
+
super().__init__(config)
|
| 334 |
+
# NOTE: It doesn't matter when we initialize from config, but we should be careful
|
| 335 |
+
# to make sure this does not pick up the adapter_config if in the future we use
|
| 336 |
+
# from_pretrained or something similar, since that should be set by the composite
|
| 337 |
+
# model; don't need to consider it twice
|
| 338 |
+
self.language_model = AutoModelForCausalLM.from_config(config.text_config)
|
| 339 |
+
|
| 340 |
+
self.encoder = GraniteSpeechCTCEncoder(config.encoder_config)
|
| 341 |
+
self.projector = GraniteSpeechEncoderProjector(config)
|
| 342 |
+
|
| 343 |
+
if config.has_lora_adapter and not is_peft_available():
|
| 344 |
+
logger.warning(
|
| 345 |
+
"Config indicates that a lora adapter should be present, but "
|
| 346 |
+
"peft is not installed; this will cause the model to perform "
|
| 347 |
+
"incorrectly when audio inputs are provided. Please install "
|
| 348 |
+
"peft and reload the model!"
|
| 349 |
+
)
|
| 350 |
+
|
| 351 |
+
self.post_init()
|
| 352 |
+
|
| 353 |
+
def set_decoder(self, decoder):
|
| 354 |
+
self.language_model.set_decoder(decoder)
|
| 355 |
+
|
| 356 |
+
def get_decoder(self):
|
| 357 |
+
return self.language_model.get_decoder()
|
| 358 |
+
|
| 359 |
+
def set_output_embeddings(self, new_embeddings):
|
| 360 |
+
self.language_model.set_output_embeddings(new_embeddings)
|
| 361 |
+
|
| 362 |
+
def get_output_embeddings(self):
|
| 363 |
+
return self.language_model.get_output_embeddings()
|
| 364 |
+
|
| 365 |
+
@can_return_tuple
|
| 366 |
+
@auto_docstring
|
| 367 |
+
def get_audio_features(
|
| 368 |
+
self, input_features: torch.Tensor, **kwargs: Unpack[TransformersKwargs]
|
| 369 |
+
) -> tuple | BaseModelOutputWithPooling:
|
| 370 |
+
audio_outputs = self.encoder(input_features, return_dict=True, **kwargs)
|
| 371 |
+
projected_embeds = self.projector(audio_outputs.last_hidden_state)
|
| 372 |
+
audio_outputs.pooler_output = projected_embeds
|
| 373 |
+
|
| 374 |
+
return audio_outputs
|
| 375 |
+
|
| 376 |
+
@auto_docstring
|
| 377 |
+
def forward(
|
| 378 |
+
self,
|
| 379 |
+
input_ids: torch.LongTensor | None = None,
|
| 380 |
+
input_features: torch.FloatTensor | None = None,
|
| 381 |
+
input_features_mask: torch.Tensor | None = None,
|
| 382 |
+
attention_mask: torch.Tensor | None = None,
|
| 383 |
+
position_ids: torch.LongTensor | None = None,
|
| 384 |
+
past_key_values: Cache | None = None,
|
| 385 |
+
inputs_embeds: torch.FloatTensor | None = None,
|
| 386 |
+
labels: torch.LongTensor | None = None,
|
| 387 |
+
use_cache: bool | None = None,
|
| 388 |
+
output_attentions: bool | None = None,
|
| 389 |
+
output_hidden_states: bool | None = None,
|
| 390 |
+
return_dict: bool | None = None,
|
| 391 |
+
logits_to_keep: int | torch.Tensor = 0,
|
| 392 |
+
**lm_kwargs,
|
| 393 |
+
) -> tuple[torch.Tensor] | GraniteSpeechCausalLMOutputWithPast:
|
| 394 |
+
r"""
|
| 395 |
+
input_features_mask (`torch.Tensor`, *optional*):
|
| 396 |
+
Mask to be applied to audio features prior to scattering into the language embeddings.
|
| 397 |
+
labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
| 398 |
+
Labels for computing the masked language modeling loss. Indices should either be in `[0, ...,
|
| 399 |
+
config.vocab_size]` or -100 (see `input_ids` docstring). Tokens with indices set to `-100` are ignored
|
| 400 |
+
(masked), the loss is only computed for the tokens with labels in `[0, ..., config.vocab_size]`.
|
| 401 |
+
"""
|
| 402 |
+
# TODO (@alex-jw-brooks) add an example to this docstring once models are released
|
| 403 |
+
output_attentions = output_attentions if output_attentions is not None else self.config.output_attentions
|
| 404 |
+
output_hidden_states = (
|
| 405 |
+
output_hidden_states if output_hidden_states is not None else self.config.output_hidden_states
|
| 406 |
+
)
|
| 407 |
+
return_dict = return_dict if return_dict is not None else self.config.return_dict
|
| 408 |
+
|
| 409 |
+
if (input_ids is None) ^ (inputs_embeds is not None):
|
| 410 |
+
raise ValueError("You must specify exactly one of input_ids or inputs_embeds")
|
| 411 |
+
|
| 412 |
+
if input_features is not None and inputs_embeds is not None:
|
| 413 |
+
raise ValueError(
|
| 414 |
+
"You cannot specify both input_features and inputs_embeds at the same time, and must specify either one"
|
| 415 |
+
)
|
| 416 |
+
|
| 417 |
+
if inputs_embeds is None:
|
| 418 |
+
# Get the base embeddings; set all audio tokens to 0 index
|
| 419 |
+
# to avoid out of vocabulary issues with the LLM embedding.
|
| 420 |
+
# Audio features will be masked into is_audio_idx indices later.
|
| 421 |
+
is_audio_idx = input_ids == self.config.audio_token_id
|
| 422 |
+
llm_input_ids = input_ids.clone()
|
| 423 |
+
llm_input_ids[is_audio_idx] = 0
|
| 424 |
+
inputs_embeds = self.get_input_embeddings()(llm_input_ids)
|
| 425 |
+
|
| 426 |
+
if input_features is not None:
|
| 427 |
+
if input_features.dtype != self.dtype:
|
| 428 |
+
input_features = input_features.to(self.dtype)
|
| 429 |
+
# Get the audio features from the encoder / projector
|
| 430 |
+
audio_embeds = self.get_audio_features(input_features, return_dict=True).pooler_output
|
| 431 |
+
|
| 432 |
+
# Merge the audio features into the LLM embeddings
|
| 433 |
+
inputs_embeds = self.get_merged_audio_embeddings(
|
| 434 |
+
input_ids=input_ids,
|
| 435 |
+
audio_features=audio_embeds,
|
| 436 |
+
input_features_mask=input_features_mask,
|
| 437 |
+
)
|
| 438 |
+
|
| 439 |
+
outputs = self.language_model(
|
| 440 |
+
attention_mask=attention_mask,
|
| 441 |
+
position_ids=position_ids,
|
| 442 |
+
past_key_values=past_key_values,
|
| 443 |
+
inputs_embeds=inputs_embeds,
|
| 444 |
+
use_cache=use_cache,
|
| 445 |
+
output_attentions=output_attentions,
|
| 446 |
+
output_hidden_states=output_hidden_states,
|
| 447 |
+
return_dict=return_dict,
|
| 448 |
+
logits_to_keep=logits_to_keep,
|
| 449 |
+
**lm_kwargs,
|
| 450 |
+
)
|
| 451 |
+
logits = outputs[0]
|
| 452 |
+
|
| 453 |
+
loss = None
|
| 454 |
+
if labels is not None:
|
| 455 |
+
# Shift so that tokens < n predict n
|
| 456 |
+
if attention_mask is not None:
|
| 457 |
+
# we use the input attention mask to shift the logits and labels, because it is 2D.
|
| 458 |
+
# we also crop attn mask in case it is longer, which happens in PrefixTuning with peft
|
| 459 |
+
shift_attention_mask = attention_mask[:, -(logits.shape[1] - 1) :].to(logits.device)
|
| 460 |
+
shift_logits = logits[..., :-1, :][shift_attention_mask.to(logits.device) != 0].contiguous()
|
| 461 |
+
shift_labels = labels[..., 1:][shift_attention_mask.to(labels.device) != 0].contiguous()
|
| 462 |
+
else:
|
| 463 |
+
shift_logits = logits[..., :-1, :].contiguous()
|
| 464 |
+
shift_labels = labels[..., 1:].contiguous()
|
| 465 |
+
# Flatten the tokens
|
| 466 |
+
loss_fct = nn.CrossEntropyLoss()
|
| 467 |
+
loss = loss_fct(
|
| 468 |
+
shift_logits.view(-1, shift_logits.size(-1)), shift_labels.view(-1).to(shift_logits.device)
|
| 469 |
+
)
|
| 470 |
+
|
| 471 |
+
if not return_dict:
|
| 472 |
+
output = (logits,) + outputs[1:]
|
| 473 |
+
return (loss,) + output if loss is not None else output
|
| 474 |
+
|
| 475 |
+
return GraniteSpeechCausalLMOutputWithPast(
|
| 476 |
+
loss=loss,
|
| 477 |
+
logits=logits,
|
| 478 |
+
past_key_values=outputs.past_key_values,
|
| 479 |
+
hidden_states=outputs.hidden_states,
|
| 480 |
+
attentions=outputs.attentions,
|
| 481 |
+
)
|
| 482 |
+
|
| 483 |
+
def prepare_inputs_for_generation(
|
| 484 |
+
self,
|
| 485 |
+
input_ids,
|
| 486 |
+
past_key_values=None,
|
| 487 |
+
inputs_embeds=None,
|
| 488 |
+
input_features=None,
|
| 489 |
+
attention_mask=None,
|
| 490 |
+
logits_to_keep=None,
|
| 491 |
+
is_first_iteration=False,
|
| 492 |
+
**kwargs,
|
| 493 |
+
):
|
| 494 |
+
# Overwritten -- in specific circumstances we don't want to forward audio inputs to the model
|
| 495 |
+
|
| 496 |
+
model_inputs = self.language_model.prepare_inputs_for_generation(
|
| 497 |
+
input_ids,
|
| 498 |
+
past_key_values=past_key_values,
|
| 499 |
+
inputs_embeds=inputs_embeds,
|
| 500 |
+
attention_mask=attention_mask,
|
| 501 |
+
logits_to_keep=logits_to_keep,
|
| 502 |
+
is_first_iteration=is_first_iteration,
|
| 503 |
+
**kwargs,
|
| 504 |
+
)
|
| 505 |
+
|
| 506 |
+
# If we're in cached decoding stage, input_features should be None because
|
| 507 |
+
# input ids do not contain special audio token anymore Otherwise we need
|
| 508 |
+
# input feature values to be passed to the model
|
| 509 |
+
if is_first_iteration or not kwargs.get("use_cache", True):
|
| 510 |
+
model_inputs["input_features"] = input_features
|
| 511 |
+
return model_inputs
|
| 512 |
+
|
| 513 |
+
def get_placeholder_mask(
|
| 514 |
+
self, input_ids: torch.LongTensor, inputs_embeds: torch.FloatTensor, audio_features: torch.FloatTensor
|
| 515 |
+
):
|
| 516 |
+
"""
|
| 517 |
+
Obtains multimodal placeholder mask from `input_ids` or `inputs_embeds`, and checks that the placeholder token count is
|
| 518 |
+
equal to the length of multimodal features. If the lengths are different, an error is raised.
|
| 519 |
+
"""
|
| 520 |
+
if input_ids is None:
|
| 521 |
+
special_audio_mask = inputs_embeds == self.get_input_embeddings()(
|
| 522 |
+
torch.tensor(self.config.audio_token_id, dtype=torch.long, device=inputs_embeds.device)
|
| 523 |
+
)
|
| 524 |
+
special_audio_mask = special_audio_mask.all(-1)
|
| 525 |
+
else:
|
| 526 |
+
special_audio_mask = input_ids == self.config.audio_token_id
|
| 527 |
+
|
| 528 |
+
n_audio_tokens = special_audio_mask.sum()
|
| 529 |
+
n_audio_features = audio_features.shape[0]
|
| 530 |
+
special_audio_mask = special_audio_mask.unsqueeze(-1).expand_as(inputs_embeds).to(inputs_embeds.device)
|
| 531 |
+
torch_compilable_check(
|
| 532 |
+
inputs_embeds[special_audio_mask].numel() == audio_features.numel(),
|
| 533 |
+
f"Audio features and audio tokens do not match, tokens: {n_audio_tokens}, features: {n_audio_features}",
|
| 534 |
+
)
|
| 535 |
+
return special_audio_mask
|
| 536 |
+
|
| 537 |
+
def get_merged_audio_embeddings(
|
| 538 |
+
self, input_ids: torch.Tensor, audio_features: torch.Tensor, input_features_mask: torch.Tensor | None = None
|
| 539 |
+
) -> torch.Tensor:
|
| 540 |
+
"""
|
| 541 |
+
Adds the audio token to the model's LLM vocabulary so that we can pass it
|
| 542 |
+
through the tokenizer; it's assumed that the embeddings corresponding to the
|
| 543 |
+
<|audio|> token will be clobbered with speech features.
|
| 544 |
+
|
| 545 |
+
Args:
|
| 546 |
+
input_ids (`torch.Tensor`):
|
| 547 |
+
Input IDs containing one or more audio tokens.
|
| 548 |
+
audio_features (`torch.Tensor`):
|
| 549 |
+
Audio features to be masked into the language embeddings to form multimodal embeddings.
|
| 550 |
+
input_features_mask (`torch.Tensor`, *optional*, defaults to `None`)
|
| 551 |
+
Mask to be applied to audio features prior to scattering into the language embeddings.
|
| 552 |
+
"""
|
| 553 |
+
is_audio_index = input_ids == self.config.audio_token_id
|
| 554 |
+
llm_input_ids = torch.where(is_audio_index, 0, input_ids)
|
| 555 |
+
inputs_embeds = self.language_model.get_input_embeddings()(llm_input_ids) # [bsz, # features, hidden size]
|
| 556 |
+
|
| 557 |
+
audio_features = audio_features.to(inputs_embeds.device, inputs_embeds.dtype)
|
| 558 |
+
if input_features_mask is not None:
|
| 559 |
+
audio_features = audio_features[input_features_mask]
|
| 560 |
+
|
| 561 |
+
special_audio_mask = self.get_placeholder_mask(
|
| 562 |
+
input_ids, inputs_embeds=inputs_embeds, audio_features=audio_features
|
| 563 |
+
)
|
| 564 |
+
inputs_embeds = inputs_embeds.masked_scatter(special_audio_mask, audio_features)
|
| 565 |
+
return inputs_embeds
|
| 566 |
+
|
| 567 |
+
def generate(self, *args, **kwargs) -> torch.LongTensor:
|
| 568 |
+
# This model is expected to have a lora adapter, which is only
|
| 569 |
+
# enabled when considering audio inputs. As such, we override generate
|
| 570 |
+
# to conditionally enable / disable the lora adapter based on whether
|
| 571 |
+
# or not any input features were provided.
|
| 572 |
+
|
| 573 |
+
input_features = kwargs.pop("input_features", None)
|
| 574 |
+
if is_peft_available and self._hf_peft_config_loaded:
|
| 575 |
+
if input_features is not None:
|
| 576 |
+
self.enable_adapters()
|
| 577 |
+
else:
|
| 578 |
+
self.disable_adapters()
|
| 579 |
+
return super().generate(*args, input_features=input_features, **kwargs)
|
| 580 |
+
|
| 581 |
+
def save_pretrained(self, save_directory, *args, **kwargs):
|
| 582 |
+
# overwrite save_pretrained to first save the adapter if we have one
|
| 583 |
+
if is_peft_available and self._hf_peft_config_loaded:
|
| 584 |
+
adapter_name = self._get_adapter_name()
|
| 585 |
+
self.peft_config[adapter_name].base_model_name_or_path = save_directory
|
| 586 |
+
super().save_pretrained(save_directory, *args, **kwargs)
|
| 587 |
+
# Then save the base model afterwards
|
| 588 |
+
prev_val = self._hf_peft_config_loaded
|
| 589 |
+
self._hf_peft_config_loaded = False
|
| 590 |
+
super().save_pretrained(save_directory, *args, **kwargs)
|
| 591 |
+
self._hf_peft_config_loaded = prev_val
|
| 592 |
+
|
| 593 |
+
def _get_adapter_name(self):
|
| 594 |
+
return list(self.peft_config.keys())[0]
|
| 595 |
+
|
| 596 |
+
|
| 597 |
+
__all__ = [
|
| 598 |
+
"GraniteSpeechCTCEncoder",
|
| 599 |
+
"GraniteSpeechForConditionalGeneration",
|
| 600 |
+
"GraniteSpeechPreTrainedModel",
|
| 601 |
+
]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/granite_speech/processing_granite_speech.py
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2025 The HuggingFace Inc. team.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""Processor class for Granite Speech."""
|
| 15 |
+
|
| 16 |
+
from typing import Union
|
| 17 |
+
|
| 18 |
+
from ...feature_extraction_utils import BatchFeature
|
| 19 |
+
from ...processing_utils import ProcessorMixin
|
| 20 |
+
from ...tokenization_python import PreTokenizedInput, TextInput
|
| 21 |
+
from ...utils import auto_docstring, is_torch_available, logging
|
| 22 |
+
from ...utils.import_utils import requires_backends
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
if is_torch_available():
|
| 26 |
+
import torch
|
| 27 |
+
|
| 28 |
+
logger = logging.get_logger(__name__)
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
@auto_docstring
|
| 32 |
+
class GraniteSpeechProcessor(ProcessorMixin):
|
| 33 |
+
def __init__(
|
| 34 |
+
self,
|
| 35 |
+
audio_processor,
|
| 36 |
+
tokenizer,
|
| 37 |
+
audio_token="<|audio|>",
|
| 38 |
+
chat_template=None,
|
| 39 |
+
):
|
| 40 |
+
r"""
|
| 41 |
+
audio_token (`str`, *optional*, defaults to `"<|audio|>"`):
|
| 42 |
+
The special token used to represent audio in the text sequence. This token serves as a placeholder
|
| 43 |
+
that will be replaced with multiple audio tokens based on the actual audio length. The number of
|
| 44 |
+
audio tokens inserted depends on the audio feature dimensions extracted by the audio processor.
|
| 45 |
+
"""
|
| 46 |
+
self.audio_token = tokenizer.audio_token if hasattr(tokenizer, "audio_token") else audio_token
|
| 47 |
+
super().__init__(audio_processor, tokenizer, chat_template=chat_template)
|
| 48 |
+
|
| 49 |
+
@auto_docstring
|
| 50 |
+
def __call__(
|
| 51 |
+
self,
|
| 52 |
+
text: TextInput | PreTokenizedInput | list[TextInput] | list[PreTokenizedInput],
|
| 53 |
+
audio: Union["torch.Tensor", list["torch.Tensor"]] = None,
|
| 54 |
+
device: str = "cpu",
|
| 55 |
+
**kwargs,
|
| 56 |
+
) -> BatchFeature:
|
| 57 |
+
requires_backends(self, ["torch"])
|
| 58 |
+
|
| 59 |
+
text = self._get_validated_text(text)
|
| 60 |
+
prompt_strings = text
|
| 61 |
+
|
| 62 |
+
if audio is not None:
|
| 63 |
+
# NOTE - we intentionally avoid throwing for potentially misaligned
|
| 64 |
+
# text / audio inputs here because some inference engines will
|
| 65 |
+
# trigger the conditions due to the way they call multimodal
|
| 66 |
+
# processors, e.g., vLLM.
|
| 67 |
+
audio_inputs = self.audio_processor(audio, device=device)
|
| 68 |
+
|
| 69 |
+
# TODO (@alex-jw-brooks); we should add a util to get_num_audio_tokens
|
| 70 |
+
# from feature lengths and call it here, rather than returning it
|
| 71 |
+
# from the feature extractor.
|
| 72 |
+
audio_embed_sizes = audio_inputs.pop("audio_embed_sizes")
|
| 73 |
+
|
| 74 |
+
# Expand the audio placeholders to match the feature dims; this
|
| 75 |
+
# is similar to how many VLMs handle image tokens, e.g., llava next
|
| 76 |
+
prompt_strings = []
|
| 77 |
+
num_replaced = 0
|
| 78 |
+
for sample in text:
|
| 79 |
+
while self.audio_token in sample:
|
| 80 |
+
sample = sample.replace(
|
| 81 |
+
self.audio_token,
|
| 82 |
+
"<placeholder>" * audio_embed_sizes[num_replaced],
|
| 83 |
+
1,
|
| 84 |
+
)
|
| 85 |
+
num_replaced += 1
|
| 86 |
+
prompt_strings.append(sample)
|
| 87 |
+
|
| 88 |
+
prompt_strings = [sample.replace("<placeholder>", self.audio_token) for sample in prompt_strings]
|
| 89 |
+
else:
|
| 90 |
+
audio_inputs = {}
|
| 91 |
+
|
| 92 |
+
if "padding" not in kwargs:
|
| 93 |
+
kwargs["padding"] = True
|
| 94 |
+
text_inputs = self.tokenizer(prompt_strings, **kwargs)
|
| 95 |
+
return BatchFeature(data={**text_inputs, **audio_inputs})
|
| 96 |
+
|
| 97 |
+
def _get_validated_text(self, text: str | list) -> list[str]:
|
| 98 |
+
if isinstance(text, str):
|
| 99 |
+
return [text]
|
| 100 |
+
elif isinstance(text, list) and isinstance(text[0], str):
|
| 101 |
+
return text
|
| 102 |
+
raise TypeError("Invalid text provided! Text should be a string or list of strings.")
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
__all__ = ["GraniteSpeechProcessor"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/hyperclovax/modular_hyperclovax.py
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2026 NAVER CLOUD Corp. and The HuggingFace Inc. team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""HyperCLOVAX modular model definition."""
|
| 15 |
+
|
| 16 |
+
import torch
|
| 17 |
+
import torch.nn as nn
|
| 18 |
+
from huggingface_hub.dataclasses import strict
|
| 19 |
+
|
| 20 |
+
from ...cache_utils import Cache
|
| 21 |
+
from ...modeling_outputs import CausalLMOutputWithPast
|
| 22 |
+
from ...processing_utils import Unpack
|
| 23 |
+
from ...utils import TransformersKwargs, auto_docstring, can_return_tuple
|
| 24 |
+
from ..granite.configuration_granite import GraniteConfig
|
| 25 |
+
from ..granite.modeling_granite import (
|
| 26 |
+
GraniteAttention,
|
| 27 |
+
GraniteDecoderLayer,
|
| 28 |
+
GraniteForCausalLM,
|
| 29 |
+
GraniteModel,
|
| 30 |
+
GranitePreTrainedModel,
|
| 31 |
+
GraniteRMSNorm,
|
| 32 |
+
GraniteRotaryEmbedding,
|
| 33 |
+
)
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
@auto_docstring(checkpoint="naver-hyperclovax/HyperCLOVAX-SEED-Think-14B")
|
| 37 |
+
@strict
|
| 38 |
+
class HyperCLOVAXConfig(GraniteConfig):
|
| 39 |
+
r"""
|
| 40 |
+
embedding_multiplier (`float`, *optional*, defaults to `1.0`):
|
| 41 |
+
Scaling factor applied to the token embedding outputs. Used in MuP to control the
|
| 42 |
+
scale of the embedding activations.
|
| 43 |
+
logits_scaling (`float`, *optional*, defaults to `1.0`):
|
| 44 |
+
Scaling factor **multiplied** to the final logits before loss computation or sampling.
|
| 45 |
+
Used in MuP to ensure consistent output scale across model sizes. Note: unlike
|
| 46 |
+
[`GraniteConfig`], this is a multiplier, not a divisor.
|
| 47 |
+
residual_multiplier (`float`, *optional*, defaults to `1.0`):
|
| 48 |
+
Scaling factor applied to each sub-layer output before adding to the residual stream.
|
| 49 |
+
Used in Maximal Update Parametrization (MuP) to stabilize training across model sizes.
|
| 50 |
+
attention_multiplier (`float`, *optional*, defaults to `head_dim ** -0.5`):
|
| 51 |
+
Scaling factor applied to attention logits before softmax, replacing the standard
|
| 52 |
+
`1 / sqrt(head_dim)` scaling. Set explicitly for MuP-based training; when `None`,
|
| 53 |
+
defaults to the standard value.
|
| 54 |
+
use_post_norm (`bool`, *optional*, defaults to `True`):
|
| 55 |
+
Whether to apply an extra RMSNorm after each sub-layer output (Peri-Layer Normalization).
|
| 56 |
+
|
| 57 |
+
```python
|
| 58 |
+
>>> from transformers import HyperCLOVAXModel, HyperCLOVAXConfig
|
| 59 |
+
|
| 60 |
+
>>> # Initializing a HyperCLOVAX style configuration
|
| 61 |
+
>>> configuration = HyperCLOVAXConfig()
|
| 62 |
+
|
| 63 |
+
>>> # Initializing a model from the configuration
|
| 64 |
+
>>> model = HyperCLOVAXModel(configuration)
|
| 65 |
+
|
| 66 |
+
>>> # Accessing the model configuration
|
| 67 |
+
>>> configuration = model.config
|
| 68 |
+
```"""
|
| 69 |
+
|
| 70 |
+
model_type = "hyperclovax"
|
| 71 |
+
|
| 72 |
+
head_dim: int | None = None
|
| 73 |
+
|
| 74 |
+
# MuP scaling factors: None means "resolve to the mathematically equivalent default".
|
| 75 |
+
attention_multiplier: float | None = None
|
| 76 |
+
|
| 77 |
+
# Peri-Layer Normalization
|
| 78 |
+
use_post_norm: bool = True
|
| 79 |
+
|
| 80 |
+
def __post_init__(
|
| 81 |
+
self,
|
| 82 |
+
**kwargs,
|
| 83 |
+
):
|
| 84 |
+
if self.head_dim is None:
|
| 85 |
+
self.head_dim = self.hidden_size // self.num_attention_heads
|
| 86 |
+
|
| 87 |
+
super().__post_init__(**kwargs)
|
| 88 |
+
|
| 89 |
+
# Resolve None MuP values to their mathematically equivalent defaults.
|
| 90 |
+
if self.attention_multiplier is None:
|
| 91 |
+
self.attention_multiplier = self.head_dim**-0.5
|
| 92 |
+
|
| 93 |
+
def validate_architecture(self):
|
| 94 |
+
"""Validates that `hidden_size` is divisible by `num_attention_heads`."""
|
| 95 |
+
if self.hidden_size % self.num_attention_heads != 0:
|
| 96 |
+
raise ValueError(
|
| 97 |
+
f"The hidden size ({self.hidden_size}) is not a multiple of the number of attention "
|
| 98 |
+
f"heads ({self.num_attention_heads})."
|
| 99 |
+
)
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
class HyperCLOVAXRMSNorm(GraniteRMSNorm):
|
| 103 |
+
pass
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
class HyperCLOVAXRotaryEmbedding(GraniteRotaryEmbedding):
|
| 107 |
+
pass
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
class HyperCLOVAXAttention(GraniteAttention):
|
| 111 |
+
pass
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
class HyperCLOVAXDecoderLayer(GraniteDecoderLayer):
|
| 115 |
+
def __init__(self, config: HyperCLOVAXConfig, layer_idx: int):
|
| 116 |
+
super().__init__(config, layer_idx)
|
| 117 |
+
# Optional Peri-Layer Normalization: additional RMSNorm after each sub-layer output
|
| 118 |
+
self.post_norm1 = (
|
| 119 |
+
HyperCLOVAXRMSNorm(config.hidden_size, eps=config.rms_norm_eps) if config.use_post_norm else nn.Identity()
|
| 120 |
+
)
|
| 121 |
+
self.post_norm2 = (
|
| 122 |
+
HyperCLOVAXRMSNorm(config.hidden_size, eps=config.rms_norm_eps) if config.use_post_norm else nn.Identity()
|
| 123 |
+
)
|
| 124 |
+
|
| 125 |
+
def forward(
|
| 126 |
+
self,
|
| 127 |
+
hidden_states: torch.Tensor,
|
| 128 |
+
attention_mask: torch.Tensor | None = None,
|
| 129 |
+
position_ids: torch.LongTensor | None = None,
|
| 130 |
+
past_key_values: Cache | None = None,
|
| 131 |
+
use_cache: bool | None = False,
|
| 132 |
+
position_embeddings: tuple[torch.Tensor, torch.Tensor] | None = None,
|
| 133 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 134 |
+
) -> torch.Tensor:
|
| 135 |
+
residual = hidden_states
|
| 136 |
+
hidden_states = self.input_layernorm(hidden_states)
|
| 137 |
+
# Self Attention
|
| 138 |
+
hidden_states, _ = self.self_attn(
|
| 139 |
+
hidden_states=hidden_states,
|
| 140 |
+
attention_mask=attention_mask,
|
| 141 |
+
position_ids=position_ids,
|
| 142 |
+
past_key_values=past_key_values,
|
| 143 |
+
use_cache=use_cache,
|
| 144 |
+
position_embeddings=position_embeddings,
|
| 145 |
+
**kwargs,
|
| 146 |
+
)
|
| 147 |
+
hidden_states = self.post_norm1(hidden_states)
|
| 148 |
+
hidden_states = residual + hidden_states * self.residual_multiplier
|
| 149 |
+
|
| 150 |
+
# Fully Connected
|
| 151 |
+
residual = hidden_states
|
| 152 |
+
hidden_states = self.post_attention_layernorm(hidden_states)
|
| 153 |
+
hidden_states = self.mlp(hidden_states)
|
| 154 |
+
hidden_states = self.post_norm2(hidden_states)
|
| 155 |
+
hidden_states = residual + hidden_states * self.residual_multiplier
|
| 156 |
+
return hidden_states
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
@auto_docstring
|
| 160 |
+
class HyperCLOVAXPreTrainedModel(GranitePreTrainedModel):
|
| 161 |
+
pass
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
@auto_docstring
|
| 165 |
+
class HyperCLOVAXModel(GraniteModel):
|
| 166 |
+
pass
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
@auto_docstring
|
| 170 |
+
class HyperCLOVAXForCausalLM(GraniteForCausalLM):
|
| 171 |
+
@can_return_tuple
|
| 172 |
+
@auto_docstring
|
| 173 |
+
def forward(
|
| 174 |
+
self,
|
| 175 |
+
input_ids: torch.LongTensor | None = None,
|
| 176 |
+
attention_mask: torch.Tensor | None = None,
|
| 177 |
+
position_ids: torch.LongTensor | None = None,
|
| 178 |
+
past_key_values: Cache | None = None,
|
| 179 |
+
inputs_embeds: torch.FloatTensor | None = None,
|
| 180 |
+
labels: torch.LongTensor | None = None,
|
| 181 |
+
use_cache: bool | None = None,
|
| 182 |
+
logits_to_keep: int | torch.Tensor = 0,
|
| 183 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 184 |
+
) -> CausalLMOutputWithPast:
|
| 185 |
+
r"""
|
| 186 |
+
Example:
|
| 187 |
+
|
| 188 |
+
```python
|
| 189 |
+
>>> from transformers import AutoTokenizer, HyperCLOVAXForCausalLM
|
| 190 |
+
|
| 191 |
+
>>> model = HyperCLOVAXForCausalLM.from_pretrained("naver-hyperclovax/HyperCLOVAX-SEED-Think-14B")
|
| 192 |
+
>>> tokenizer = AutoTokenizer.from_pretrained("naver-hyperclovax/HyperCLOVAX-SEED-Think-14B")
|
| 193 |
+
|
| 194 |
+
>>> prompt = "Hey, are you conscious? Can you talk to me?"
|
| 195 |
+
>>> inputs = tokenizer(prompt, return_tensors="pt")
|
| 196 |
+
|
| 197 |
+
>>> # Generate
|
| 198 |
+
>>> generate_ids = model.generate(inputs.input_ids, max_length=30)
|
| 199 |
+
>>> tokenizer.batch_decode(generate_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]
|
| 200 |
+
"Hey, are you conscious? Can you talk to me? Are you okay?" The man was confused and answered, "Yes." Then the woman asked.
|
| 201 |
+
```"""
|
| 202 |
+
outputs = self.model(
|
| 203 |
+
input_ids=input_ids,
|
| 204 |
+
attention_mask=attention_mask,
|
| 205 |
+
position_ids=position_ids,
|
| 206 |
+
past_key_values=past_key_values,
|
| 207 |
+
inputs_embeds=inputs_embeds,
|
| 208 |
+
use_cache=use_cache,
|
| 209 |
+
**kwargs,
|
| 210 |
+
)
|
| 211 |
+
|
| 212 |
+
hidden_states = outputs.last_hidden_state
|
| 213 |
+
slice_indices = slice(-logits_to_keep, None) if isinstance(logits_to_keep, int) else logits_to_keep
|
| 214 |
+
# MuP: multiply logits by logits_scaling (cf. GraniteForCausalLM which divides)
|
| 215 |
+
logits = self.lm_head(hidden_states[:, slice_indices, :]) * self.config.logits_scaling
|
| 216 |
+
|
| 217 |
+
loss = None
|
| 218 |
+
if labels is not None:
|
| 219 |
+
loss = self.loss_function(logits=logits, labels=labels, vocab_size=self.config.vocab_size, **kwargs)
|
| 220 |
+
|
| 221 |
+
return CausalLMOutputWithPast(
|
| 222 |
+
loss=loss,
|
| 223 |
+
logits=logits,
|
| 224 |
+
past_key_values=outputs.past_key_values,
|
| 225 |
+
hidden_states=outputs.hidden_states,
|
| 226 |
+
attentions=outputs.attentions,
|
| 227 |
+
)
|
| 228 |
+
|
| 229 |
+
|
| 230 |
+
__all__ = [
|
| 231 |
+
"HyperCLOVAXConfig",
|
| 232 |
+
"HyperCLOVAXPreTrainedModel",
|
| 233 |
+
"HyperCLOVAXModel",
|
| 234 |
+
"HyperCLOVAXForCausalLM",
|
| 235 |
+
]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/ibert/quant_modules.py
ADDED
|
@@ -0,0 +1,819 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2021 The I-BERT Authors (Sehoon Kim, Amir Gholami, Zhewei Yao,
|
| 2 |
+
# Michael Mahoney, Kurt Keutzer - UC Berkeley) and The HuggingFace Inc. team.
|
| 3 |
+
# Copyright (c) 20121, NVIDIA CORPORATION. All rights reserved.
|
| 4 |
+
#
|
| 5 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 6 |
+
# you may not use this file except in compliance with the License.
|
| 7 |
+
# You may obtain a copy of the License at
|
| 8 |
+
#
|
| 9 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 10 |
+
#
|
| 11 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 12 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 13 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 14 |
+
# See the License for the specific language governing permissions and
|
| 15 |
+
# limitations under the License.
|
| 16 |
+
|
| 17 |
+
import decimal
|
| 18 |
+
|
| 19 |
+
import numpy as np
|
| 20 |
+
import torch
|
| 21 |
+
from torch import nn
|
| 22 |
+
from torch.autograd import Function
|
| 23 |
+
|
| 24 |
+
from ...utils import logging
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
logger = logging.get_logger(__name__)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
class QuantEmbedding(nn.Module):
|
| 31 |
+
"""
|
| 32 |
+
Quantized version of `torch.nn.Embedding`. Adds quantization-specific arguments on top of `torch.nn.Embedding`.
|
| 33 |
+
|
| 34 |
+
Args:
|
| 35 |
+
weight_bit (`int`, *optional*, defaults to `8`):
|
| 36 |
+
Bitwidth for the quantized weight.
|
| 37 |
+
momentum (`float`, *optional*, defaults to `0.95`):
|
| 38 |
+
Momentum for updating the activation quantization range.
|
| 39 |
+
quant_mode (`bool`, *optional*, defaults to `False`):
|
| 40 |
+
Whether or not the layer is quantized.
|
| 41 |
+
"""
|
| 42 |
+
|
| 43 |
+
def __init__(
|
| 44 |
+
self,
|
| 45 |
+
num_embeddings,
|
| 46 |
+
embedding_dim,
|
| 47 |
+
padding_idx=None,
|
| 48 |
+
max_norm=None,
|
| 49 |
+
norm_type=2.0,
|
| 50 |
+
scale_grad_by_freq=False,
|
| 51 |
+
sparse=False,
|
| 52 |
+
_weight=None,
|
| 53 |
+
weight_bit=8,
|
| 54 |
+
momentum=0.95,
|
| 55 |
+
quant_mode=False,
|
| 56 |
+
):
|
| 57 |
+
super().__init__()
|
| 58 |
+
self.num_ = num_embeddings
|
| 59 |
+
self.dim = embedding_dim
|
| 60 |
+
self.padding_idx = padding_idx
|
| 61 |
+
self.max_norm = max_norm
|
| 62 |
+
self.norm_type = norm_type
|
| 63 |
+
self.scale_grad_by_freq = scale_grad_by_freq
|
| 64 |
+
self.sparse = sparse
|
| 65 |
+
|
| 66 |
+
self.weight = nn.Parameter(torch.zeros([num_embeddings, embedding_dim]))
|
| 67 |
+
self.register_buffer("weight_scaling_factor", torch.zeros(1))
|
| 68 |
+
self.register_buffer("weight_integer", torch.zeros_like(self.weight))
|
| 69 |
+
|
| 70 |
+
self.weight_bit = weight_bit
|
| 71 |
+
self.momentum = momentum
|
| 72 |
+
self.quant_mode = quant_mode
|
| 73 |
+
self.percentile_mode = False
|
| 74 |
+
self.weight_function = SymmetricQuantFunction.apply
|
| 75 |
+
|
| 76 |
+
def forward(self, x, positions=None, incremental_state=None):
|
| 77 |
+
if not self.quant_mode:
|
| 78 |
+
return (
|
| 79 |
+
nn.functional.embedding(
|
| 80 |
+
x,
|
| 81 |
+
self.weight,
|
| 82 |
+
self.padding_idx,
|
| 83 |
+
self.max_norm,
|
| 84 |
+
self.norm_type,
|
| 85 |
+
self.scale_grad_by_freq,
|
| 86 |
+
self.sparse,
|
| 87 |
+
),
|
| 88 |
+
None,
|
| 89 |
+
)
|
| 90 |
+
|
| 91 |
+
w = self.weight
|
| 92 |
+
w_transform = w.data.detach()
|
| 93 |
+
w_min = w_transform.min().expand(1)
|
| 94 |
+
w_max = w_transform.max().expand(1)
|
| 95 |
+
|
| 96 |
+
self.weight_scaling_factor = symmetric_linear_quantization_params(self.weight_bit, w_min, w_max, False)
|
| 97 |
+
self.weight_integer = self.weight_function(
|
| 98 |
+
self.weight, self.weight_bit, self.percentile_mode, self.weight_scaling_factor
|
| 99 |
+
)
|
| 100 |
+
|
| 101 |
+
emb_int = nn.functional.embedding(
|
| 102 |
+
x,
|
| 103 |
+
self.weight_integer,
|
| 104 |
+
self.padding_idx,
|
| 105 |
+
self.max_norm,
|
| 106 |
+
self.norm_type,
|
| 107 |
+
self.scale_grad_by_freq,
|
| 108 |
+
self.sparse,
|
| 109 |
+
)
|
| 110 |
+
return emb_int * self.weight_scaling_factor, self.weight_scaling_factor
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
class QuantAct(nn.Module):
|
| 114 |
+
"""
|
| 115 |
+
Quantizes the given activation.
|
| 116 |
+
|
| 117 |
+
Args:
|
| 118 |
+
activation_bit (`int`):
|
| 119 |
+
Bitwidth for the quantized activation.
|
| 120 |
+
act_range_momentum (`float`, *optional*, defaults to `0.95`):
|
| 121 |
+
Momentum for updating the activation quantization range.
|
| 122 |
+
per_channel (`bool`, *optional*, defaults to `False`):
|
| 123 |
+
Whether to or not use channel-wise quantization.
|
| 124 |
+
channel_len (`int`, *optional*):
|
| 125 |
+
Specify the channel length when set the *per_channel* True.
|
| 126 |
+
quant_mode (`bool`, *optional*, defaults to `False`):
|
| 127 |
+
Whether or not the layer is quantized.
|
| 128 |
+
"""
|
| 129 |
+
|
| 130 |
+
def __init__(self, activation_bit, act_range_momentum=0.95, per_channel=False, channel_len=None, quant_mode=False):
|
| 131 |
+
super().__init__()
|
| 132 |
+
|
| 133 |
+
self.activation_bit = activation_bit
|
| 134 |
+
self.act_range_momentum = act_range_momentum
|
| 135 |
+
self.quant_mode = quant_mode
|
| 136 |
+
self.per_channel = per_channel
|
| 137 |
+
self.percentile = False
|
| 138 |
+
self.act_function = SymmetricQuantFunction.apply
|
| 139 |
+
|
| 140 |
+
if not self.per_channel:
|
| 141 |
+
self.register_buffer("x_min", torch.zeros(1))
|
| 142 |
+
self.register_buffer("x_max", torch.zeros(1))
|
| 143 |
+
self.register_buffer("act_scaling_factor", torch.zeros(1))
|
| 144 |
+
self.x_min -= 1e-5
|
| 145 |
+
self.x_max += 1e-5
|
| 146 |
+
else:
|
| 147 |
+
raise NotImplementedError("per-channel mode is not currently supported for activation.")
|
| 148 |
+
|
| 149 |
+
def __repr__(self):
|
| 150 |
+
return (
|
| 151 |
+
f"{self.__class__.__name__}(activation_bit={self.activation_bit}, "
|
| 152 |
+
f"quant_mode: {self.quant_mode}, Act_min: {self.x_min.item():.2f}, "
|
| 153 |
+
f"Act_max: {self.x_max.item():.2f})"
|
| 154 |
+
)
|
| 155 |
+
|
| 156 |
+
def forward(
|
| 157 |
+
self,
|
| 158 |
+
x,
|
| 159 |
+
pre_act_scaling_factor=None,
|
| 160 |
+
identity=None,
|
| 161 |
+
identity_scaling_factor=None,
|
| 162 |
+
specified_min=None,
|
| 163 |
+
specified_max=None,
|
| 164 |
+
):
|
| 165 |
+
x_act = x if identity is None else identity + x
|
| 166 |
+
# collect running stats if training
|
| 167 |
+
if self.training:
|
| 168 |
+
assert not self.percentile, "percentile mode is not currently supported for activation."
|
| 169 |
+
assert not self.per_channel, "per-channel mode is not currently supported for activation."
|
| 170 |
+
x_min = x_act.data.min()
|
| 171 |
+
x_max = x_act.data.max()
|
| 172 |
+
|
| 173 |
+
assert x_max.isnan().sum() == 0 and x_min.isnan().sum() == 0, (
|
| 174 |
+
"NaN detected when computing min/max of the activation"
|
| 175 |
+
)
|
| 176 |
+
|
| 177 |
+
# Initialization
|
| 178 |
+
if self.x_min.min() > -1.1e-5 and self.x_max.max() < 1.1e-5:
|
| 179 |
+
self.x_min = self.x_min + x_min
|
| 180 |
+
self.x_max = self.x_max + x_max
|
| 181 |
+
|
| 182 |
+
# exponential moving average (EMA)
|
| 183 |
+
# use momentum to prevent the quantized values change greatly every iteration
|
| 184 |
+
elif self.act_range_momentum == -1:
|
| 185 |
+
self.x_min = torch.min(self.x_min, x_min)
|
| 186 |
+
self.x_max = torch.max(self.x_max, x_max)
|
| 187 |
+
else:
|
| 188 |
+
self.x_min = self.x_min * self.act_range_momentum + x_min * (1 - self.act_range_momentum)
|
| 189 |
+
self.x_max = self.x_max * self.act_range_momentum + x_max * (1 - self.act_range_momentum)
|
| 190 |
+
|
| 191 |
+
if not self.quant_mode:
|
| 192 |
+
return x_act, None
|
| 193 |
+
|
| 194 |
+
x_min = self.x_min if specified_min is None else specified_min
|
| 195 |
+
x_max = self.x_max if specified_max is None else specified_max
|
| 196 |
+
|
| 197 |
+
self.act_scaling_factor = symmetric_linear_quantization_params(
|
| 198 |
+
self.activation_bit, x_min, x_max, per_channel=self.per_channel
|
| 199 |
+
)
|
| 200 |
+
|
| 201 |
+
if pre_act_scaling_factor is None:
|
| 202 |
+
# this is for the input quantization
|
| 203 |
+
quant_act_int = self.act_function(x, self.activation_bit, self.percentile, self.act_scaling_factor)
|
| 204 |
+
else:
|
| 205 |
+
quant_act_int = FixedPointMul.apply(
|
| 206 |
+
x,
|
| 207 |
+
pre_act_scaling_factor,
|
| 208 |
+
self.activation_bit,
|
| 209 |
+
self.act_scaling_factor,
|
| 210 |
+
identity,
|
| 211 |
+
identity_scaling_factor,
|
| 212 |
+
)
|
| 213 |
+
|
| 214 |
+
correct_output_scale = self.act_scaling_factor.view(-1)
|
| 215 |
+
|
| 216 |
+
return quant_act_int * correct_output_scale, self.act_scaling_factor
|
| 217 |
+
|
| 218 |
+
|
| 219 |
+
class QuantLinear(nn.Module):
|
| 220 |
+
"""
|
| 221 |
+
Quantized version of `torch.nn.Linear`. Adds quantization-specific arguments on top of `torch.nn.Linear`.
|
| 222 |
+
|
| 223 |
+
Args:
|
| 224 |
+
weight_bit (`int`, *optional*, defaults to `8`):
|
| 225 |
+
Bitwidth for the quantized weight.
|
| 226 |
+
bias_bit (`int`, *optional*, defaults to `32`):
|
| 227 |
+
Bitwidth for the quantized bias.
|
| 228 |
+
per_channel (`bool`, *optional*, defaults to `False`):
|
| 229 |
+
Whether or not to use channel-wise quantization.
|
| 230 |
+
quant_mode (`bool`, *optional*, defaults to `False`):
|
| 231 |
+
Whether or not the layer is quantized.
|
| 232 |
+
"""
|
| 233 |
+
|
| 234 |
+
def __init__(
|
| 235 |
+
self, in_features, out_features, bias=True, weight_bit=8, bias_bit=32, per_channel=False, quant_mode=False
|
| 236 |
+
):
|
| 237 |
+
super().__init__()
|
| 238 |
+
self.in_features = in_features
|
| 239 |
+
self.out_features = out_features
|
| 240 |
+
|
| 241 |
+
self.weight = nn.Parameter(torch.zeros([out_features, in_features]))
|
| 242 |
+
self.register_buffer("weight_integer", torch.zeros_like(self.weight))
|
| 243 |
+
self.register_buffer("fc_scaling_factor", torch.zeros(self.out_features))
|
| 244 |
+
if bias:
|
| 245 |
+
self.bias = nn.Parameter(torch.zeros(out_features))
|
| 246 |
+
self.register_buffer("bias_integer", torch.zeros_like(self.bias))
|
| 247 |
+
|
| 248 |
+
self.weight_bit = weight_bit
|
| 249 |
+
self.quant_mode = quant_mode
|
| 250 |
+
self.per_channel = per_channel
|
| 251 |
+
self.bias_bit = bias_bit
|
| 252 |
+
self.quant_mode = quant_mode
|
| 253 |
+
self.percentile_mode = False
|
| 254 |
+
self.weight_function = SymmetricQuantFunction.apply
|
| 255 |
+
|
| 256 |
+
def __repr__(self):
|
| 257 |
+
s = super().__repr__()
|
| 258 |
+
s = f"({s} weight_bit={self.weight_bit}, quant_mode={self.quant_mode})"
|
| 259 |
+
return s
|
| 260 |
+
|
| 261 |
+
def forward(self, x, prev_act_scaling_factor=None):
|
| 262 |
+
if not self.quant_mode:
|
| 263 |
+
return nn.functional.linear(x, weight=self.weight, bias=self.bias), None
|
| 264 |
+
|
| 265 |
+
# assert that prev_act_scaling_factor is a scalar tensor
|
| 266 |
+
assert prev_act_scaling_factor is not None and prev_act_scaling_factor.shape == (1,), (
|
| 267 |
+
"Input activation to the QuantLinear layer should be globally (non-channel-wise) quantized. "
|
| 268 |
+
"Please add a QuantAct layer with `per_channel = True` before this QuantAct layer"
|
| 269 |
+
)
|
| 270 |
+
|
| 271 |
+
w = self.weight
|
| 272 |
+
w_transform = w.data.detach()
|
| 273 |
+
if self.per_channel:
|
| 274 |
+
w_min, _ = torch.min(w_transform, dim=1, out=None)
|
| 275 |
+
w_max, _ = torch.max(w_transform, dim=1, out=None)
|
| 276 |
+
else:
|
| 277 |
+
w_min = w_transform.min().expand(1)
|
| 278 |
+
w_max = w_transform.max().expand(1)
|
| 279 |
+
|
| 280 |
+
self.fc_scaling_factor = symmetric_linear_quantization_params(self.weight_bit, w_min, w_max, self.per_channel)
|
| 281 |
+
self.weight_integer = self.weight_function(
|
| 282 |
+
self.weight, self.weight_bit, self.percentile_mode, self.fc_scaling_factor
|
| 283 |
+
)
|
| 284 |
+
|
| 285 |
+
bias_scaling_factor = self.fc_scaling_factor * prev_act_scaling_factor
|
| 286 |
+
|
| 287 |
+
if self.bias is not None:
|
| 288 |
+
self.bias_integer = self.weight_function(self.bias, self.bias_bit, False, bias_scaling_factor)
|
| 289 |
+
|
| 290 |
+
prev_act_scaling_factor = prev_act_scaling_factor.view(1, -1)
|
| 291 |
+
x_int = x / prev_act_scaling_factor
|
| 292 |
+
|
| 293 |
+
return (
|
| 294 |
+
nn.functional.linear(x_int, weight=self.weight_integer, bias=self.bias_integer) * bias_scaling_factor,
|
| 295 |
+
bias_scaling_factor,
|
| 296 |
+
)
|
| 297 |
+
|
| 298 |
+
|
| 299 |
+
class IntGELU(nn.Module):
|
| 300 |
+
"""
|
| 301 |
+
Quantized version of `torch.nn.GELU`. Adds quantization-specific arguments on top of `torch.nn.GELU`.
|
| 302 |
+
|
| 303 |
+
Args:
|
| 304 |
+
quant_mode (`bool`, *optional*, defaults to `False`):
|
| 305 |
+
Whether or not the layer is quantized.
|
| 306 |
+
force_dequant (`str`, *optional*, defaults to `"none"`):
|
| 307 |
+
Force dequantize the layer if either "gelu" or "nonlinear" is given.
|
| 308 |
+
"""
|
| 309 |
+
|
| 310 |
+
def __init__(self, quant_mode=True, force_dequant="none"):
|
| 311 |
+
super().__init__()
|
| 312 |
+
self.quant_mode = quant_mode
|
| 313 |
+
|
| 314 |
+
if force_dequant in ["nonlinear", "gelu"]:
|
| 315 |
+
logger.info("Force dequantize gelu")
|
| 316 |
+
self.quant_mode = False
|
| 317 |
+
|
| 318 |
+
if not self.quant_mode:
|
| 319 |
+
self.activation_fn = nn.GELU()
|
| 320 |
+
|
| 321 |
+
self.k = 1.4142
|
| 322 |
+
self.const = 14 # dummy integer constant
|
| 323 |
+
self.coeff = [-0.2888, -1.769, 1] # a(x+b)**2 + c
|
| 324 |
+
self.coeff[2] /= self.coeff[0]
|
| 325 |
+
|
| 326 |
+
def int_erf(self, x_int, scaling_factor):
|
| 327 |
+
b_int = torch.floor(self.coeff[1] / scaling_factor)
|
| 328 |
+
c_int = torch.floor(self.coeff[2] / scaling_factor**2)
|
| 329 |
+
sign = torch.sign(x_int)
|
| 330 |
+
|
| 331 |
+
abs_int = torch.min(torch.abs(x_int), -b_int)
|
| 332 |
+
y_int = sign * ((abs_int + b_int) ** 2 + c_int)
|
| 333 |
+
scaling_factor = scaling_factor**2 * self.coeff[0]
|
| 334 |
+
|
| 335 |
+
# avoid overflow
|
| 336 |
+
y_int = floor_ste.apply(y_int / 2**self.const)
|
| 337 |
+
scaling_factor = scaling_factor * 2**self.const
|
| 338 |
+
|
| 339 |
+
return y_int, scaling_factor
|
| 340 |
+
|
| 341 |
+
def forward(self, x, scaling_factor=None):
|
| 342 |
+
if not self.quant_mode:
|
| 343 |
+
return self.activation_fn(x), None
|
| 344 |
+
|
| 345 |
+
x_int = x / scaling_factor
|
| 346 |
+
sigmoid_int, sigmoid_scaling_factor = self.int_erf(x_int, scaling_factor / self.k)
|
| 347 |
+
|
| 348 |
+
shift_int = 1.0 // sigmoid_scaling_factor
|
| 349 |
+
|
| 350 |
+
x_int = x_int * (sigmoid_int + shift_int)
|
| 351 |
+
scaling_factor = scaling_factor * sigmoid_scaling_factor / 2
|
| 352 |
+
|
| 353 |
+
return x_int * scaling_factor, scaling_factor
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
class IntSoftmax(nn.Module):
|
| 357 |
+
"""
|
| 358 |
+
Quantized version of `torch.nn.Softmax`. Adds quantization-specific arguments on top of `torch.nn.Softmax`.
|
| 359 |
+
|
| 360 |
+
Args:
|
| 361 |
+
output_bit (`int`):
|
| 362 |
+
Bitwidth for the layer output activation.
|
| 363 |
+
quant_mode (`bool`, *optional*, defaults to `False`):
|
| 364 |
+
Whether or not the layer is quantized.
|
| 365 |
+
force_dequant (`str`, *optional*, defaults to `"none"`):
|
| 366 |
+
Force dequantize the layer if either "softmax" or "nonlinear" is given.
|
| 367 |
+
"""
|
| 368 |
+
|
| 369 |
+
def __init__(self, output_bit, quant_mode=False, force_dequant="none"):
|
| 370 |
+
super().__init__()
|
| 371 |
+
self.output_bit = output_bit
|
| 372 |
+
self.max_bit = 32
|
| 373 |
+
self.quant_mode = quant_mode
|
| 374 |
+
|
| 375 |
+
if force_dequant in ["nonlinear", "softmax"]:
|
| 376 |
+
logger.info("Force dequantize softmax")
|
| 377 |
+
self.quant_mode = False
|
| 378 |
+
|
| 379 |
+
self.act = QuantAct(16, quant_mode=self.quant_mode)
|
| 380 |
+
self.x0 = -0.6931 # -ln2
|
| 381 |
+
self.const = 30 # dummy integer constant
|
| 382 |
+
self.coef = [0.35815147, 0.96963238, 1.0] # ax**2 + bx + c
|
| 383 |
+
self.coef[1] /= self.coef[0]
|
| 384 |
+
self.coef[2] /= self.coef[0]
|
| 385 |
+
|
| 386 |
+
def int_polynomial(self, x_int, scaling_factor):
|
| 387 |
+
with torch.no_grad():
|
| 388 |
+
b_int = torch.floor(self.coef[1] / scaling_factor)
|
| 389 |
+
c_int = torch.floor(self.coef[2] / scaling_factor**2)
|
| 390 |
+
z = (x_int + b_int) * x_int + c_int
|
| 391 |
+
scaling_factor = self.coef[0] * scaling_factor**2
|
| 392 |
+
return z, scaling_factor
|
| 393 |
+
|
| 394 |
+
def int_exp(self, x_int, scaling_factor):
|
| 395 |
+
with torch.no_grad():
|
| 396 |
+
x0_int = torch.floor(self.x0 / scaling_factor)
|
| 397 |
+
x_int = torch.max(x_int, self.const * x0_int)
|
| 398 |
+
|
| 399 |
+
q = floor_ste.apply(x_int / x0_int)
|
| 400 |
+
r = x_int - x0_int * q
|
| 401 |
+
exp_int, exp_scaling_factor = self.int_polynomial(r, scaling_factor)
|
| 402 |
+
exp_int = torch.clamp(floor_ste.apply(exp_int * 2 ** (self.const - q)), min=0)
|
| 403 |
+
scaling_factor = exp_scaling_factor / 2**self.const
|
| 404 |
+
return exp_int, scaling_factor
|
| 405 |
+
|
| 406 |
+
def forward(self, x, scaling_factor):
|
| 407 |
+
if not self.quant_mode:
|
| 408 |
+
return nn.functional.softmax(x, dim=-1), None
|
| 409 |
+
|
| 410 |
+
x_int = x / scaling_factor
|
| 411 |
+
|
| 412 |
+
x_int_max, _ = x_int.max(dim=-1, keepdim=True)
|
| 413 |
+
x_int = x_int - x_int_max
|
| 414 |
+
exp_int, exp_scaling_factor = self.int_exp(x_int, scaling_factor)
|
| 415 |
+
|
| 416 |
+
# Avoid overflow
|
| 417 |
+
exp, exp_scaling_factor = self.act(exp_int, exp_scaling_factor)
|
| 418 |
+
exp_int = exp / exp_scaling_factor
|
| 419 |
+
|
| 420 |
+
exp_int_sum = exp_int.sum(dim=-1, keepdim=True)
|
| 421 |
+
factor = floor_ste.apply(2**self.max_bit / exp_int_sum)
|
| 422 |
+
exp_int = floor_ste.apply(exp_int * factor / 2 ** (self.max_bit - self.output_bit))
|
| 423 |
+
scaling_factor = 1 / 2**self.output_bit
|
| 424 |
+
return exp_int * scaling_factor, scaling_factor
|
| 425 |
+
|
| 426 |
+
|
| 427 |
+
class IntLayerNorm(nn.Module):
|
| 428 |
+
"""
|
| 429 |
+
Quantized version of `torch.nn.LayerNorm`. Adds quantization-specific arguments on top of `torch.nn.LayerNorm`.
|
| 430 |
+
|
| 431 |
+
Args:
|
| 432 |
+
output_bit (`int`, *optional*, defaults to `8`):
|
| 433 |
+
Bitwidth for the layer output activation.
|
| 434 |
+
quant_mode (`bool`, *optional*, defaults to `False`):
|
| 435 |
+
Whether or not the layer is quantized.
|
| 436 |
+
force_dequant (`str`, *optional*, defaults to `"none"`):
|
| 437 |
+
Force dequantize the layer if either "layernorm" or "nonlinear" is given.
|
| 438 |
+
"""
|
| 439 |
+
|
| 440 |
+
def __init__(self, normalized_shape, eps, output_bit=8, quant_mode=False, force_dequant="none"):
|
| 441 |
+
super().__init__()
|
| 442 |
+
self.normalized_shape = normalized_shape
|
| 443 |
+
self.eps = eps
|
| 444 |
+
|
| 445 |
+
self.weight = nn.Parameter(torch.zeros(normalized_shape))
|
| 446 |
+
self.bias = nn.Parameter(torch.zeros(normalized_shape))
|
| 447 |
+
|
| 448 |
+
self.quant_mode = quant_mode
|
| 449 |
+
if force_dequant in ["nonlinear", "layernorm"]:
|
| 450 |
+
logger.info("Force dequantize layernorm")
|
| 451 |
+
self.quant_mode = False
|
| 452 |
+
|
| 453 |
+
self.register_buffer("shift", torch.zeros(1))
|
| 454 |
+
self.output_bit = output_bit
|
| 455 |
+
self.max_bit = 32
|
| 456 |
+
self.dim_sqrt = None
|
| 457 |
+
self.activation = QuantAct(self.output_bit, quant_mode=self.quant_mode)
|
| 458 |
+
|
| 459 |
+
def set_shift(self, y_int):
|
| 460 |
+
with torch.no_grad():
|
| 461 |
+
y_sq_int = y_int**2
|
| 462 |
+
var_int = torch.sum(y_sq_int, axis=2, keepdim=True)
|
| 463 |
+
shift = (torch.log2(torch.sqrt(var_int / 2**self.max_bit)).ceil()).max()
|
| 464 |
+
shift_old = self.shift
|
| 465 |
+
self.shift = torch.max(self.shift, shift)
|
| 466 |
+
logger.info(f"Dynamic shift adjustment: {int(shift_old)} -> {int(self.shift)}")
|
| 467 |
+
|
| 468 |
+
def overflow_fallback(self, y_int):
|
| 469 |
+
"""
|
| 470 |
+
This fallback function is called when overflow is detected during training time, and adjusts the `self.shift`
|
| 471 |
+
to avoid overflow in the subsequent runs.
|
| 472 |
+
"""
|
| 473 |
+
self.set_shift(y_int) # adjusts `self.shift`
|
| 474 |
+
y_int_shifted = floor_ste.apply(y_int / 2**self.shift)
|
| 475 |
+
y_sq_int = y_int_shifted**2
|
| 476 |
+
var_int = torch.sum(y_sq_int, axis=2, keepdim=True)
|
| 477 |
+
return var_int
|
| 478 |
+
|
| 479 |
+
def forward(self, x, scaling_factor=None):
|
| 480 |
+
if not self.quant_mode:
|
| 481 |
+
mean = x.mean(axis=2, keepdim=True)
|
| 482 |
+
y = x - mean
|
| 483 |
+
var = torch.mean(y**2, axis=2, keepdim=True)
|
| 484 |
+
x = y / torch.sqrt(self.eps + var)
|
| 485 |
+
x = x * self.weight + self.bias
|
| 486 |
+
return x, None
|
| 487 |
+
|
| 488 |
+
# compute sqrt of the feature dimension if it is the first run
|
| 489 |
+
if self.dim_sqrt is None:
|
| 490 |
+
n = torch.tensor(x.shape[2], dtype=torch.float)
|
| 491 |
+
self.dim_sqrt = torch.sqrt(n).to(x.device)
|
| 492 |
+
|
| 493 |
+
# Normalization: computes mean and variance(std)
|
| 494 |
+
x_int = x / scaling_factor
|
| 495 |
+
mean_int = round_ste.apply(x_int.mean(axis=2, keepdim=True))
|
| 496 |
+
y_int = x_int - mean_int
|
| 497 |
+
y_int_shifted = floor_ste.apply(y_int / 2**self.shift)
|
| 498 |
+
y_sq_int = y_int_shifted**2
|
| 499 |
+
var_int = torch.sum(y_sq_int, axis=2, keepdim=True)
|
| 500 |
+
|
| 501 |
+
# overflow handling in training time
|
| 502 |
+
if self.training:
|
| 503 |
+
# if overflow is detected
|
| 504 |
+
if var_int.max() >= 2**self.max_bit:
|
| 505 |
+
var_int = self.overflow_fallback(y_int)
|
| 506 |
+
assert var_int.max() < 2**self.max_bit + 0.1, (
|
| 507 |
+
"Error detected in overflow handling: "
|
| 508 |
+
"`var_int` exceeds `self.max_bit` (the maximum possible bit width)"
|
| 509 |
+
)
|
| 510 |
+
|
| 511 |
+
# To be replaced with integer-sqrt kernel that produces the same output
|
| 512 |
+
std_int = floor_ste.apply(torch.sqrt(var_int)) * 2**self.shift
|
| 513 |
+
factor = floor_ste.apply(2**31 / std_int)
|
| 514 |
+
y_int = floor_ste.apply(y_int * factor / 2)
|
| 515 |
+
scaling_factor = self.dim_sqrt / 2**30
|
| 516 |
+
|
| 517 |
+
# scaling and shifting
|
| 518 |
+
bias = self.bias.data.detach() / (self.weight.data.detach())
|
| 519 |
+
bias_int = floor_ste.apply(bias / scaling_factor)
|
| 520 |
+
|
| 521 |
+
y_int = y_int + bias_int
|
| 522 |
+
scaling_factor = scaling_factor * self.weight
|
| 523 |
+
x = y_int * scaling_factor
|
| 524 |
+
|
| 525 |
+
return x, scaling_factor
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
def get_percentile_min_max(input, lower_percentile, upper_percentile, output_tensor=False):
|
| 529 |
+
"""
|
| 530 |
+
Calculate the percentile max and min values in a given tensor
|
| 531 |
+
|
| 532 |
+
Args:
|
| 533 |
+
input (`torch.Tensor`):
|
| 534 |
+
The target tensor to calculate percentile max and min.
|
| 535 |
+
lower_percentile (`float`):
|
| 536 |
+
If 0.1, means we return the value of the smallest 0.1% value in the tensor as percentile min.
|
| 537 |
+
upper_percentile (`float`):
|
| 538 |
+
If 99.9, means we return the value of the largest 0.1% value in the tensor as percentile max.
|
| 539 |
+
output_tensor (`bool`, *optional*, defaults to `False`):
|
| 540 |
+
If True, this function returns tensors, otherwise it returns values.
|
| 541 |
+
|
| 542 |
+
Returns:
|
| 543 |
+
`Tuple(torch.Tensor, torch.Tensor)`: Percentile min and max value of *input*
|
| 544 |
+
"""
|
| 545 |
+
input_length = input.shape[0]
|
| 546 |
+
|
| 547 |
+
lower_index = round(input_length * (1 - lower_percentile * 0.01))
|
| 548 |
+
upper_index = round(input_length * upper_percentile * 0.01)
|
| 549 |
+
|
| 550 |
+
upper_bound = torch.kthvalue(input, k=upper_index).values
|
| 551 |
+
|
| 552 |
+
if lower_percentile == 0:
|
| 553 |
+
lower_bound = upper_bound * 0
|
| 554 |
+
# lower_index += 1
|
| 555 |
+
else:
|
| 556 |
+
lower_bound = -torch.kthvalue(-input, k=lower_index).values
|
| 557 |
+
|
| 558 |
+
if not output_tensor:
|
| 559 |
+
lower_bound = lower_bound.item()
|
| 560 |
+
upper_bound = upper_bound.item()
|
| 561 |
+
return lower_bound, upper_bound
|
| 562 |
+
|
| 563 |
+
|
| 564 |
+
def linear_quantize(input, scale, zero_point, inplace=False):
|
| 565 |
+
"""
|
| 566 |
+
Quantize single-precision input tensor to integers with the given scaling factor and zeropoint.
|
| 567 |
+
|
| 568 |
+
Args:
|
| 569 |
+
input (`torch.Tensor`):
|
| 570 |
+
Single-precision input tensor to be quantized.
|
| 571 |
+
scale (`torch.Tensor`):
|
| 572 |
+
Scaling factor for quantization.
|
| 573 |
+
zero_pint (`torch.Tensor`):
|
| 574 |
+
Shift for quantization.
|
| 575 |
+
inplace (`bool`, *optional*, defaults to `False`):
|
| 576 |
+
Whether to compute inplace or not.
|
| 577 |
+
|
| 578 |
+
Returns:
|
| 579 |
+
`torch.Tensor`: Linearly quantized value of *input* according to *scale* and *zero_point*.
|
| 580 |
+
"""
|
| 581 |
+
# reshape scale and zeropoint for convolutional weights and activation
|
| 582 |
+
if len(input.shape) == 4:
|
| 583 |
+
scale = scale.view(-1, 1, 1, 1)
|
| 584 |
+
zero_point = zero_point.view(-1, 1, 1, 1)
|
| 585 |
+
# reshape scale and zeropoint for linear weights
|
| 586 |
+
elif len(input.shape) == 2:
|
| 587 |
+
scale = scale.view(-1, 1)
|
| 588 |
+
zero_point = zero_point.view(-1, 1)
|
| 589 |
+
else:
|
| 590 |
+
scale = scale.view(-1)
|
| 591 |
+
zero_point = zero_point.view(-1)
|
| 592 |
+
# quantized = float / scale + zero_point
|
| 593 |
+
if inplace:
|
| 594 |
+
input.mul_(1.0 / scale).add_(zero_point).round_()
|
| 595 |
+
return input
|
| 596 |
+
return torch.round(1.0 / scale * input + zero_point)
|
| 597 |
+
|
| 598 |
+
|
| 599 |
+
def symmetric_linear_quantization_params(num_bits, saturation_min, saturation_max, per_channel=False):
|
| 600 |
+
"""
|
| 601 |
+
Compute the scaling factor with the given quantization range for symmetric quantization.
|
| 602 |
+
|
| 603 |
+
Args:
|
| 604 |
+
saturation_min (`torch.Tensor`):
|
| 605 |
+
Lower bound for quantization range.
|
| 606 |
+
saturation_max (`torch.Tensor`):
|
| 607 |
+
Upper bound for quantization range.
|
| 608 |
+
per_channel (`bool`, *optional*, defaults to `False`):
|
| 609 |
+
Whether to or not use channel-wise quantization.
|
| 610 |
+
|
| 611 |
+
Returns:
|
| 612 |
+
`torch.Tensor`: Scaling factor that linearly quantizes the given range between *saturation_min* and
|
| 613 |
+
*saturation_max*.
|
| 614 |
+
"""
|
| 615 |
+
# in this part, we do not need any gradient computation,
|
| 616 |
+
# in order to enforce this, we put torch.no_grad()
|
| 617 |
+
with torch.no_grad():
|
| 618 |
+
n = 2 ** (num_bits - 1) - 1
|
| 619 |
+
|
| 620 |
+
if per_channel:
|
| 621 |
+
scale, _ = torch.max(torch.stack([saturation_min.abs(), saturation_max.abs()], dim=1), dim=1)
|
| 622 |
+
scale = torch.clamp(scale, min=1e-8) / n
|
| 623 |
+
|
| 624 |
+
else:
|
| 625 |
+
scale = max(saturation_min.abs(), saturation_max.abs())
|
| 626 |
+
scale = torch.clamp(scale, min=1e-8) / n
|
| 627 |
+
|
| 628 |
+
return scale
|
| 629 |
+
|
| 630 |
+
|
| 631 |
+
class SymmetricQuantFunction(Function):
|
| 632 |
+
"""
|
| 633 |
+
Class to quantize the given floating-point values using symmetric quantization with given range and bitwidth.
|
| 634 |
+
"""
|
| 635 |
+
|
| 636 |
+
@staticmethod
|
| 637 |
+
def forward(ctx, x, k, percentile_mode, scale):
|
| 638 |
+
"""
|
| 639 |
+
Args:
|
| 640 |
+
x (`torch.Tensor`):
|
| 641 |
+
Floating point tensor to be quantized.
|
| 642 |
+
k (`int`):
|
| 643 |
+
Quantization bitwidth.
|
| 644 |
+
percentile_mode (`bool`):
|
| 645 |
+
Whether or not to use percentile calibration.
|
| 646 |
+
scale (`torch.Tensor`):
|
| 647 |
+
Pre-calculated scaling factor for *x*. Note that the current implementation of SymmetricQuantFunction
|
| 648 |
+
requires pre-calculated scaling factor.
|
| 649 |
+
|
| 650 |
+
Returns:
|
| 651 |
+
`torch.Tensor`: Symmetric-quantized value of *input*.
|
| 652 |
+
"""
|
| 653 |
+
zero_point = torch.tensor(0.0, device=scale.device)
|
| 654 |
+
|
| 655 |
+
n = 2 ** (k - 1) - 1
|
| 656 |
+
new_quant_x = linear_quantize(x, scale, zero_point, inplace=False)
|
| 657 |
+
new_quant_x = torch.clamp(new_quant_x, -n, n - 1)
|
| 658 |
+
|
| 659 |
+
ctx.scale = scale
|
| 660 |
+
return new_quant_x
|
| 661 |
+
|
| 662 |
+
@staticmethod
|
| 663 |
+
def backward(ctx, grad_output):
|
| 664 |
+
scale = ctx.scale
|
| 665 |
+
if len(grad_output.shape) == 4:
|
| 666 |
+
scale = scale.view(-1, 1, 1, 1)
|
| 667 |
+
# reshape scale and zeropoint for linear weights
|
| 668 |
+
elif len(grad_output.shape) == 2:
|
| 669 |
+
scale = scale.view(-1, 1)
|
| 670 |
+
else:
|
| 671 |
+
scale = scale.view(-1)
|
| 672 |
+
|
| 673 |
+
return grad_output.clone() / scale, None, None, None, None
|
| 674 |
+
|
| 675 |
+
|
| 676 |
+
class floor_ste(Function):
|
| 677 |
+
"""
|
| 678 |
+
Straight-through Estimator(STE) for torch.floor()
|
| 679 |
+
"""
|
| 680 |
+
|
| 681 |
+
@staticmethod
|
| 682 |
+
def forward(ctx, x):
|
| 683 |
+
return torch.floor(x)
|
| 684 |
+
|
| 685 |
+
@staticmethod
|
| 686 |
+
def backward(ctx, grad_output):
|
| 687 |
+
return grad_output.clone()
|
| 688 |
+
|
| 689 |
+
|
| 690 |
+
class round_ste(Function):
|
| 691 |
+
"""
|
| 692 |
+
Straight-through Estimator(STE) for torch.round()
|
| 693 |
+
"""
|
| 694 |
+
|
| 695 |
+
@staticmethod
|
| 696 |
+
def forward(ctx, x):
|
| 697 |
+
return torch.round(x)
|
| 698 |
+
|
| 699 |
+
@staticmethod
|
| 700 |
+
def backward(ctx, grad_output):
|
| 701 |
+
return grad_output.clone()
|
| 702 |
+
|
| 703 |
+
|
| 704 |
+
def batch_frexp(inputs, max_bit=31):
|
| 705 |
+
"""
|
| 706 |
+
Decompose the scaling factor into mantissa and twos exponent.
|
| 707 |
+
|
| 708 |
+
Args:
|
| 709 |
+
scaling_factor (`torch.Tensor`):
|
| 710 |
+
Target scaling factor to decompose.
|
| 711 |
+
|
| 712 |
+
Returns:
|
| 713 |
+
``Tuple(torch.Tensor, torch.Tensor)`: mantisa and exponent
|
| 714 |
+
"""
|
| 715 |
+
|
| 716 |
+
shape_of_input = inputs.size()
|
| 717 |
+
|
| 718 |
+
# trans the input to be a 1-d tensor
|
| 719 |
+
inputs = inputs.view(-1)
|
| 720 |
+
|
| 721 |
+
output_m, output_e = np.frexp(inputs.cpu().numpy())
|
| 722 |
+
tmp_m = []
|
| 723 |
+
for m in output_m:
|
| 724 |
+
int_m_shifted = int(
|
| 725 |
+
decimal.Decimal(m * (2**max_bit)).quantize(decimal.Decimal(1), rounding=decimal.ROUND_HALF_UP)
|
| 726 |
+
)
|
| 727 |
+
tmp_m.append(int_m_shifted)
|
| 728 |
+
output_m = np.array(tmp_m)
|
| 729 |
+
|
| 730 |
+
output_e = float(max_bit) - output_e
|
| 731 |
+
|
| 732 |
+
return (
|
| 733 |
+
torch.from_numpy(output_m).to(inputs.device).view(shape_of_input),
|
| 734 |
+
torch.from_numpy(output_e).to(inputs.device).view(shape_of_input),
|
| 735 |
+
)
|
| 736 |
+
|
| 737 |
+
|
| 738 |
+
class FixedPointMul(Function):
|
| 739 |
+
"""
|
| 740 |
+
Function to perform fixed-point arithmetic that can match integer arithmetic on hardware.
|
| 741 |
+
|
| 742 |
+
Args:
|
| 743 |
+
pre_act (`torch.Tensor`):
|
| 744 |
+
Input tensor.
|
| 745 |
+
pre_act_scaling_factor (`torch.Tensor`):
|
| 746 |
+
Scaling factor of the input tensor *pre_act*.
|
| 747 |
+
bit_num (`int`):
|
| 748 |
+
Quantization bitwidth.
|
| 749 |
+
z_scaling_factor (`torch.Tensor`):
|
| 750 |
+
Scaling factor of the output tensor.
|
| 751 |
+
identity (`torch.Tensor`, *optional*):
|
| 752 |
+
Identity tensor, if exists.
|
| 753 |
+
identity_scaling_factor (`torch.Tensor`, *optional*):
|
| 754 |
+
Scaling factor of the identity tensor *identity*, if exists.
|
| 755 |
+
|
| 756 |
+
Returns:
|
| 757 |
+
`torch.Tensor`: Output tensor(*pre_act* if *identity* is not given, otherwise the addition of *pre_act* and
|
| 758 |
+
*identity*), whose scale is rescaled to *z_scaling_factor*.
|
| 759 |
+
"""
|
| 760 |
+
|
| 761 |
+
@staticmethod
|
| 762 |
+
def forward(
|
| 763 |
+
ctx,
|
| 764 |
+
pre_act,
|
| 765 |
+
pre_act_scaling_factor,
|
| 766 |
+
bit_num,
|
| 767 |
+
z_scaling_factor,
|
| 768 |
+
identity=None,
|
| 769 |
+
identity_scaling_factor=None,
|
| 770 |
+
):
|
| 771 |
+
if len(pre_act_scaling_factor.shape) == 3:
|
| 772 |
+
reshape = lambda x: x # noqa: E731
|
| 773 |
+
else:
|
| 774 |
+
reshape = lambda x: x.view(1, 1, -1) # noqa: E731
|
| 775 |
+
ctx.identity = identity
|
| 776 |
+
|
| 777 |
+
n = 2 ** (bit_num - 1) - 1
|
| 778 |
+
|
| 779 |
+
with torch.no_grad():
|
| 780 |
+
pre_act_scaling_factor = reshape(pre_act_scaling_factor)
|
| 781 |
+
if identity is not None:
|
| 782 |
+
identity_scaling_factor = reshape(identity_scaling_factor)
|
| 783 |
+
|
| 784 |
+
ctx.z_scaling_factor = z_scaling_factor
|
| 785 |
+
|
| 786 |
+
z_int = torch.round(pre_act / pre_act_scaling_factor)
|
| 787 |
+
_A = pre_act_scaling_factor.type(torch.double)
|
| 788 |
+
_B = (z_scaling_factor.type(torch.float)).type(torch.double)
|
| 789 |
+
new_scale = _A / _B
|
| 790 |
+
new_scale = reshape(new_scale)
|
| 791 |
+
|
| 792 |
+
m, e = batch_frexp(new_scale)
|
| 793 |
+
|
| 794 |
+
output = z_int.type(torch.double) * m.type(torch.double)
|
| 795 |
+
output = torch.round(output / (2.0**e))
|
| 796 |
+
|
| 797 |
+
if identity is not None:
|
| 798 |
+
# needs addition of identity activation
|
| 799 |
+
wx_int = torch.round(identity / identity_scaling_factor)
|
| 800 |
+
|
| 801 |
+
_A = identity_scaling_factor.type(torch.double)
|
| 802 |
+
_B = (z_scaling_factor.type(torch.float)).type(torch.double)
|
| 803 |
+
new_scale = _A / _B
|
| 804 |
+
new_scale = reshape(new_scale)
|
| 805 |
+
|
| 806 |
+
m1, e1 = batch_frexp(new_scale)
|
| 807 |
+
output1 = wx_int.type(torch.double) * m1.type(torch.double)
|
| 808 |
+
output1 = torch.round(output1 / (2.0**e1))
|
| 809 |
+
|
| 810 |
+
output = output1 + output
|
| 811 |
+
|
| 812 |
+
return torch.clamp(output.type(torch.float), -n - 1, n)
|
| 813 |
+
|
| 814 |
+
@staticmethod
|
| 815 |
+
def backward(ctx, grad_output):
|
| 816 |
+
identity_grad = None
|
| 817 |
+
if ctx.identity is not None:
|
| 818 |
+
identity_grad = grad_output.clone() / ctx.z_scaling_factor
|
| 819 |
+
return grad_output.clone() / ctx.z_scaling_factor, None, None, None, None, identity_grad, None
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/mobilevitv2/configuration_mobilevitv2.py
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""MobileViTV2 model configuration"""
|
| 15 |
+
|
| 16 |
+
from huggingface_hub.dataclasses import strict
|
| 17 |
+
|
| 18 |
+
from ...configuration_utils import PreTrainedConfig
|
| 19 |
+
from ...utils import auto_docstring
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
@auto_docstring(checkpoint="apple/mobilevitv2-1.0")
|
| 23 |
+
@strict
|
| 24 |
+
class MobileViTV2Config(PreTrainedConfig):
|
| 25 |
+
r"""
|
| 26 |
+
aspp_out_channels (`int`, *optional*, defaults to 512):
|
| 27 |
+
Number of output channels used in the ASPP layer for semantic segmentation.
|
| 28 |
+
atrous_rates (`list[int]`, *optional*, defaults to `[6, 12, 18]`):
|
| 29 |
+
Dilation (atrous) factors used in the ASPP layer for semantic segmentation.
|
| 30 |
+
aspp_dropout_prob (`float`, *optional*, defaults to 0.1):
|
| 31 |
+
The dropout ratio for the ASPP layer for semantic segmentation.
|
| 32 |
+
n_attn_blocks (`list[int]`, *optional*, defaults to `[2, 4, 3]`):
|
| 33 |
+
The number of attention blocks in each MobileViTV2Layer
|
| 34 |
+
base_attn_unit_dims (`list[int]`, *optional*, defaults to `[128, 192, 256]`):
|
| 35 |
+
The base multiplier for dimensions of attention blocks in each MobileViTV2Layer
|
| 36 |
+
width_multiplier (`float`, *optional*, defaults to 1.0):
|
| 37 |
+
The width multiplier for MobileViTV2.
|
| 38 |
+
ffn_multiplier (`int`, *optional*, defaults to 2):
|
| 39 |
+
The FFN multiplier for MobileViTV2.
|
| 40 |
+
ffn_dropout (`float`, *optional*, defaults to 0.0):
|
| 41 |
+
The dropout between FFN layers.
|
| 42 |
+
|
| 43 |
+
Example:
|
| 44 |
+
|
| 45 |
+
```python
|
| 46 |
+
>>> from transformers import MobileViTV2Config, MobileViTV2Model
|
| 47 |
+
|
| 48 |
+
>>> # Initializing a mobilevitv2-small style configuration
|
| 49 |
+
>>> configuration = MobileViTV2Config()
|
| 50 |
+
|
| 51 |
+
>>> # Initializing a model from the mobilevitv2-small style configuration
|
| 52 |
+
>>> model = MobileViTV2Model(configuration)
|
| 53 |
+
|
| 54 |
+
>>> # Accessing the model configuration
|
| 55 |
+
>>> configuration = model.config
|
| 56 |
+
```"""
|
| 57 |
+
|
| 58 |
+
model_type = "mobilevitv2"
|
| 59 |
+
|
| 60 |
+
num_channels: int = 3
|
| 61 |
+
image_size: int | list[int] | tuple[int, int] = 256
|
| 62 |
+
patch_size: int | list[int] | tuple[int, int] = 2
|
| 63 |
+
expand_ratio: float = 2.0
|
| 64 |
+
hidden_act: str = "swish"
|
| 65 |
+
conv_kernel_size: int = 3
|
| 66 |
+
output_stride: int = 32
|
| 67 |
+
classifier_dropout_prob: float | int = 0.1
|
| 68 |
+
initializer_range: float = 0.02
|
| 69 |
+
layer_norm_eps: float = 1e-5
|
| 70 |
+
aspp_out_channels: int = 512
|
| 71 |
+
atrous_rates: list[int] | tuple[int, ...] = (6, 12, 18)
|
| 72 |
+
aspp_dropout_prob: float | int = 0.1
|
| 73 |
+
semantic_loss_ignore_index: int = 255
|
| 74 |
+
n_attn_blocks: list[int] | tuple[int, ...] = (2, 4, 3)
|
| 75 |
+
base_attn_unit_dims: list[int] | tuple[int, ...] = (128, 192, 256)
|
| 76 |
+
width_multiplier: float | int = 1.0
|
| 77 |
+
ffn_multiplier: int = 2
|
| 78 |
+
attn_dropout: float | int = 0.0
|
| 79 |
+
ffn_dropout: float | int = 0.0
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
__all__ = ["MobileViTV2Config"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/musicgen_melody/configuration_musicgen_melody.py
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2024 Meta AI and The HuggingFace Inc. team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""Musicgen Melody model configuration"""
|
| 15 |
+
|
| 16 |
+
from huggingface_hub.dataclasses import strict
|
| 17 |
+
|
| 18 |
+
from ...configuration_utils import PreTrainedConfig
|
| 19 |
+
from ...utils import auto_docstring
|
| 20 |
+
from ..auto.configuration_auto import AutoConfig
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
@auto_docstring(checkpoint="facebook/musicgen-melody")
|
| 24 |
+
@strict
|
| 25 |
+
class MusicgenMelodyDecoderConfig(PreTrainedConfig):
|
| 26 |
+
r"""
|
| 27 |
+
audio_channels (`int`, *optional*, defaults to 1):
|
| 28 |
+
Number of audio channels used by the model (either mono or stereo). Stereo models generate a separate
|
| 29 |
+
audio stream for the left/right output channels. Mono models generate a single audio stream output.
|
| 30 |
+
"""
|
| 31 |
+
|
| 32 |
+
model_type = "musicgen_melody_decoder"
|
| 33 |
+
base_config_key = "decoder_config"
|
| 34 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 35 |
+
|
| 36 |
+
vocab_size: int = 2048
|
| 37 |
+
max_position_embeddings: int = 2048
|
| 38 |
+
num_hidden_layers: int = 24
|
| 39 |
+
ffn_dim: int = 4096
|
| 40 |
+
num_attention_heads: int = 16
|
| 41 |
+
layerdrop: float | int = 0.0
|
| 42 |
+
use_cache: bool = True
|
| 43 |
+
activation_function: str = "gelu"
|
| 44 |
+
hidden_size: int = 1024
|
| 45 |
+
dropout: float | int = 0.1
|
| 46 |
+
attention_dropout: float | int = 0.0
|
| 47 |
+
activation_dropout: float | int = 0.0
|
| 48 |
+
initializer_factor: float = 0.02
|
| 49 |
+
scale_embedding: bool = False
|
| 50 |
+
num_codebooks: int = 4
|
| 51 |
+
audio_channels: int = 1
|
| 52 |
+
pad_token_id: int | None = 2048
|
| 53 |
+
bos_token_id: int | None = 2048
|
| 54 |
+
eos_token_id: int | list[int] | None = None
|
| 55 |
+
tie_word_embeddings: bool = False
|
| 56 |
+
is_decoder: bool = False
|
| 57 |
+
add_cross_attention: bool = False
|
| 58 |
+
|
| 59 |
+
def validate_architecture(self):
|
| 60 |
+
"""Part of `@strict`-powered validation. Validates the architecture of the config."""
|
| 61 |
+
if self.audio_channels not in [1, 2]:
|
| 62 |
+
raise ValueError(f"Expected 1 (mono) or 2 (stereo) audio channels, got {self.audio_channels} channels.")
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
@auto_docstring(checkpoint="facebook/musicgen-melody")
|
| 66 |
+
@strict
|
| 67 |
+
class MusicgenMelodyConfig(PreTrainedConfig):
|
| 68 |
+
r"""
|
| 69 |
+
text_encoder (`Union[dict, `PretrainedConfig`]`):
|
| 70 |
+
An instance of a configuration object that defines the text encoder config.
|
| 71 |
+
audio_encoder (`Union[dict, `PretrainedConfig`]`):
|
| 72 |
+
An instance of a configuration object that defines the audio encoder config.
|
| 73 |
+
decoder (`Union[dict, `PretrainedConfig`]`):
|
| 74 |
+
An instance of a configuration object that defines the decoder config.
|
| 75 |
+
num_chroma (`int`, *optional*, defaults to 12):
|
| 76 |
+
Number of chroma bins to use.
|
| 77 |
+
chroma_length (`int`, *optional*, defaults to 235):
|
| 78 |
+
Maximum chroma duration if audio is used to condition the model. Corresponds to the maximum duration used during training.
|
| 79 |
+
|
| 80 |
+
Example:
|
| 81 |
+
|
| 82 |
+
```python
|
| 83 |
+
>>> from transformers import (
|
| 84 |
+
... MusicgenMelodyConfig,
|
| 85 |
+
... MusicgenMelodyDecoderConfig,
|
| 86 |
+
... T5Config,
|
| 87 |
+
... EncodecConfig,
|
| 88 |
+
... MusicgenMelodyForConditionalGeneration,
|
| 89 |
+
... )
|
| 90 |
+
|
| 91 |
+
>>> # Initializing text encoder, audio encoder, and decoder model configurations
|
| 92 |
+
>>> text_encoder_config = T5Config()
|
| 93 |
+
>>> audio_encoder_config = EncodecConfig()
|
| 94 |
+
>>> decoder_config = MusicgenMelodyDecoderConfig()
|
| 95 |
+
|
| 96 |
+
>>> configuration = MusicgenMelodyConfig(
|
| 97 |
+
... text_encoder=text_encoder_config, audio_encoder=audio_encoder_config, decoder=decoder_config
|
| 98 |
+
... )
|
| 99 |
+
|
| 100 |
+
>>> # Initializing a MusicgenMelodyForConditionalGeneration (with random weights) from the facebook/musicgen-melody style configuration
|
| 101 |
+
>>> model = MusicgenMelodyForConditionalGeneration(configuration)
|
| 102 |
+
|
| 103 |
+
>>> # Accessing the model configuration
|
| 104 |
+
>>> configuration = model.config
|
| 105 |
+
>>> config_text_encoder = model.config.text_encoder
|
| 106 |
+
>>> config_audio_encoder = model.config.audio_encoder
|
| 107 |
+
>>> config_decoder = model.config.decoder
|
| 108 |
+
|
| 109 |
+
>>> # Saving the model, including its configuration
|
| 110 |
+
>>> model.save_pretrained("musicgen_melody-model")
|
| 111 |
+
|
| 112 |
+
>>> # loading model and config from pretrained folder
|
| 113 |
+
>>> musicgen_melody_config = MusicgenMelodyConfig.from_pretrained("musicgen_melody-model")
|
| 114 |
+
>>> model = MusicgenMelodyForConditionalGeneration.from_pretrained("musicgen_melody-model", config=musicgen_melody_config)
|
| 115 |
+
```"""
|
| 116 |
+
|
| 117 |
+
model_type = "musicgen_melody"
|
| 118 |
+
sub_configs = {
|
| 119 |
+
"text_encoder": AutoConfig,
|
| 120 |
+
"audio_encoder": AutoConfig,
|
| 121 |
+
"decoder": MusicgenMelodyDecoderConfig,
|
| 122 |
+
}
|
| 123 |
+
has_no_defaults_at_init = True
|
| 124 |
+
|
| 125 |
+
text_encoder: dict | PreTrainedConfig = None
|
| 126 |
+
audio_encoder: dict | PreTrainedConfig = None
|
| 127 |
+
decoder: dict | PreTrainedConfig = None
|
| 128 |
+
num_chroma: int = 12
|
| 129 |
+
chroma_length: int = 235
|
| 130 |
+
initializer_factor: float = 0.02
|
| 131 |
+
|
| 132 |
+
def __post_init__(self, **kwargs):
|
| 133 |
+
if isinstance(self.text_encoder, dict):
|
| 134 |
+
text_encoder_model_type = self.text_encoder.pop("model_type")
|
| 135 |
+
self.text_encoder = AutoConfig.for_model(text_encoder_model_type, **self.text_encoder)
|
| 136 |
+
elif self.text_encoder is None:
|
| 137 |
+
raise ValueError(
|
| 138 |
+
f"A configuration of type {self.model_type} cannot be instantiated because text_encoder is not passed"
|
| 139 |
+
)
|
| 140 |
+
|
| 141 |
+
if isinstance(self.audio_encoder, dict):
|
| 142 |
+
audio_encoder_model_type = self.audio_encoder.pop("model_type")
|
| 143 |
+
self.audio_encoder = AutoConfig.for_model(audio_encoder_model_type, **self.audio_encoder)
|
| 144 |
+
elif self.audio_encoder is None:
|
| 145 |
+
raise ValueError(
|
| 146 |
+
f"A configuration of type {self.model_type} cannot be instantiated because audio_encoder is not passed"
|
| 147 |
+
)
|
| 148 |
+
|
| 149 |
+
if isinstance(self.decoder, dict):
|
| 150 |
+
self.decoder = MusicgenMelodyDecoderConfig(**self.decoder)
|
| 151 |
+
elif self.decoder is None:
|
| 152 |
+
self.decoder = MusicgenMelodyDecoderConfig()
|
| 153 |
+
|
| 154 |
+
self.is_encoder_decoder = True
|
| 155 |
+
super().__post_init__(**kwargs)
|
| 156 |
+
|
| 157 |
+
@property
|
| 158 |
+
# This is a property because you might want to change the codec model on the fly
|
| 159 |
+
def sampling_rate(self):
|
| 160 |
+
return self.audio_encoder.sampling_rate
|
| 161 |
+
|
| 162 |
+
|
| 163 |
+
__all__ = ["MusicgenMelodyConfig", "MusicgenMelodyDecoderConfig"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/musicgen_melody/processing_musicgen_melody.py
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2024 Meta AI and The HuggingFace Inc. team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""
|
| 15 |
+
Text/audio processor class for MusicGen Melody
|
| 16 |
+
"""
|
| 17 |
+
|
| 18 |
+
from typing import Any
|
| 19 |
+
|
| 20 |
+
import numpy as np
|
| 21 |
+
|
| 22 |
+
from ...processing_utils import ProcessorMixin
|
| 23 |
+
from ...utils import auto_docstring, to_numpy
|
| 24 |
+
from ...utils.import_utils import requires
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
@requires(backends=("torchaudio",))
|
| 28 |
+
@auto_docstring
|
| 29 |
+
class MusicgenMelodyProcessor(ProcessorMixin):
|
| 30 |
+
def __init__(self, feature_extractor, tokenizer):
|
| 31 |
+
super().__init__(feature_extractor, tokenizer)
|
| 32 |
+
|
| 33 |
+
# Copied from transformers.models.musicgen.processing_musicgen.MusicgenProcessor.get_decoder_prompt_ids
|
| 34 |
+
def get_decoder_prompt_ids(self, task=None, language=None, no_timestamps=True):
|
| 35 |
+
return self.tokenizer.get_decoder_prompt_ids(task=task, language=language, no_timestamps=no_timestamps)
|
| 36 |
+
|
| 37 |
+
@auto_docstring
|
| 38 |
+
def __call__(self, *args, **kwargs):
|
| 39 |
+
if len(args) > 0:
|
| 40 |
+
kwargs["audio"] = args[0]
|
| 41 |
+
return super().__call__(*args, **kwargs)
|
| 42 |
+
|
| 43 |
+
# Copied from transformers.models.musicgen.processing_musicgen.MusicgenProcessor.batch_decode with padding_mask->attention_mask
|
| 44 |
+
def batch_decode(self, *args, **kwargs):
|
| 45 |
+
"""
|
| 46 |
+
This method is used to decode either batches of audio outputs from the MusicGen model, or batches of token ids
|
| 47 |
+
from the tokenizer. In the case of decoding token ids, this method forwards all its arguments to T5Tokenizer's
|
| 48 |
+
[`~PreTrainedTokenizer.batch_decode`]. Please refer to the docstring of this method for more information.
|
| 49 |
+
"""
|
| 50 |
+
audio_values = kwargs.pop("audio", None)
|
| 51 |
+
attention_mask = kwargs.pop("attention_mask", None)
|
| 52 |
+
|
| 53 |
+
if len(args) > 0:
|
| 54 |
+
audio_values = args[0]
|
| 55 |
+
args = args[1:]
|
| 56 |
+
|
| 57 |
+
if audio_values is not None:
|
| 58 |
+
return self._decode_audio(audio_values, attention_mask=attention_mask)
|
| 59 |
+
else:
|
| 60 |
+
return self.tokenizer.batch_decode(*args, **kwargs)
|
| 61 |
+
|
| 62 |
+
# Copied from transformers.models.musicgen.processing_musicgen.MusicgenProcessor._decode_audio with padding_mask->attention_mask
|
| 63 |
+
def _decode_audio(self, audio_values, attention_mask: Any = None) -> list[np.ndarray]:
|
| 64 |
+
"""
|
| 65 |
+
This method strips any padding from the audio values to return a list of numpy audio arrays.
|
| 66 |
+
"""
|
| 67 |
+
audio_values = to_numpy(audio_values)
|
| 68 |
+
bsz, channels, seq_len = audio_values.shape
|
| 69 |
+
|
| 70 |
+
if attention_mask is None:
|
| 71 |
+
return list(audio_values)
|
| 72 |
+
|
| 73 |
+
attention_mask = to_numpy(attention_mask)
|
| 74 |
+
|
| 75 |
+
# match the sequence length of the padding mask to the generated audio arrays by padding with the **non-padding**
|
| 76 |
+
# token (so that the generated audio values are **not** treated as padded tokens)
|
| 77 |
+
difference = seq_len - attention_mask.shape[-1]
|
| 78 |
+
padding_value = 1 - self.feature_extractor.padding_value
|
| 79 |
+
attention_mask = np.pad(attention_mask, ((0, 0), (0, difference)), "constant", constant_values=padding_value)
|
| 80 |
+
|
| 81 |
+
audio_values = audio_values.tolist()
|
| 82 |
+
for i in range(bsz):
|
| 83 |
+
sliced_audio = np.asarray(audio_values[i])[
|
| 84 |
+
attention_mask[i][None, :] != self.feature_extractor.padding_value
|
| 85 |
+
]
|
| 86 |
+
audio_values[i] = sliced_audio.reshape(channels, -1)
|
| 87 |
+
|
| 88 |
+
return audio_values
|
| 89 |
+
|
| 90 |
+
def get_unconditional_inputs(self, num_samples=1, return_tensors="pt"):
|
| 91 |
+
"""
|
| 92 |
+
Helper function to get null inputs for unconditional generation, enabling the model to be used without the
|
| 93 |
+
feature extractor or tokenizer.
|
| 94 |
+
|
| 95 |
+
Args:
|
| 96 |
+
num_samples (int, *optional*):
|
| 97 |
+
Number of audio samples to unconditionally generate.
|
| 98 |
+
|
| 99 |
+
Example:
|
| 100 |
+
```python
|
| 101 |
+
>>> from transformers import MusicgenMelodyForConditionalGeneration, MusicgenMelodyProcessor
|
| 102 |
+
|
| 103 |
+
>>> model = MusicgenMelodyForConditionalGeneration.from_pretrained("facebook/musicgen-melody")
|
| 104 |
+
|
| 105 |
+
>>> # get the unconditional (or 'null') inputs for the model
|
| 106 |
+
>>> processor = MusicgenMelodyProcessor.from_pretrained("facebook/musicgen-melody")
|
| 107 |
+
>>> unconditional_inputs = processor.get_unconditional_inputs(num_samples=1)
|
| 108 |
+
|
| 109 |
+
>>> audio_samples = model.generate(**unconditional_inputs, max_new_tokens=256)
|
| 110 |
+
```"""
|
| 111 |
+
inputs = self.tokenizer([""] * num_samples, return_tensors=return_tensors, return_attention_mask=True)
|
| 112 |
+
inputs["attention_mask"][:] = 0
|
| 113 |
+
|
| 114 |
+
return inputs
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
__all__ = ["MusicgenMelodyProcessor"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/pp_ocrv5_mobile_det/__init__.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2026 The HuggingFace Team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
from typing import TYPE_CHECKING
|
| 15 |
+
|
| 16 |
+
from ...utils import _LazyModule
|
| 17 |
+
from ...utils.import_utils import define_import_structure
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
if TYPE_CHECKING:
|
| 21 |
+
from .configuration_pp_ocrv5_mobile_det import *
|
| 22 |
+
from .modeling_pp_ocrv5_mobile_det import *
|
| 23 |
+
else:
|
| 24 |
+
import sys
|
| 25 |
+
|
| 26 |
+
_file = globals()["__file__"]
|
| 27 |
+
sys.modules[__name__] = _LazyModule(__name__, _file, define_import_structure(_file), module_spec=__spec__)
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/pp_ocrv5_mobile_det/configuration_pp_ocrv5_mobile_det.py
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 2 |
+
# This file was automatically generated from src/transformers/models/pp_ocrv5_mobile_det/modular_pp_ocrv5_mobile_det.py.
|
| 3 |
+
# Do NOT edit this file manually as any edits will be overwritten by the generation of
|
| 4 |
+
# the file from the modular. If any change should be done, please apply the change to the
|
| 5 |
+
# modular_pp_ocrv5_mobile_det.py file directly. One of our CI enforces this.
|
| 6 |
+
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 7 |
+
# Copyright 2026 The PaddlePaddle Team and The HuggingFace Inc. team. All rights reserved.
|
| 8 |
+
#
|
| 9 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 10 |
+
# you may not use this file except in compliance with the License.
|
| 11 |
+
# You may obtain a copy of the License at
|
| 12 |
+
#
|
| 13 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 14 |
+
#
|
| 15 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 16 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 17 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
+
# See the License for the specific language governing permissions and
|
| 19 |
+
# limitations under the License.
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
from huggingface_hub.dataclasses import strict
|
| 23 |
+
|
| 24 |
+
from ...backbone_utils import consolidate_backbone_kwargs_to_config
|
| 25 |
+
from ...configuration_utils import PreTrainedConfig
|
| 26 |
+
from ...utils import auto_docstring
|
| 27 |
+
from ..auto import AutoConfig
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
@auto_docstring(checkpoint="PaddlePaddle/PP-OCRv5_mobile_det_safetensors")
|
| 31 |
+
@strict
|
| 32 |
+
class PPOCRV5MobileDetConfig(PreTrainedConfig):
|
| 33 |
+
r"""
|
| 34 |
+
reduction (`int`, *optional*, defaults to 4):
|
| 35 |
+
The reduction factor for feature channel dimensions, used to reduce the number of model parameters and
|
| 36 |
+
computational complexity while maintaining feature representability.
|
| 37 |
+
neck_out_channels (`int`, *optional*, defaults to 96):
|
| 38 |
+
The number of output channels from the neck network, which is responsible for feature fusion and
|
| 39 |
+
refinement before passing features to the head network.
|
| 40 |
+
interpolate_mode (`str`, *optional*, defaults to `"nearest"`):
|
| 41 |
+
The interpolation mode used for upsampling or downsampling feature maps in the neck network. Supported
|
| 42 |
+
modes include `"nearest"` (nearest neighbor interpolation) and `"bilinear"`.
|
| 43 |
+
kernel_list (`List[int]`, *optional*, defaults to `[3, 2, 2]`):
|
| 44 |
+
The list of kernel sizes for convolutional layers in the head network, used for multi-scale feature
|
| 45 |
+
extraction to detect text regions of different sizes.
|
| 46 |
+
layer_list_out_channels (`List[int]`, *optional*, defaults to `[12, 18, 42, 360]`):
|
| 47 |
+
The list of output channels for each backbone stage, used to configure the input channels of the RSE layers
|
| 48 |
+
in the neck network for multi-scale feature fusion.
|
| 49 |
+
"""
|
| 50 |
+
|
| 51 |
+
model_type = "pp_ocrv5_mobile_det"
|
| 52 |
+
sub_configs = {"backbone_config": AutoConfig}
|
| 53 |
+
|
| 54 |
+
backbone_config: dict | PreTrainedConfig | None = None
|
| 55 |
+
reduction: int = 4
|
| 56 |
+
neck_out_channels: int = 96
|
| 57 |
+
interpolate_mode: str = "nearest"
|
| 58 |
+
kernel_list: list[int] | tuple[int, ...] = (3, 2, 2)
|
| 59 |
+
layer_list_out_channels: list[int] | tuple[int, ...] = (12, 18, 42, 360)
|
| 60 |
+
|
| 61 |
+
def __post_init__(self, **kwargs):
|
| 62 |
+
self.backbone_config, kwargs = consolidate_backbone_kwargs_to_config(
|
| 63 |
+
backbone_config=self.backbone_config,
|
| 64 |
+
default_config_type="pp_lcnet_v3",
|
| 65 |
+
default_config_kwargs={
|
| 66 |
+
"scale": 0.75,
|
| 67 |
+
"out_features": ["stage2", "stage3", "stage4", "stage5"],
|
| 68 |
+
"out_indices": [2, 3, 4, 5],
|
| 69 |
+
"divisor": 16,
|
| 70 |
+
},
|
| 71 |
+
**kwargs,
|
| 72 |
+
)
|
| 73 |
+
super().__post_init__(**kwargs)
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
__all__ = ["PPOCRV5MobileDetConfig"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/infer_eval_hzj_c1tov_power2_target64_late_m_gamma_20260606_193437.log
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-06-06T19:34:38+00:00] ckpt=/e2e-data/evad-tech-vla/huangzhijian5/tmp/lta/20260604/owt_t5_elftokenized_full_len1024_C1_toV_power2_d768_l12_h12_gbs512_16gpu_50ep_lr3e4_elfopt_t5embed_unfixed_adaln_rope_noabspos_stateprobadd_selfcond_ce_fast_20260605_024231/step_103000.pt
|
| 2 |
+
[2026-06-06T19:34:38+00:00] vocab=32100 gpu=3 n=64 chunk_n=8
|
| 3 |
+
[2026-06-06T19:34:38+00:00] steps=64
|
| 4 |
+
[2026-06-06T19:34:38+00:00] m=-0.55 -0.50 -0.45
|
| 5 |
+
[2026-06-06T19:34:38+00:00] s=0.45 0.55 0.65
|
| 6 |
+
[2026-06-06T19:34:38+00:00] gamma=1.75 2.00 2.25 2.50
|
| 7 |
+
[2026-06-06T19:34:38+00:00] run steps=64 schedule=logit_normal gamma=1.75 m=-0.55 s=0.45 tag=hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45
|
| 8 |
+
checkpoint=/e2e-data/evad-tech-vla/huangzhijian5/tmp/lta/20260604/owt_t5_elftokenized_full_len1024_C1_toV_power2_d768_l12_h12_gbs512_16gpu_50ep_lr3e4_elfopt_t5embed_unfixed_adaln_rope_noabspos_stateprobadd_selfcond_ce_fast_20260605_024231/step_103000.pt
|
| 9 |
+
use_ema=0
|
| 10 |
+
step=103000
|
| 11 |
+
decode_steps=64
|
| 12 |
+
n=64 chunk_n=8 gpu=3
|
| 13 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606
|
| 14 |
+
[2026-06-06T19:34:38+00:00] infer step=103000 decode=64 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606/hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45_step103000_dgamma1p75_tschedlogit_normal_mn0p55_s0p45_sc1p0_decode64_n64
|
| 15 |
+
[2026-06-06T19:34:38+00:00] run decode=64 chunk=0 n=8 seed=123
|
| 16 |
+
[2026-06-06T19:34:48+00:00] done decode=64 chunk=0
|
| 17 |
+
[2026-06-06T19:34:48+00:00] run decode=64 chunk=1 n=8 seed=124
|
| 18 |
+
[2026-06-06T19:34:57+00:00] done decode=64 chunk=1
|
| 19 |
+
[2026-06-06T19:34:57+00:00] run decode=64 chunk=2 n=8 seed=125
|
| 20 |
+
[2026-06-06T19:35:07+00:00] done decode=64 chunk=2
|
| 21 |
+
[2026-06-06T19:35:07+00:00] run decode=64 chunk=3 n=8 seed=126
|
| 22 |
+
[2026-06-06T19:35:17+00:00] done decode=64 chunk=3
|
| 23 |
+
[2026-06-06T19:35:17+00:00] run decode=64 chunk=4 n=8 seed=127
|
| 24 |
+
[2026-06-06T19:35:27+00:00] done decode=64 chunk=4
|
| 25 |
+
[2026-06-06T19:35:27+00:00] run decode=64 chunk=5 n=8 seed=128
|
| 26 |
+
[2026-06-06T19:35:36+00:00] done decode=64 chunk=5
|
| 27 |
+
[2026-06-06T19:35:36+00:00] run decode=64 chunk=6 n=8 seed=129
|
| 28 |
+
[2026-06-06T19:35:46+00:00] done decode=64 chunk=6
|
| 29 |
+
[2026-06-06T19:35:46+00:00] run decode=64 chunk=7 n=8 seed=130
|
| 30 |
+
[2026-06-06T19:35:56+00:00] done decode=64 chunk=7
|
| 31 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606/hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45_step103000_dgamma1p75_tschedlogit_normal_mn0p55_s0p45_sc1p0_decode64_n64/sc1p0/samples64.txt
|
| 32 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 33 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 34 |
+
sc1p0 raw_full 10.640914492918917 4.722297613569919 0.04774292272379495 0.30770172458645123 0.0459831675592961 64 64 63596 65350 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606/hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45_step103000_dgamma1p75_tschedlogit_normal_mn0p55_s0p45_sc1p0_decode64_n64/sc1p0
|
| 35 |
+
sc1p0 pre_eos 12.733726105125847 4.766069615763403 0.050079478492638205 0.32281631342324985 0.030667458775549526 0 0 57413 62281 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606/hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45_step103000_dgamma1p75_tschedlogit_normal_mn0p55_s0p45_sc1p0_decode64_n64/sc1p0
|
| 36 |
+
[2026-06-06T19:36:09+00:00] done
|
| 37 |
+
[2026-06-06T19:36:09+00:00] run steps=64 schedule=logit_normal gamma=2.00 m=-0.55 s=0.45 tag=hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45
|
| 38 |
+
checkpoint=/e2e-data/evad-tech-vla/huangzhijian5/tmp/lta/20260604/owt_t5_elftokenized_full_len1024_C1_toV_power2_d768_l12_h12_gbs512_16gpu_50ep_lr3e4_elfopt_t5embed_unfixed_adaln_rope_noabspos_stateprobadd_selfcond_ce_fast_20260605_024231/step_103000.pt
|
| 39 |
+
use_ema=0
|
| 40 |
+
step=103000
|
| 41 |
+
decode_steps=64
|
| 42 |
+
n=64 chunk_n=8 gpu=3
|
| 43 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606
|
| 44 |
+
[2026-06-06T19:36:09+00:00] infer step=103000 decode=64 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606/hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45_step103000_dgamma2p00_tschedlogit_normal_mn0p55_s0p45_sc1p0_decode64_n64
|
| 45 |
+
[2026-06-06T19:36:09+00:00] run decode=64 chunk=0 n=8 seed=123
|
| 46 |
+
[2026-06-06T19:36:19+00:00] done decode=64 chunk=0
|
| 47 |
+
[2026-06-06T19:36:19+00:00] run decode=64 chunk=1 n=8 seed=124
|
| 48 |
+
[2026-06-06T19:36:28+00:00] done decode=64 chunk=1
|
| 49 |
+
[2026-06-06T19:36:28+00:00] run decode=64 chunk=2 n=8 seed=125
|
| 50 |
+
[2026-06-06T19:36:38+00:00] done decode=64 chunk=2
|
| 51 |
+
[2026-06-06T19:36:38+00:00] run decode=64 chunk=3 n=8 seed=126
|
| 52 |
+
[2026-06-06T19:36:48+00:00] done decode=64 chunk=3
|
| 53 |
+
[2026-06-06T19:36:48+00:00] run decode=64 chunk=4 n=8 seed=127
|
| 54 |
+
[2026-06-06T19:36:58+00:00] done decode=64 chunk=4
|
| 55 |
+
[2026-06-06T19:36:58+00:00] run decode=64 chunk=5 n=8 seed=128
|
| 56 |
+
[2026-06-06T19:37:07+00:00] done decode=64 chunk=5
|
| 57 |
+
[2026-06-06T19:37:07+00:00] run decode=64 chunk=6 n=8 seed=129
|
| 58 |
+
[2026-06-06T19:37:17+00:00] done decode=64 chunk=6
|
| 59 |
+
[2026-06-06T19:37:17+00:00] run decode=64 chunk=7 n=8 seed=130
|
| 60 |
+
[2026-06-06T19:37:27+00:00] done decode=64 chunk=7
|
| 61 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606/hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45_step103000_dgamma2p00_tschedlogit_normal_mn0p55_s0p45_sc1p0_decode64_n64/sc1p0/samples64.txt
|
| 62 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 63 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 64 |
+
sc1p0 raw_full 10.468534585751161 4.717814945263186 0.04754263708050614 0.30462290822954075 0.04442508710801394 64 65 63758 65436 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606/hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45_step103000_dgamma2p00_tschedlogit_normal_mn0p55_s0p45_sc1p0_decode64_n64/sc1p0
|
| 65 |
+
sc1p0 pre_eos 12.402501047712331 4.7589711220796005 0.049788678278688527 0.3190528793045483 0.02804815573770492 0 0 57774 62464 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606/hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45_step103000_dgamma2p00_tschedlogit_normal_mn0p55_s0p45_sc1p0_decode64_n64/sc1p0
|
| 66 |
+
[2026-06-06T19:37:40+00:00] done
|
| 67 |
+
[2026-06-06T19:37:40+00:00] run steps=64 schedule=logit_normal gamma=2.25 m=-0.55 s=0.45 tag=hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45
|
| 68 |
+
checkpoint=/e2e-data/evad-tech-vla/huangzhijian5/tmp/lta/20260604/owt_t5_elftokenized_full_len1024_C1_toV_power2_d768_l12_h12_gbs512_16gpu_50ep_lr3e4_elfopt_t5embed_unfixed_adaln_rope_noabspos_stateprobadd_selfcond_ce_fast_20260605_024231/step_103000.pt
|
| 69 |
+
use_ema=0
|
| 70 |
+
step=103000
|
| 71 |
+
decode_steps=64
|
| 72 |
+
n=64 chunk_n=8 gpu=3
|
| 73 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606
|
| 74 |
+
[2026-06-06T19:37:40+00:00] infer step=103000 decode=64 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260606/hzj20260604_adaln_rope_noabspos_C1toV_power2_target64_late_m_gamma_ln_mn0p55_s0p45_step103000_dgamma2p25_tschedlogit_normal_mn0p55_s0p45_sc1p0_decode64_n64
|
| 75 |
+
[2026-06-06T19:37:40+00:00] run decode=64 chunk=0 n=8 seed=123
|
| 76 |
+
[2026-06-06T19:37:50+00:00] done decode=64 chunk=0
|
| 77 |
+
[2026-06-06T19:37:50+00:00] run decode=64 chunk=1 n=8 seed=124
|
| 78 |
+
[2026-06-06T19:37:59+00:00] done decode=64 chunk=1
|
| 79 |
+
[2026-06-06T19:37:59+00:00] run decode=64 chunk=2 n=8 seed=125
|
| 80 |
+
[2026-06-06T19:38:09+00:00] done decode=64 chunk=2
|
| 81 |
+
[2026-06-06T19:38:09+00:00] run decode=64 chunk=3 n=8 seed=126
|
| 82 |
+
[2026-06-06T19:38:19+00:00] done decode=64 chunk=3
|
| 83 |
+
[2026-06-06T19:38:19+00:00] run decode=64 chunk=4 n=8 seed=127
|
| 84 |
+
[2026-06-06T19:38:29+00:00] done decode=64 chunk=4
|
| 85 |
+
[2026-06-06T19:38:29+00:00] run decode=64 chunk=5 n=8 seed=128
|
| 86 |
+
[2026-06-06T19:38:39+00:00] done decode=64 chunk=5
|
| 87 |
+
[2026-06-06T19:38:39+00:00] run decode=64 chunk=6 n=8 seed=129
|
| 88 |
+
Terminated
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/infer_eval_lr2e3_ema_decode32_gamma_temp_clean_20260608_155828.log
ADDED
|
@@ -0,0 +1,497 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
START 2026-06-08T15:58:28+00:00 gpu=3 m=-0.9 s=0.9 g=1.25 temp=0.85
|
| 2 |
+
START 2026-06-08T15:58:28+00:00 gpu=0 m=-0.8 s=1.0 g=1.25 temp=0.85
|
| 3 |
+
START 2026-06-08T15:58:28+00:00 gpu=2 m=-0.7 s=1.1 g=1.50 temp=0.75
|
| 4 |
+
START 2026-06-08T15:58:28+00:00 gpu=1 m=-0.8 s=1.1 g=1.50 temp=0.80
|
| 5 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 6 |
+
use_ema=1
|
| 7 |
+
step=170000
|
| 8 |
+
decode_steps=32
|
| 9 |
+
n=64 chunk_n=8 gpu=3
|
| 10 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 11 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 12 |
+
use_ema=1
|
| 13 |
+
step=170000
|
| 14 |
+
decode_steps=32
|
| 15 |
+
n=64 chunk_n=8 gpu=2
|
| 16 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 17 |
+
[2026-06-08T15:58:28+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p9_s0p9_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p9_s0p9_sc1p0_decode32_n64
|
| 18 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 19 |
+
use_ema=1
|
| 20 |
+
[2026-06-08T15:58:28+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 21 |
+
step=170000
|
| 22 |
+
decode_steps=32
|
| 23 |
+
n=64 chunk_n=8 gpu=1
|
| 24 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 25 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 26 |
+
use_ema=1
|
| 27 |
+
step=170000
|
| 28 |
+
decode_steps=32
|
| 29 |
+
n=64 chunk_n=8 gpu=0
|
| 30 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 31 |
+
[2026-06-08T15:58:28+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p75_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64
|
| 32 |
+
[2026-06-08T15:58:28+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 33 |
+
[2026-06-08T15:58:28+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64
|
| 34 |
+
[2026-06-08T15:58:28+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64
|
| 35 |
+
[2026-06-08T15:58:28+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 36 |
+
[2026-06-08T15:58:28+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 37 |
+
[2026-06-08T15:58:35+00:00] done decode=32 chunk=0
|
| 38 |
+
[2026-06-08T15:58:35+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 39 |
+
[2026-06-08T15:58:35+00:00] done decode=32 chunk=0
|
| 40 |
+
[2026-06-08T15:58:35+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 41 |
+
[2026-06-08T15:58:35+00:00] done decode=32 chunk=0
|
| 42 |
+
[2026-06-08T15:58:35+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 43 |
+
[2026-06-08T15:58:35+00:00] done decode=32 chunk=0
|
| 44 |
+
[2026-06-08T15:58:35+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 45 |
+
[2026-06-08T15:58:42+00:00] done decode=32 chunk=1
|
| 46 |
+
[2026-06-08T15:58:42+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 47 |
+
[2026-06-08T15:58:42+00:00] done decode=32 chunk=1
|
| 48 |
+
[2026-06-08T15:58:42+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 49 |
+
[2026-06-08T15:58:42+00:00] done decode=32 chunk=1
|
| 50 |
+
[2026-06-08T15:58:42+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 51 |
+
[2026-06-08T15:58:42+00:00] done decode=32 chunk=1
|
| 52 |
+
[2026-06-08T15:58:42+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 53 |
+
[2026-06-08T15:58:49+00:00] done decode=32 chunk=2
|
| 54 |
+
[2026-06-08T15:58:49+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 55 |
+
[2026-06-08T15:58:49+00:00] done decode=32 chunk=2
|
| 56 |
+
[2026-06-08T15:58:49+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 57 |
+
[2026-06-08T15:58:49+00:00] done decode=32 chunk=2
|
| 58 |
+
[2026-06-08T15:58:49+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 59 |
+
[2026-06-08T15:58:49+00:00] done decode=32 chunk=2
|
| 60 |
+
[2026-06-08T15:58:49+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 61 |
+
[2026-06-08T15:58:56+00:00] done decode=32 chunk=3
|
| 62 |
+
[2026-06-08T15:58:56+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 63 |
+
[2026-06-08T15:58:56+00:00] done decode=32 chunk=3
|
| 64 |
+
[2026-06-08T15:58:56+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 65 |
+
[2026-06-08T15:58:56+00:00] done decode=32 chunk=3
|
| 66 |
+
[2026-06-08T15:58:56+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 67 |
+
[2026-06-08T15:58:56+00:00] done decode=32 chunk=3
|
| 68 |
+
[2026-06-08T15:58:56+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 69 |
+
[2026-06-08T15:59:03+00:00] done decode=32 chunk=4
|
| 70 |
+
[2026-06-08T15:59:03+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 71 |
+
[2026-06-08T15:59:03+00:00] done decode=32 chunk=4
|
| 72 |
+
[2026-06-08T15:59:03+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 73 |
+
[2026-06-08T15:59:03+00:00] done decode=32 chunk=4
|
| 74 |
+
[2026-06-08T15:59:03+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 75 |
+
[2026-06-08T15:59:03+00:00] done decode=32 chunk=4
|
| 76 |
+
[2026-06-08T15:59:03+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 77 |
+
[2026-06-08T15:59:10+00:00] done decode=32 chunk=5
|
| 78 |
+
[2026-06-08T15:59:10+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 79 |
+
[2026-06-08T15:59:10+00:00] done decode=32 chunk=5
|
| 80 |
+
[2026-06-08T15:59:10+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 81 |
+
[2026-06-08T15:59:10+00:00] done decode=32 chunk=5
|
| 82 |
+
[2026-06-08T15:59:10+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 83 |
+
[2026-06-08T15:59:11+00:00] done decode=32 chunk=5
|
| 84 |
+
[2026-06-08T15:59:11+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 85 |
+
[2026-06-08T15:59:17+00:00] done decode=32 chunk=6
|
| 86 |
+
[2026-06-08T15:59:17+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 87 |
+
[2026-06-08T15:59:17+00:00] done decode=32 chunk=6
|
| 88 |
+
[2026-06-08T15:59:17+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 89 |
+
[2026-06-08T15:59:17+00:00] done decode=32 chunk=6
|
| 90 |
+
[2026-06-08T15:59:17+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 91 |
+
[2026-06-08T15:59:18+00:00] done decode=32 chunk=6
|
| 92 |
+
[2026-06-08T15:59:18+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 93 |
+
[2026-06-08T15:59:24+00:00] done decode=32 chunk=7
|
| 94 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p9_s0p9_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p9_s0p9_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 95 |
+
[2026-06-08T15:59:24+00:00] done decode=32 chunk=7
|
| 96 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p75_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 97 |
+
[2026-06-08T15:59:24+00:00] done decode=32 chunk=7
|
| 98 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 99 |
+
[2026-06-08T15:59:24+00:00] done decode=32 chunk=7
|
| 100 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 101 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 102 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 103 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 104 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 105 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 106 |
+
sc1p0 raw_full 11.070124312437377 4.65519286538899 0.06271010329441966 0.359687055911251 0.119445632907524 64 64 67706 65444 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p9_s0p9_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p9_s0p9_sc1p0_decode32_n64/sc1p0
|
| 107 |
+
sc1p0 pre_eos 20.785254545062855 4.884120630649559 0.07127842537741258 0.4088808588999687 0.04054687907162587 0 0 51918 57563 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p9_s0p9_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p9_s0p9_sc1p0_decode32_n64/sc1p0
|
| 108 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 109 |
+
sc1p0 raw_full 7.616759945116939 4.102183211058663 0.04673841490485449 0.26800367421922844 0.18381531207421808 64 64 71232 65321 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p75_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 110 |
+
sc1p0 pre_eos 19.08605449556637 4.4509622193907346 0.05731455399061033 0.3287010084696426 0.06950234741784038 0 0 47072 53250 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p75_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 111 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 112 |
+
sc1p0 raw_full 11.515904525941828 4.655725635809934 0.06365832772646646 0.36628182582766267 0.12335616857300141 64 64 67915 65396 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0
|
| 113 |
+
sc1p0 pre_eos 22.476401220994113 4.898247984366439 0.07267964725399459 0.4182383347303716 0.03904653802497162 0 0 51619 57265 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0
|
| 114 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 115 |
+
sc1p0 raw_full 9.135943497408824 4.400322428568748 0.05372431506849315 0.31568486553427005 0.15644875244618395 63 63 70132 65408 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 116 |
+
sc1p0 pre_eos 19.600845303443453 4.700276763824076 0.06333471513797019 0.3721387116542302 0.04626642394967828 0 0 50263 55483 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 117 |
+
[2026-06-08T15:59:37+00:00] done
|
| 118 |
+
DONE 2026-06-08T15:59:37+00:00 gpu=3 m=-0.9 s=0.9 g=1.25 temp=0.85
|
| 119 |
+
START 2026-06-08T15:59:38+00:00 gpu=3 m=-0.9 s=0.9 g=1.50 temp=0.85
|
| 120 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 121 |
+
use_ema=1
|
| 122 |
+
step=170000
|
| 123 |
+
decode_steps=32
|
| 124 |
+
n=64 chunk_n=8 gpu=3
|
| 125 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 126 |
+
[2026-06-08T15:59:38+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p9_s0p9_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p9_s0p9_sc1p0_decode32_n64
|
| 127 |
+
[2026-06-08T15:59:38+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 128 |
+
[2026-06-08T15:59:38+00:00] done
|
| 129 |
+
DONE 2026-06-08T15:59:38+00:00 gpu=2 m=-0.7 s=1.1 g=1.50 temp=0.75
|
| 130 |
+
START 2026-06-08T15:59:38+00:00 gpu=2 m=-0.7 s=1.1 g=1.50 temp=0.80
|
| 131 |
+
[2026-06-08T15:59:38+00:00] done
|
| 132 |
+
DONE 2026-06-08T15:59:38+00:00 gpu=0 m=-0.8 s=1.0 g=1.25 temp=0.85
|
| 133 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 134 |
+
use_ema=1
|
| 135 |
+
step=170000
|
| 136 |
+
decode_steps=32
|
| 137 |
+
n=64 chunk_n=8 gpu=2
|
| 138 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 139 |
+
[2026-06-08T15:59:38+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64
|
| 140 |
+
[2026-06-08T15:59:38+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 141 |
+
START 2026-06-08T15:59:38+00:00 gpu=0 m=-0.8 s=1.0 g=1.25 temp=0.90
|
| 142 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 143 |
+
use_ema=1
|
| 144 |
+
step=170000
|
| 145 |
+
decode_steps=32
|
| 146 |
+
n=64 chunk_n=8 gpu=0
|
| 147 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 148 |
+
[2026-06-08T15:59:38+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64
|
| 149 |
+
[2026-06-08T15:59:38+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 150 |
+
[2026-06-08T15:59:38+00:00] done
|
| 151 |
+
DONE 2026-06-08T15:59:38+00:00 gpu=1 m=-0.8 s=1.1 g=1.50 temp=0.80
|
| 152 |
+
START 2026-06-08T15:59:38+00:00 gpu=1 m=-0.8 s=1.1 g=1.50 temp=0.85
|
| 153 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 154 |
+
use_ema=1
|
| 155 |
+
step=170000
|
| 156 |
+
decode_steps=32
|
| 157 |
+
n=64 chunk_n=8 gpu=1
|
| 158 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 159 |
+
[2026-06-08T15:59:38+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64
|
| 160 |
+
[2026-06-08T15:59:38+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 161 |
+
[2026-06-08T15:59:45+00:00] done decode=32 chunk=0
|
| 162 |
+
[2026-06-08T15:59:45+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 163 |
+
[2026-06-08T15:59:45+00:00] done decode=32 chunk=0
|
| 164 |
+
[2026-06-08T15:59:45+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 165 |
+
[2026-06-08T15:59:45+00:00] done decode=32 chunk=0
|
| 166 |
+
[2026-06-08T15:59:45+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 167 |
+
[2026-06-08T15:59:45+00:00] done decode=32 chunk=0
|
| 168 |
+
[2026-06-08T15:59:45+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 169 |
+
[2026-06-08T15:59:52+00:00] done decode=32 chunk=1
|
| 170 |
+
[2026-06-08T15:59:52+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 171 |
+
[2026-06-08T15:59:52+00:00] done decode=32 chunk=1
|
| 172 |
+
[2026-06-08T15:59:52+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 173 |
+
[2026-06-08T15:59:52+00:00] done decode=32 chunk=1
|
| 174 |
+
[2026-06-08T15:59:52+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 175 |
+
[2026-06-08T15:59:52+00:00] done decode=32 chunk=1
|
| 176 |
+
[2026-06-08T15:59:52+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 177 |
+
[2026-06-08T15:59:59+00:00] done decode=32 chunk=2
|
| 178 |
+
[2026-06-08T15:59:59+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 179 |
+
[2026-06-08T15:59:59+00:00] done decode=32 chunk=2
|
| 180 |
+
[2026-06-08T15:59:59+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 181 |
+
[2026-06-08T15:59:59+00:00] done decode=32 chunk=2
|
| 182 |
+
[2026-06-08T15:59:59+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 183 |
+
[2026-06-08T15:59:59+00:00] done decode=32 chunk=2
|
| 184 |
+
[2026-06-08T15:59:59+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 185 |
+
[2026-06-08T16:00:06+00:00] done decode=32 chunk=3
|
| 186 |
+
[2026-06-08T16:00:06+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 187 |
+
[2026-06-08T16:00:06+00:00] done decode=32 chunk=3
|
| 188 |
+
[2026-06-08T16:00:06+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 189 |
+
[2026-06-08T16:00:06+00:00] done decode=32 chunk=3
|
| 190 |
+
[2026-06-08T16:00:06+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 191 |
+
[2026-06-08T16:00:06+00:00] done decode=32 chunk=3
|
| 192 |
+
[2026-06-08T16:00:06+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 193 |
+
[2026-06-08T16:00:14+00:00] done decode=32 chunk=4
|
| 194 |
+
[2026-06-08T16:00:14+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 195 |
+
[2026-06-08T16:00:14+00:00] done decode=32 chunk=4
|
| 196 |
+
[2026-06-08T16:00:14+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 197 |
+
[2026-06-08T16:00:14+00:00] done decode=32 chunk=4
|
| 198 |
+
[2026-06-08T16:00:14+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 199 |
+
[2026-06-08T16:00:14+00:00] done decode=32 chunk=4
|
| 200 |
+
[2026-06-08T16:00:14+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 201 |
+
[2026-06-08T16:00:20+00:00] done decode=32 chunk=5
|
| 202 |
+
[2026-06-08T16:00:20+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 203 |
+
[2026-06-08T16:00:21+00:00] done decode=32 chunk=5
|
| 204 |
+
[2026-06-08T16:00:21+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 205 |
+
[2026-06-08T16:00:21+00:00] done decode=32 chunk=5
|
| 206 |
+
[2026-06-08T16:00:21+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 207 |
+
[2026-06-08T16:00:21+00:00] done decode=32 chunk=5
|
| 208 |
+
[2026-06-08T16:00:21+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 209 |
+
[2026-06-08T16:00:28+00:00] done decode=32 chunk=6
|
| 210 |
+
[2026-06-08T16:00:28+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 211 |
+
[2026-06-08T16:00:28+00:00] done decode=32 chunk=6
|
| 212 |
+
[2026-06-08T16:00:28+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 213 |
+
[2026-06-08T16:00:28+00:00] done decode=32 chunk=6
|
| 214 |
+
[2026-06-08T16:00:28+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 215 |
+
[2026-06-08T16:00:28+00:00] done decode=32 chunk=6
|
| 216 |
+
[2026-06-08T16:00:28+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 217 |
+
[2026-06-08T16:00:35+00:00] done decode=32 chunk=7
|
| 218 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p9_s0p9_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p9_s0p9_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 219 |
+
[2026-06-08T16:00:35+00:00] done decode=32 chunk=7
|
| 220 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 221 |
+
[2026-06-08T16:00:35+00:00] done decode=32 chunk=7
|
| 222 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 223 |
+
[2026-06-08T16:00:35+00:00] done decode=32 chunk=7
|
| 224 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 225 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 226 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 227 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 228 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 229 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 230 |
+
sc1p0 raw_full 10.265592840366459 4.457418513503148 0.05816996464808778 0.33480762755960947 0.15184488009427177 64 64 69312 65343 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 231 |
+
sc1p0 pre_eos 23.61029622003903 4.769371750281435 0.06864533843958306 0.39515138377050363 0.046173022381993244 0 0 49321 55357 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 232 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 233 |
+
sc1p0 raw_full 11.31552286051023 4.661387639087806 0.06216286425940924 0.3643643031784841 0.12056661725829373 64 65 67465 65441 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p9_s0p9_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p9_s0p9_sc1p0_decode32_n64/sc1p0
|
| 234 |
+
sc1p0 pre_eos 21.656060655786927 4.8940182649079995 0.07074766029989911 0.41471688266504303 0.03903559127439724 0 0 51527 57486 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p9_s0p9_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p9_s0p9_sc1p0_decode32_n64/sc1p0
|
| 235 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 236 |
+
sc1p0 raw_full 15.082236733645013 4.883199936364426 0.07358447314128524 0.417917290705138 0.09166348284557194 63 64 66095 65435 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0
|
| 237 |
+
sc1p0 pre_eos 25.306914170301866 5.052927335103899 0.08105787683916367 0.46032895069106583 0.034359112487795024 0 0 54000 59402 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0
|
| 238 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 239 |
+
sc1p0 raw_full 11.506839533323399 4.663300880596172 0.06293738349173364 0.36525326610130643 0.1251413378968921 64 64 68240 65446 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 240 |
+
sc1p0 pre_eos 22.610227884964743 4.913773546931558 0.07200307735347601 0.41791540627021734 0.039725835781228146 0 0 51710 57192 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 241 |
+
[2026-06-08T16:00:48+00:00] done
|
| 242 |
+
DONE 2026-06-08T16:00:48+00:00 gpu=2 m=-0.7 s=1.1 g=1.50 temp=0.80
|
| 243 |
+
START 2026-06-08T16:00:48+00:00 gpu=2 m=-0.7 s=1.1 g=1.75 temp=0.80
|
| 244 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 245 |
+
use_ema=1
|
| 246 |
+
step=170000
|
| 247 |
+
decode_steps=32
|
| 248 |
+
n=64 chunk_n=8 gpu=2
|
| 249 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 250 |
+
[2026-06-08T16:00:48+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64
|
| 251 |
+
[2026-06-08T16:00:48+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 252 |
+
[2026-06-08T16:00:48+00:00] done
|
| 253 |
+
DONE 2026-06-08T16:00:48+00:00 gpu=3 m=-0.9 s=0.9 g=1.50 temp=0.85
|
| 254 |
+
START 2026-06-08T16:00:48+00:00 gpu=3 m=-1.0 s=1.0 g=1.25 temp=0.85
|
| 255 |
+
[2026-06-08T16:00:48+00:00] done
|
| 256 |
+
DONE 2026-06-08T16:00:48+00:00 gpu=0 m=-0.8 s=1.0 g=1.25 temp=0.90
|
| 257 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 258 |
+
use_ema=1
|
| 259 |
+
step=170000
|
| 260 |
+
decode_steps=32
|
| 261 |
+
n=64 chunk_n=8 gpu=3
|
| 262 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 263 |
+
[2026-06-08T16:00:48+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn1p0_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn1p0_s1p0_sc1p0_decode32_n64
|
| 264 |
+
[2026-06-08T16:00:48+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 265 |
+
START 2026-06-08T16:00:48+00:00 gpu=0 m=-0.8 s=1.0 g=1.50 temp=0.85
|
| 266 |
+
[2026-06-08T16:00:48+00:00] done
|
| 267 |
+
DONE 2026-06-08T16:00:48+00:00 gpu=1 m=-0.8 s=1.1 g=1.50 temp=0.85
|
| 268 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 269 |
+
use_ema=1
|
| 270 |
+
step=170000
|
| 271 |
+
decode_steps=32
|
| 272 |
+
n=64 chunk_n=8 gpu=0
|
| 273 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 274 |
+
[2026-06-08T16:00:48+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64
|
| 275 |
+
[2026-06-08T16:00:48+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 276 |
+
START 2026-06-08T16:00:49+00:00 gpu=1 m=-0.8 s=1.1 g=1.75 temp=0.85
|
| 277 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 278 |
+
use_ema=1
|
| 279 |
+
step=170000
|
| 280 |
+
decode_steps=32
|
| 281 |
+
n=64 chunk_n=8 gpu=1
|
| 282 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 283 |
+
[2026-06-08T16:00:49+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64
|
| 284 |
+
[2026-06-08T16:00:49+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 285 |
+
[2026-06-08T16:00:55+00:00] done decode=32 chunk=0
|
| 286 |
+
[2026-06-08T16:00:55+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 287 |
+
[2026-06-08T16:00:55+00:00] done decode=32 chunk=0
|
| 288 |
+
[2026-06-08T16:00:55+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 289 |
+
[2026-06-08T16:00:55+00:00] done decode=32 chunk=0
|
| 290 |
+
[2026-06-08T16:00:55+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 291 |
+
[2026-06-08T16:00:56+00:00] done decode=32 chunk=0
|
| 292 |
+
[2026-06-08T16:00:56+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 293 |
+
[2026-06-08T16:01:02+00:00] done decode=32 chunk=1
|
| 294 |
+
[2026-06-08T16:01:02+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 295 |
+
[2026-06-08T16:01:02+00:00] done decode=32 chunk=1
|
| 296 |
+
[2026-06-08T16:01:02+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 297 |
+
[2026-06-08T16:01:03+00:00] done decode=32 chunk=1
|
| 298 |
+
[2026-06-08T16:01:03+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 299 |
+
[2026-06-08T16:01:03+00:00] done decode=32 chunk=1
|
| 300 |
+
[2026-06-08T16:01:03+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 301 |
+
[2026-06-08T16:01:09+00:00] done decode=32 chunk=2
|
| 302 |
+
[2026-06-08T16:01:09+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 303 |
+
[2026-06-08T16:01:10+00:00] done decode=32 chunk=2
|
| 304 |
+
[2026-06-08T16:01:10+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 305 |
+
[2026-06-08T16:01:10+00:00] done decode=32 chunk=2
|
| 306 |
+
[2026-06-08T16:01:10+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 307 |
+
[2026-06-08T16:01:10+00:00] done decode=32 chunk=2
|
| 308 |
+
[2026-06-08T16:01:10+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 309 |
+
[2026-06-08T16:01:16+00:00] done decode=32 chunk=3
|
| 310 |
+
[2026-06-08T16:01:16+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 311 |
+
[2026-06-08T16:01:17+00:00] done decode=32 chunk=3
|
| 312 |
+
[2026-06-08T16:01:17+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 313 |
+
[2026-06-08T16:01:17+00:00] done decode=32 chunk=3
|
| 314 |
+
[2026-06-08T16:01:17+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 315 |
+
[2026-06-08T16:01:17+00:00] done decode=32 chunk=3
|
| 316 |
+
[2026-06-08T16:01:17+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 317 |
+
[2026-06-08T16:01:23+00:00] done decode=32 chunk=4
|
| 318 |
+
[2026-06-08T16:01:23+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 319 |
+
[2026-06-08T16:01:24+00:00] done decode=32 chunk=4
|
| 320 |
+
[2026-06-08T16:01:24+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 321 |
+
[2026-06-08T16:01:24+00:00] done decode=32 chunk=4
|
| 322 |
+
[2026-06-08T16:01:24+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 323 |
+
[2026-06-08T16:01:24+00:00] done decode=32 chunk=4
|
| 324 |
+
[2026-06-08T16:01:24+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 325 |
+
[2026-06-08T16:01:30+00:00] done decode=32 chunk=5
|
| 326 |
+
[2026-06-08T16:01:30+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 327 |
+
[2026-06-08T16:01:31+00:00] done decode=32 chunk=5
|
| 328 |
+
[2026-06-08T16:01:31+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 329 |
+
[2026-06-08T16:01:31+00:00] done decode=32 chunk=5
|
| 330 |
+
[2026-06-08T16:01:31+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 331 |
+
[2026-06-08T16:01:31+00:00] done decode=32 chunk=5
|
| 332 |
+
[2026-06-08T16:01:31+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 333 |
+
[2026-06-08T16:01:37+00:00] done decode=32 chunk=6
|
| 334 |
+
[2026-06-08T16:01:37+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 335 |
+
[2026-06-08T16:01:38+00:00] done decode=32 chunk=6
|
| 336 |
+
[2026-06-08T16:01:38+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 337 |
+
[2026-06-08T16:01:38+00:00] done decode=32 chunk=6
|
| 338 |
+
[2026-06-08T16:01:38+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 339 |
+
[2026-06-08T16:01:38+00:00] done decode=32 chunk=6
|
| 340 |
+
[2026-06-08T16:01:38+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 341 |
+
[2026-06-08T16:01:44+00:00] done decode=32 chunk=7
|
| 342 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 343 |
+
[2026-06-08T16:01:44+00:00] done decode=32 chunk=7
|
| 344 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 345 |
+
[2026-06-08T16:01:45+00:00] done decode=32 chunk=7
|
| 346 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 347 |
+
[2026-06-08T16:01:45+00:00] done decode=32 chunk=7
|
| 348 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn1p0_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn1p0_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 349 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 350 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 351 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 352 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 353 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 354 |
+
sc1p0 raw_full 9.65923362364878 4.407853696839257 0.05700694423200465 0.32760756841090904 0.16034445838049496 64 64 69914 65378 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 355 |
+
sc1p0 pre_eos 23.005313688571082 4.745441029545589 0.06795425945176999 0.39057085537114716 0.04750962047017198 0 0 48797 54831 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p80_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 356 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 357 |
+
sc1p0 raw_full 11.911114127538909 4.6791719450002605 0.0626051576983083 0.36976306652186547 0.12173819939429166 64 65 67949 65378 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 358 |
+
sc1p0 pre_eos 23.161772767725143 4.918645581116644 0.0713463751438435 0.42142520879465767 0.03813160372423894 0 0 51874 57354 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 359 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 360 |
+
sc1p0 raw_full 9.398436075113347 4.548769310645324 0.05566928412111583 0.32534335517973634 0.13061810626661371 64 64 69041 65458 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn1p0_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn1p0_s1p0_sc1p0_decode32_n64/sc1p0
|
| 361 |
+
sc1p0 pre_eos 17.817930065523747 4.804120282162531 0.06408767855886285 0.37459317769998063 0.0420097107874182 0 0 51789 56844 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn1p0_s1p0_step170000_ema_dgamma1p25_tschedlogit_normal_mn1p0_s1p0_sc1p0_decode32_n64/sc1p0
|
| 362 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 363 |
+
sc1p0 raw_full 12.232338808767638 4.690636286449728 0.0644766623845354 0.37316286111918273 0.1213678350767725 64 64 67633 65388 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0
|
| 364 |
+
sc1p0 pre_eos 24.035775235816466 4.928966073420276 0.07344741060848958 0.4251311272587868 0.03983411166097442 0 0 51611 57388 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p8_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0
|
| 365 |
+
[2026-06-08T16:01:58+00:00] done
|
| 366 |
+
DONE 2026-06-08T16:01:58+00:00 gpu=2 m=-0.7 s=1.1 g=1.75 temp=0.80
|
| 367 |
+
START 2026-06-08T16:01:58+00:00 gpu=2 m=-0.7 s=1.1 g=1.75 temp=0.85
|
| 368 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 369 |
+
use_ema=1
|
| 370 |
+
step=170000
|
| 371 |
+
decode_steps=32
|
| 372 |
+
n=64 chunk_n=8 gpu=2
|
| 373 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 374 |
+
[2026-06-08T16:01:58+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64
|
| 375 |
+
[2026-06-08T16:01:58+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 376 |
+
[2026-06-08T16:01:58+00:00] done
|
| 377 |
+
DONE 2026-06-08T16:01:58+00:00 gpu=1 m=-0.8 s=1.1 g=1.75 temp=0.85
|
| 378 |
+
START 2026-06-08T16:01:58+00:00 gpu=1 m=-0.8 s=1.1 g=1.75 temp=0.90
|
| 379 |
+
[2026-06-08T16:01:58+00:00] done
|
| 380 |
+
DONE 2026-06-08T16:01:58+00:00 gpu=3 m=-1.0 s=1.0 g=1.25 temp=0.85
|
| 381 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 382 |
+
use_ema=1
|
| 383 |
+
step=170000
|
| 384 |
+
decode_steps=32
|
| 385 |
+
n=64 chunk_n=8 gpu=1
|
| 386 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 387 |
+
[2026-06-08T16:01:58+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64
|
| 388 |
+
[2026-06-08T16:01:58+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 389 |
+
START 2026-06-08T16:01:58+00:00 gpu=3 m=-1.0 s=1.0 g=1.50 temp=0.85
|
| 390 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 391 |
+
use_ema=1
|
| 392 |
+
step=170000
|
| 393 |
+
decode_steps=32
|
| 394 |
+
n=64 chunk_n=8 gpu=3
|
| 395 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 396 |
+
[2026-06-08T16:01:58+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn1p0_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn1p0_s1p0_sc1p0_decode32_n64
|
| 397 |
+
[2026-06-08T16:01:58+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 398 |
+
[2026-06-08T16:01:58+00:00] done
|
| 399 |
+
DONE 2026-06-08T16:01:58+00:00 gpu=0 m=-0.8 s=1.0 g=1.50 temp=0.85
|
| 400 |
+
START 2026-06-08T16:01:58+00:00 gpu=0 m=-0.8 s=1.0 g=1.50 temp=0.90
|
| 401 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 402 |
+
use_ema=1
|
| 403 |
+
step=170000
|
| 404 |
+
decode_steps=32
|
| 405 |
+
n=64 chunk_n=8 gpu=0
|
| 406 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 407 |
+
[2026-06-08T16:01:58+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64
|
| 408 |
+
[2026-06-08T16:01:58+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 409 |
+
[2026-06-08T16:02:05+00:00] done decode=32 chunk=0
|
| 410 |
+
[2026-06-08T16:02:05+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 411 |
+
[2026-06-08T16:02:05+00:00] done decode=32 chunk=0
|
| 412 |
+
[2026-06-08T16:02:05+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 413 |
+
[2026-06-08T16:02:05+00:00] done decode=32 chunk=0
|
| 414 |
+
[2026-06-08T16:02:05+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 415 |
+
[2026-06-08T16:02:05+00:00] done decode=32 chunk=0
|
| 416 |
+
[2026-06-08T16:02:05+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 417 |
+
[2026-06-08T16:02:12+00:00] done decode=32 chunk=1
|
| 418 |
+
[2026-06-08T16:02:12+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 419 |
+
[2026-06-08T16:02:12+00:00] done decode=32 chunk=1
|
| 420 |
+
[2026-06-08T16:02:12+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 421 |
+
[2026-06-08T16:02:12+00:00] done decode=32 chunk=1
|
| 422 |
+
[2026-06-08T16:02:12+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 423 |
+
[2026-06-08T16:02:13+00:00] done decode=32 chunk=1
|
| 424 |
+
[2026-06-08T16:02:13+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 425 |
+
[2026-06-08T16:02:19+00:00] done decode=32 chunk=2
|
| 426 |
+
[2026-06-08T16:02:19+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 427 |
+
[2026-06-08T16:02:19+00:00] done decode=32 chunk=2
|
| 428 |
+
[2026-06-08T16:02:19+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 429 |
+
[2026-06-08T16:02:19+00:00] done decode=32 chunk=2
|
| 430 |
+
[2026-06-08T16:02:19+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 431 |
+
[2026-06-08T16:02:20+00:00] done decode=32 chunk=2
|
| 432 |
+
[2026-06-08T16:02:20+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 433 |
+
[2026-06-08T16:02:26+00:00] done decode=32 chunk=3
|
| 434 |
+
[2026-06-08T16:02:26+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 435 |
+
[2026-06-08T16:02:26+00:00] done decode=32 chunk=3
|
| 436 |
+
[2026-06-08T16:02:26+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 437 |
+
[2026-06-08T16:02:26+00:00] done decode=32 chunk=3
|
| 438 |
+
[2026-06-08T16:02:26+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 439 |
+
[2026-06-08T16:02:27+00:00] done decode=32 chunk=3
|
| 440 |
+
[2026-06-08T16:02:27+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 441 |
+
[2026-06-08T16:02:33+00:00] done decode=32 chunk=4
|
| 442 |
+
[2026-06-08T16:02:33+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 443 |
+
[2026-06-08T16:02:33+00:00] done decode=32 chunk=4
|
| 444 |
+
[2026-06-08T16:02:33+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 445 |
+
[2026-06-08T16:02:33+00:00] done decode=32 chunk=4
|
| 446 |
+
[2026-06-08T16:02:33+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 447 |
+
[2026-06-08T16:02:34+00:00] done decode=32 chunk=4
|
| 448 |
+
[2026-06-08T16:02:34+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 449 |
+
[2026-06-08T16:02:40+00:00] done decode=32 chunk=5
|
| 450 |
+
[2026-06-08T16:02:40+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 451 |
+
[2026-06-08T16:02:41+00:00] done decode=32 chunk=5
|
| 452 |
+
[2026-06-08T16:02:41+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 453 |
+
[2026-06-08T16:02:41+00:00] done decode=32 chunk=5
|
| 454 |
+
[2026-06-08T16:02:41+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 455 |
+
[2026-06-08T16:02:41+00:00] done decode=32 chunk=5
|
| 456 |
+
[2026-06-08T16:02:41+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 457 |
+
[2026-06-08T16:02:47+00:00] done decode=32 chunk=6
|
| 458 |
+
[2026-06-08T16:02:47+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 459 |
+
[2026-06-08T16:02:48+00:00] done decode=32 chunk=6
|
| 460 |
+
[2026-06-08T16:02:48+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 461 |
+
[2026-06-08T16:02:48+00:00] done decode=32 chunk=6
|
| 462 |
+
[2026-06-08T16:02:48+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 463 |
+
[2026-06-08T16:02:48+00:00] done decode=32 chunk=6
|
| 464 |
+
[2026-06-08T16:02:48+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 465 |
+
[2026-06-08T16:02:54+00:00] done decode=32 chunk=7
|
| 466 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 467 |
+
[2026-06-08T16:02:55+00:00] done decode=32 chunk=7
|
| 468 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 469 |
+
[2026-06-08T16:02:55+00:00] done decode=32 chunk=7
|
| 470 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 471 |
+
[2026-06-08T16:02:55+00:00] done decode=32 chunk=7
|
| 472 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn1p0_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn1p0_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 473 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 474 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 475 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 476 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 477 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 478 |
+
sc1p0 raw_full 15.486074998604966 4.8946929597821045 0.07252824534849944 0.4199486301369863 0.08905502300906604 64 64 65498 65409 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0
|
| 479 |
+
sc1p0 pre_eos 25.86238928675929 5.056410804556149 0.0796875 0.46144928510223626 0.03442540322580645 0 0 53696 59520 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p0_sc1p0_decode32_n64/sc1p0
|
| 480 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 481 |
+
sc1p0 raw_full 14.756903803117893 4.851696232446399 0.06854592148709795 0.40423450278988 0.09231686437568791 64 64 65709 65416 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 482 |
+
sc1p0 pre_eos 24.888428950838563 5.0257949792545755 0.07558208149983983 0.44577825735095766 0.03405661490735589 0 0 53471 59313 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p90_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 483 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 484 |
+
sc1p0 raw_full 13.204415489607936 4.713728419695227 0.06590752770347727 0.3851338958180484 0.12106992739778372 64 64 67654 65425 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 485 |
+
sc1p0 pre_eos 26.563340455933716 4.953788197129261 0.07505222841225627 0.43862184230226847 0.03835306406685237 0 0 51665 57440 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 486 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 487 |
+
sc1p0 raw_full 9.837059525620287 4.585542370717594 0.05536020058708415 0.33337410368920756 0.12854696673189825 64 65 68814 65408 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn1p0_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn1p0_s1p0_sc1p0_decode32_n64/sc1p0
|
| 488 |
+
sc1p0 pre_eos 18.724563237039497 4.838074438785817 0.0635913290939114 0.38294246815985944 0.040297930646804626 0 0 51828 56926 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_temp0p85_mn1p0_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn1p0_s1p0_sc1p0_decode32_n64/sc1p0
|
| 489 |
+
[2026-06-08T16:03:08+00:00] done
|
| 490 |
+
DONE 2026-06-08T16:03:08+00:00 gpu=0 m=-0.8 s=1.0 g=1.50 temp=0.90
|
| 491 |
+
[2026-06-08T16:03:08+00:00] done
|
| 492 |
+
DONE 2026-06-08T16:03:08+00:00 gpu=1 m=-0.8 s=1.1 g=1.75 temp=0.90
|
| 493 |
+
[2026-06-08T16:03:08+00:00] done
|
| 494 |
+
DONE 2026-06-08T16:03:08+00:00 gpu=2 m=-0.7 s=1.1 g=1.75 temp=0.85
|
| 495 |
+
[2026-06-08T16:03:08+00:00] done
|
| 496 |
+
DONE 2026-06-08T16:03:08+00:00 gpu=3 m=-1.0 s=1.0 g=1.50 temp=0.85
|
| 497 |
+
ALL_DONE 2026-06-08T16:03:08+00:00
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/infer_eval_lr2e3_ema_decode32_highentropy_gamma_20260608_154300.log
ADDED
|
@@ -0,0 +1,621 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
START 2026-06-08T15:43:00+00:00 gpu=1 m=-0.7 s=1.1 g=1.50
|
| 2 |
+
START 2026-06-08T15:43:00+00:00 gpu=0 m=-0.7 s=1.0 g=1.50
|
| 3 |
+
START 2026-06-08T15:43:00+00:00 gpu=2 m=-0.6 s=1.1 g=1.50
|
| 4 |
+
START 2026-06-08T15:43:00+00:00 gpu=3 m=-0.8 s=1.1 g=1.50
|
| 5 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 6 |
+
use_ema=1
|
| 7 |
+
step=170000
|
| 8 |
+
decode_steps=32
|
| 9 |
+
n=64 chunk_n=8 gpu=1
|
| 10 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 11 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 12 |
+
use_ema=1
|
| 13 |
+
step=170000
|
| 14 |
+
decode_steps=32
|
| 15 |
+
n=64 chunk_n=8 gpu=2
|
| 16 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 17 |
+
[2026-06-08T15:43:00+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64
|
| 18 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 19 |
+
use_ema=1
|
| 20 |
+
step=170000
|
| 21 |
+
decode_steps=32
|
| 22 |
+
n=64 chunk_n=8 gpu=3
|
| 23 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 24 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 25 |
+
use_ema=1
|
| 26 |
+
step=170000
|
| 27 |
+
decode_steps=32
|
| 28 |
+
n=64 chunk_n=8 gpu=0
|
| 29 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 30 |
+
[2026-06-08T15:43:00+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 31 |
+
[2026-06-08T15:43:00+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64
|
| 32 |
+
[2026-06-08T15:43:00+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64
|
| 33 |
+
[2026-06-08T15:43:00+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 34 |
+
[2026-06-08T15:43:00+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64
|
| 35 |
+
[2026-06-08T15:43:00+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 36 |
+
[2026-06-08T15:43:00+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 37 |
+
[2026-06-08T15:43:07+00:00] done decode=32 chunk=0
|
| 38 |
+
[2026-06-08T15:43:07+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 39 |
+
[2026-06-08T15:43:07+00:00] done decode=32 chunk=0
|
| 40 |
+
[2026-06-08T15:43:07+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 41 |
+
[2026-06-08T15:43:07+00:00] done decode=32 chunk=0
|
| 42 |
+
[2026-06-08T15:43:07+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 43 |
+
[2026-06-08T15:43:08+00:00] done decode=32 chunk=0
|
| 44 |
+
[2026-06-08T15:43:08+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 45 |
+
[2026-06-08T15:43:15+00:00] done decode=32 chunk=1
|
| 46 |
+
[2026-06-08T15:43:15+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 47 |
+
[2026-06-08T15:43:15+00:00] done decode=32 chunk=1
|
| 48 |
+
[2026-06-08T15:43:15+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 49 |
+
[2026-06-08T15:43:15+00:00] done decode=32 chunk=1
|
| 50 |
+
[2026-06-08T15:43:15+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 51 |
+
[2026-06-08T15:43:15+00:00] done decode=32 chunk=1
|
| 52 |
+
[2026-06-08T15:43:15+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 53 |
+
[2026-06-08T15:43:22+00:00] done decode=32 chunk=2
|
| 54 |
+
[2026-06-08T15:43:22+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 55 |
+
[2026-06-08T15:43:22+00:00] done decode=32 chunk=2
|
| 56 |
+
[2026-06-08T15:43:22+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 57 |
+
[2026-06-08T15:43:22+00:00] done decode=32 chunk=2
|
| 58 |
+
[2026-06-08T15:43:22+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 59 |
+
[2026-06-08T15:43:25+00:00] done decode=32 chunk=2
|
| 60 |
+
[2026-06-08T15:43:25+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 61 |
+
[2026-06-08T15:43:29+00:00] done decode=32 chunk=3
|
| 62 |
+
[2026-06-08T15:43:29+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 63 |
+
[2026-06-08T15:43:29+00:00] done decode=32 chunk=3
|
| 64 |
+
[2026-06-08T15:43:29+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 65 |
+
[2026-06-08T15:43:29+00:00] done decode=32 chunk=3
|
| 66 |
+
[2026-06-08T15:43:29+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 67 |
+
[2026-06-08T15:43:32+00:00] done decode=32 chunk=3
|
| 68 |
+
[2026-06-08T15:43:32+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 69 |
+
[2026-06-08T15:43:36+00:00] done decode=32 chunk=4
|
| 70 |
+
[2026-06-08T15:43:36+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 71 |
+
[2026-06-08T15:43:36+00:00] done decode=32 chunk=4
|
| 72 |
+
[2026-06-08T15:43:36+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 73 |
+
[2026-06-08T15:43:36+00:00] done decode=32 chunk=4
|
| 74 |
+
[2026-06-08T15:43:36+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 75 |
+
[2026-06-08T15:43:39+00:00] done decode=32 chunk=4
|
| 76 |
+
[2026-06-08T15:43:39+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 77 |
+
[2026-06-08T15:43:43+00:00] done decode=32 chunk=5
|
| 78 |
+
[2026-06-08T15:43:43+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 79 |
+
[2026-06-08T15:43:43+00:00] done decode=32 chunk=5
|
| 80 |
+
[2026-06-08T15:43:43+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 81 |
+
[2026-06-08T15:43:43+00:00] done decode=32 chunk=5
|
| 82 |
+
[2026-06-08T15:43:43+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 83 |
+
[2026-06-08T15:43:46+00:00] done decode=32 chunk=5
|
| 84 |
+
[2026-06-08T15:43:46+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 85 |
+
[2026-06-08T15:43:50+00:00] done decode=32 chunk=6
|
| 86 |
+
[2026-06-08T15:43:50+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 87 |
+
[2026-06-08T15:43:50+00:00] done decode=32 chunk=6
|
| 88 |
+
[2026-06-08T15:43:50+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 89 |
+
[2026-06-08T15:43:50+00:00] done decode=32 chunk=6
|
| 90 |
+
[2026-06-08T15:43:50+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 91 |
+
[2026-06-08T15:43:53+00:00] done decode=32 chunk=6
|
| 92 |
+
[2026-06-08T15:43:53+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 93 |
+
[2026-06-08T15:43:57+00:00] done decode=32 chunk=7
|
| 94 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 95 |
+
[2026-06-08T15:43:57+00:00] done decode=32 chunk=7
|
| 96 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 97 |
+
[2026-06-08T15:43:57+00:00] done decode=32 chunk=7
|
| 98 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 99 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 100 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 101 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 102 |
+
[2026-06-08T15:44:00+00:00] done decode=32 chunk=7
|
| 103 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 104 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 105 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 106 |
+
sc1p0 raw_full 25.46511276405882 5.134868781499587 0.08650021418517839 0.4963970441993177 0.046799461477265776 62 62 62420 65364 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 107 |
+
sc1p0 pre_eos 34.104004896357274 5.201895706024951 0.09082145783461594 0.5212396773882587 0.026605401410600388 0 0 56145 62243 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 108 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 109 |
+
sc1p0 raw_full 25.006144201418625 5.1650374072545375 0.08291937332823844 0.48743580337490827 0.04429499426824608 61 62 63095 65425 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 110 |
+
sc1p0 pre_eos 32.25228971694981 5.226595784689143 0.08669180862283869 0.5095801971970533 0.0272140368819713 0 0 57370 62578 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 111 |
+
[2026-06-08T15:44:10+00:00] done
|
| 112 |
+
DONE 2026-06-08T15:44:10+00:00 gpu=0 m=-0.7 s=1.0 g=1.50
|
| 113 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 114 |
+
sc1p0 raw_full 25.145929885629364 5.157438453787342 0.08594957828835587 0.4960966201322557 0.04749804833994092 60 60 62876 65329 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 115 |
+
sc1p0 pre_eos 33.01814577641287 5.223174925266984 0.09006624641098439 0.519842160982965 0.027252458174935438 0 0 56877 62343 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 116 |
+
START 2026-06-08T15:44:10+00:00 gpu=0 m=-0.7 s=1.0 g=1.75
|
| 117 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 118 |
+
use_ema=1
|
| 119 |
+
step=170000
|
| 120 |
+
decode_steps=32
|
| 121 |
+
n=64 chunk_n=8 gpu=0
|
| 122 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 123 |
+
[2026-06-08T15:44:10+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64
|
| 124 |
+
[2026-06-08T15:44:10+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 125 |
+
[2026-06-08T15:44:11+00:00] done
|
| 126 |
+
DONE 2026-06-08T15:44:11+00:00 gpu=3 m=-0.8 s=1.1 g=1.50
|
| 127 |
+
START 2026-06-08T15:44:11+00:00 gpu=3 m=-0.8 s=1.1 g=1.75
|
| 128 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 129 |
+
use_ema=1
|
| 130 |
+
step=170000
|
| 131 |
+
decode_steps=32
|
| 132 |
+
n=64 chunk_n=8 gpu=3
|
| 133 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 134 |
+
[2026-06-08T15:44:11+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64
|
| 135 |
+
[2026-06-08T15:44:11+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 136 |
+
[2026-06-08T15:44:11+00:00] done
|
| 137 |
+
DONE 2026-06-08T15:44:11+00:00 gpu=1 m=-0.7 s=1.1 g=1.50
|
| 138 |
+
START 2026-06-08T15:44:11+00:00 gpu=1 m=-0.7 s=1.1 g=1.75
|
| 139 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 140 |
+
use_ema=1
|
| 141 |
+
step=170000
|
| 142 |
+
decode_steps=32
|
| 143 |
+
n=64 chunk_n=8 gpu=1
|
| 144 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 145 |
+
[2026-06-08T15:44:11+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64
|
| 146 |
+
[2026-06-08T15:44:11+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 147 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 148 |
+
sc1p0 raw_full 29.253331389228197 5.199455862450265 0.08880255731787523 0.5156163964515142 0.044538933329254675 63 63 62271 65381 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 149 |
+
sc1p0 pre_eos 39.120828645419614 5.264322928633949 0.09301990193250649 0.5401330021632882 0.025318078389898406 0 0 56290 62406 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma1p50_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 150 |
+
[2026-06-08T15:44:16+00:00] done
|
| 151 |
+
DONE 2026-06-08T15:44:16+00:00 gpu=2 m=-0.6 s=1.1 g=1.50
|
| 152 |
+
START 2026-06-08T15:44:16+00:00 gpu=2 m=-0.6 s=1.1 g=1.75
|
| 153 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 154 |
+
use_ema=1
|
| 155 |
+
step=170000
|
| 156 |
+
decode_steps=32
|
| 157 |
+
n=64 chunk_n=8 gpu=2
|
| 158 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 159 |
+
[2026-06-08T15:44:16+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64
|
| 160 |
+
[2026-06-08T15:44:16+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 161 |
+
[2026-06-08T15:44:17+00:00] done decode=32 chunk=0
|
| 162 |
+
[2026-06-08T15:44:17+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 163 |
+
[2026-06-08T15:44:18+00:00] done decode=32 chunk=0
|
| 164 |
+
[2026-06-08T15:44:18+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 165 |
+
[2026-06-08T15:44:18+00:00] done decode=32 chunk=0
|
| 166 |
+
[2026-06-08T15:44:18+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 167 |
+
[2026-06-08T15:44:24+00:00] done decode=32 chunk=0
|
| 168 |
+
[2026-06-08T15:44:24+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 169 |
+
[2026-06-08T15:44:25+00:00] done decode=32 chunk=1
|
| 170 |
+
[2026-06-08T15:44:25+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 171 |
+
[2026-06-08T15:44:25+00:00] done decode=32 chunk=1
|
| 172 |
+
[2026-06-08T15:44:25+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 173 |
+
[2026-06-08T15:44:25+00:00] done decode=32 chunk=1
|
| 174 |
+
[2026-06-08T15:44:25+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 175 |
+
[2026-06-08T15:44:31+00:00] done decode=32 chunk=2
|
| 176 |
+
[2026-06-08T15:44:31+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 177 |
+
[2026-06-08T15:44:32+00:00] done decode=32 chunk=1
|
| 178 |
+
[2026-06-08T15:44:32+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 179 |
+
[2026-06-08T15:44:32+00:00] done decode=32 chunk=2
|
| 180 |
+
[2026-06-08T15:44:32+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 181 |
+
[2026-06-08T15:44:32+00:00] done decode=32 chunk=2
|
| 182 |
+
[2026-06-08T15:44:32+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 183 |
+
[2026-06-08T15:44:39+00:00] done decode=32 chunk=3
|
| 184 |
+
[2026-06-08T15:44:39+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 185 |
+
[2026-06-08T15:44:39+00:00] done decode=32 chunk=3
|
| 186 |
+
[2026-06-08T15:44:39+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 187 |
+
[2026-06-08T15:44:39+00:00] done decode=32 chunk=3
|
| 188 |
+
[2026-06-08T15:44:39+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 189 |
+
[2026-06-08T15:44:42+00:00] done decode=32 chunk=2
|
| 190 |
+
[2026-06-08T15:44:42+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 191 |
+
[2026-06-08T15:44:46+00:00] done decode=32 chunk=4
|
| 192 |
+
[2026-06-08T15:44:46+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 193 |
+
[2026-06-08T15:44:46+00:00] done decode=32 chunk=4
|
| 194 |
+
[2026-06-08T15:44:46+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 195 |
+
[2026-06-08T15:44:46+00:00] done decode=32 chunk=4
|
| 196 |
+
[2026-06-08T15:44:46+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 197 |
+
[2026-06-08T15:44:49+00:00] done decode=32 chunk=3
|
| 198 |
+
[2026-06-08T15:44:49+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 199 |
+
[2026-06-08T15:44:53+00:00] done decode=32 chunk=5
|
| 200 |
+
[2026-06-08T15:44:53+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 201 |
+
[2026-06-08T15:44:53+00:00] done decode=32 chunk=5
|
| 202 |
+
[2026-06-08T15:44:53+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 203 |
+
[2026-06-08T15:44:53+00:00] done decode=32 chunk=5
|
| 204 |
+
[2026-06-08T15:44:53+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 205 |
+
[2026-06-08T15:44:56+00:00] done decode=32 chunk=4
|
| 206 |
+
[2026-06-08T15:44:56+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 207 |
+
[2026-06-08T15:45:00+00:00] done decode=32 chunk=6
|
| 208 |
+
[2026-06-08T15:45:00+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 209 |
+
[2026-06-08T15:45:00+00:00] done decode=32 chunk=6
|
| 210 |
+
[2026-06-08T15:45:00+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 211 |
+
[2026-06-08T15:45:00+00:00] done decode=32 chunk=6
|
| 212 |
+
[2026-06-08T15:45:00+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 213 |
+
[2026-06-08T15:45:03+00:00] done decode=32 chunk=5
|
| 214 |
+
[2026-06-08T15:45:03+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 215 |
+
[2026-06-08T15:45:07+00:00] done decode=32 chunk=7
|
| 216 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 217 |
+
[2026-06-08T15:45:07+00:00] done decode=32 chunk=7
|
| 218 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 219 |
+
[2026-06-08T15:45:07+00:00] done decode=32 chunk=7
|
| 220 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 221 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 222 |
+
[2026-06-08T15:45:10+00:00] done decode=32 chunk=6
|
| 223 |
+
[2026-06-08T15:45:10+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 224 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 225 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 226 |
+
[2026-06-08T15:45:18+00:00] done decode=32 chunk=7
|
| 227 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 228 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 229 |
+
sc1p0 raw_full 24.674175155187978 5.093122741046169 0.08530871215030802 0.48701837399373193 0.044997157912525156 61 61 62013 65093 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 230 |
+
sc1p0 pre_eos 32.57177880020669 5.155799273342083 0.08941453046502641 0.5104101251147287 0.02523186912276182 0 0 56005 62104 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 231 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 232 |
+
sc1p0 raw_full 25.595100633445327 5.141551190417838 0.083746328928047 0.49122753346080306 0.04238558492413118 63 63 62390 65376 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 233 |
+
sc1p0 pre_eos 33.139684495570776 5.201097427500396 0.08752518307697227 0.5134231943844838 0.02646221738991398 0 0 56687 62542 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 234 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 235 |
+
sc1p0 raw_full 27.28656623661575 5.141192201769601 0.08421745587042055 0.4982240729967237 0.04099879055098823 60 61 62326 65319 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 236 |
+
sc1p0 pre_eos 35.22637379554865 5.196268191770475 0.08790067431529833 0.5199821031942602 0.025198938992042442 0 0 56820 62582 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 237 |
+
[2026-06-08T15:45:20+00:00] done
|
| 238 |
+
DONE 2026-06-08T15:45:20+00:00 gpu=0 m=-0.7 s=1.0 g=1.75
|
| 239 |
+
START 2026-06-08T15:45:20+00:00 gpu=0 m=-0.7 s=1.0 g=2.00
|
| 240 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 241 |
+
use_ema=1
|
| 242 |
+
step=170000
|
| 243 |
+
decode_steps=32
|
| 244 |
+
n=64 chunk_n=8 gpu=0
|
| 245 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 246 |
+
[2026-06-08T15:45:21+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64
|
| 247 |
+
[2026-06-08T15:45:21+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 248 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 249 |
+
[2026-06-08T15:45:21+00:00] done
|
| 250 |
+
DONE 2026-06-08T15:45:21+00:00 gpu=3 m=-0.8 s=1.1 g=1.75
|
| 251 |
+
START 2026-06-08T15:45:21+00:00 gpu=3 m=-0.8 s=1.1 g=2.00
|
| 252 |
+
[2026-06-08T15:45:21+00:00] done
|
| 253 |
+
DONE 2026-06-08T15:45:21+00:00 gpu=1 m=-0.7 s=1.1 g=1.75
|
| 254 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 255 |
+
use_ema=1
|
| 256 |
+
step=170000
|
| 257 |
+
decode_steps=32
|
| 258 |
+
n=64 chunk_n=8 gpu=3
|
| 259 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 260 |
+
[2026-06-08T15:45:21+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64
|
| 261 |
+
[2026-06-08T15:45:21+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 262 |
+
START 2026-06-08T15:45:21+00:00 gpu=1 m=-0.7 s=1.1 g=2.00
|
| 263 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 264 |
+
use_ema=1
|
| 265 |
+
step=170000
|
| 266 |
+
decode_steps=32
|
| 267 |
+
n=64 chunk_n=8 gpu=1
|
| 268 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 269 |
+
[2026-06-08T15:45:21+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64
|
| 270 |
+
[2026-06-08T15:45:21+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 271 |
+
[2026-06-08T15:45:27+00:00] done decode=32 chunk=0
|
| 272 |
+
[2026-06-08T15:45:27+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 273 |
+
[2026-06-08T15:45:28+00:00] done decode=32 chunk=0
|
| 274 |
+
[2026-06-08T15:45:28+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 275 |
+
[2026-06-08T15:45:28+00:00] done decode=32 chunk=0
|
| 276 |
+
[2026-06-08T15:45:28+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 277 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 278 |
+
sc1p0 raw_full 28.844078229304245 5.136318742884756 0.08770261773681547 0.5041099251625567 0.04272416384241439 63 63 61485 65209 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 279 |
+
sc1p0 pre_eos 38.152279786750405 5.195950655605326 0.09169339320076972 0.5270770859058035 0.024342527261064784 0 0 55756 62360 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma1p75_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 280 |
+
[2026-06-08T15:45:34+00:00] done
|
| 281 |
+
DONE 2026-06-08T15:45:34+00:00 gpu=2 m=-0.6 s=1.1 g=1.75
|
| 282 |
+
START 2026-06-08T15:45:34+00:00 gpu=2 m=-0.6 s=1.1 g=2.00
|
| 283 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 284 |
+
use_ema=1
|
| 285 |
+
step=170000
|
| 286 |
+
decode_steps=32
|
| 287 |
+
n=64 chunk_n=8 gpu=2
|
| 288 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 289 |
+
[2026-06-08T15:45:34+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64
|
| 290 |
+
[2026-06-08T15:45:34+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 291 |
+
[2026-06-08T15:45:35+00:00] done decode=32 chunk=1
|
| 292 |
+
[2026-06-08T15:45:35+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 293 |
+
[2026-06-08T15:45:35+00:00] done decode=32 chunk=1
|
| 294 |
+
[2026-06-08T15:45:35+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 295 |
+
[2026-06-08T15:45:35+00:00] done decode=32 chunk=1
|
| 296 |
+
[2026-06-08T15:45:35+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 297 |
+
[2026-06-08T15:45:41+00:00] done decode=32 chunk=2
|
| 298 |
+
[2026-06-08T15:45:41+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 299 |
+
[2026-06-08T15:45:42+00:00] done decode=32 chunk=2
|
| 300 |
+
[2026-06-08T15:45:42+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 301 |
+
[2026-06-08T15:45:42+00:00] done decode=32 chunk=2
|
| 302 |
+
[2026-06-08T15:45:42+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 303 |
+
[2026-06-08T15:45:43+00:00] done decode=32 chunk=0
|
| 304 |
+
[2026-06-08T15:45:43+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 305 |
+
[2026-06-08T15:45:48+00:00] done decode=32 chunk=3
|
| 306 |
+
[2026-06-08T15:45:48+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 307 |
+
[2026-06-08T15:45:49+00:00] done decode=32 chunk=3
|
| 308 |
+
[2026-06-08T15:45:49+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 309 |
+
[2026-06-08T15:45:49+00:00] done decode=32 chunk=3
|
| 310 |
+
[2026-06-08T15:45:49+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 311 |
+
[2026-06-08T15:45:51+00:00] done decode=32 chunk=1
|
| 312 |
+
[2026-06-08T15:45:51+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 313 |
+
[2026-06-08T15:45:55+00:00] done decode=32 chunk=4
|
| 314 |
+
[2026-06-08T15:45:55+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 315 |
+
[2026-06-08T15:45:56+00:00] done decode=32 chunk=4
|
| 316 |
+
[2026-06-08T15:45:56+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 317 |
+
[2026-06-08T15:45:56+00:00] done decode=32 chunk=4
|
| 318 |
+
[2026-06-08T15:45:56+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 319 |
+
[2026-06-08T15:46:00+00:00] done decode=32 chunk=2
|
| 320 |
+
[2026-06-08T15:46:00+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 321 |
+
[2026-06-08T15:46:02+00:00] done decode=32 chunk=5
|
| 322 |
+
[2026-06-08T15:46:02+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 323 |
+
[2026-06-08T15:46:03+00:00] done decode=32 chunk=5
|
| 324 |
+
[2026-06-08T15:46:03+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 325 |
+
[2026-06-08T15:46:03+00:00] done decode=32 chunk=5
|
| 326 |
+
[2026-06-08T15:46:03+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 327 |
+
[2026-06-08T15:46:07+00:00] done decode=32 chunk=3
|
| 328 |
+
[2026-06-08T15:46:07+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 329 |
+
[2026-06-08T15:46:09+00:00] done decode=32 chunk=6
|
| 330 |
+
[2026-06-08T15:46:09+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 331 |
+
[2026-06-08T15:46:10+00:00] done decode=32 chunk=6
|
| 332 |
+
[2026-06-08T15:46:10+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 333 |
+
[2026-06-08T15:46:10+00:00] done decode=32 chunk=6
|
| 334 |
+
[2026-06-08T15:46:10+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 335 |
+
[2026-06-08T15:46:15+00:00] done decode=32 chunk=4
|
| 336 |
+
[2026-06-08T15:46:15+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 337 |
+
[2026-06-08T15:46:16+00:00] done decode=32 chunk=7
|
| 338 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 339 |
+
[2026-06-08T15:46:17+00:00] done decode=32 chunk=7
|
| 340 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 341 |
+
[2026-06-08T15:46:17+00:00] done decode=32 chunk=7
|
| 342 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 343 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 344 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 345 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 346 |
+
[2026-06-08T15:46:22+00:00] done decode=32 chunk=5
|
| 347 |
+
[2026-06-08T15:46:22+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 348 |
+
[2026-06-08T15:46:28+00:00] done decode=32 chunk=6
|
| 349 |
+
[2026-06-08T15:46:28+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 350 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 351 |
+
sc1p0 raw_full 24.084238199197365 5.021201815050668 0.07967938205949517 0.4627881314369789 0.04164048491164615 60 62 61275 65249 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 352 |
+
sc1p0 pre_eos 31.02684902921224 5.073971331458516 0.0832172869147659 0.4833050549028396 0.024297719087635054 0 0 55695 62475 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 353 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 354 |
+
sc1p0 raw_full 25.265202919766065 5.085413682067284 0.08192852326365475 0.48101944797780877 0.03766934346839944 58 59 61678 65252 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 355 |
+
sc1p0 pre_eos 31.732081700246965 5.133858975796755 0.0851996493185622 0.5002550451111041 0.02174224914322149 0 0 56610 62735 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 356 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 357 |
+
sc1p0 raw_full 23.571224444785607 5.075683824364516 0.07841185747752989 0.47367856924113433 0.04181659495628474 59 64 62232 65309 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 358 |
+
sc1p0 pre_eos 30.236367449616047 5.133033762537179 0.08190427437931917 0.4948089136312009 0.024251343742001535 0 0 56611 62512 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 359 |
+
[2026-06-08T15:46:30+00:00] done
|
| 360 |
+
DONE 2026-06-08T15:46:30+00:00 gpu=0 m=-0.7 s=1.0 g=2.00
|
| 361 |
+
START 2026-06-08T15:46:30+00:00 gpu=0 m=-0.7 s=1.0 g=2.25
|
| 362 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 363 |
+
use_ema=1
|
| 364 |
+
step=170000
|
| 365 |
+
decode_steps=32
|
| 366 |
+
n=64 chunk_n=8 gpu=0
|
| 367 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 368 |
+
[2026-06-08T15:46:30+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64
|
| 369 |
+
[2026-06-08T15:46:30+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 370 |
+
[2026-06-08T15:46:30+00:00] done
|
| 371 |
+
DONE 2026-06-08T15:46:30+00:00 gpu=1 m=-0.7 s=1.1 g=2.00
|
| 372 |
+
START 2026-06-08T15:46:30+00:00 gpu=1 m=-0.7 s=1.1 g=2.25
|
| 373 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 374 |
+
use_ema=1
|
| 375 |
+
step=170000
|
| 376 |
+
decode_steps=32
|
| 377 |
+
n=64 chunk_n=8 gpu=1
|
| 378 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 379 |
+
[2026-06-08T15:46:31+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64
|
| 380 |
+
[2026-06-08T15:46:31+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 381 |
+
[2026-06-08T15:46:31+00:00] done
|
| 382 |
+
DONE 2026-06-08T15:46:31+00:00 gpu=3 m=-0.8 s=1.1 g=2.00
|
| 383 |
+
START 2026-06-08T15:46:31+00:00 gpu=3 m=-0.8 s=1.1 g=2.25
|
| 384 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 385 |
+
use_ema=1
|
| 386 |
+
step=170000
|
| 387 |
+
decode_steps=32
|
| 388 |
+
n=64 chunk_n=8 gpu=3
|
| 389 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 390 |
+
[2026-06-08T15:46:31+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64
|
| 391 |
+
[2026-06-08T15:46:31+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 392 |
+
[2026-06-08T15:46:36+00:00] done decode=32 chunk=7
|
| 393 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 394 |
+
[2026-06-08T15:46:37+00:00] done decode=32 chunk=0
|
| 395 |
+
[2026-06-08T15:46:37+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 396 |
+
[2026-06-08T15:46:38+00:00] done decode=32 chunk=0
|
| 397 |
+
[2026-06-08T15:46:38+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 398 |
+
[2026-06-08T15:46:38+00:00] done decode=32 chunk=0
|
| 399 |
+
[2026-06-08T15:46:38+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 400 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 401 |
+
[2026-06-08T15:46:44+00:00] done decode=32 chunk=1
|
| 402 |
+
[2026-06-08T15:46:44+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 403 |
+
[2026-06-08T15:46:45+00:00] done decode=32 chunk=1
|
| 404 |
+
[2026-06-08T15:46:45+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 405 |
+
[2026-06-08T15:46:45+00:00] done decode=32 chunk=1
|
| 406 |
+
[2026-06-08T15:46:45+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 407 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 408 |
+
sc1p0 raw_full 27.654694039489147 5.070332891407034 0.08547939322361459 0.4843241916682005 0.04104483335122782 61 61 61159 65197 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 409 |
+
sc1p0 pre_eos 35.948430977789364 5.123739168993003 0.08920909382004483 0.5054996077426792 0.024703810438680755 0 0 55655 62460 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p00_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 410 |
+
[2026-06-08T15:46:48+00:00] done
|
| 411 |
+
DONE 2026-06-08T15:46:48+00:00 gpu=2 m=-0.6 s=1.1 g=2.00
|
| 412 |
+
START 2026-06-08T15:46:48+00:00 gpu=2 m=-0.6 s=1.1 g=2.25
|
| 413 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 414 |
+
use_ema=1
|
| 415 |
+
step=170000
|
| 416 |
+
decode_steps=32
|
| 417 |
+
n=64 chunk_n=8 gpu=2
|
| 418 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 419 |
+
[2026-06-08T15:46:48+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64
|
| 420 |
+
[2026-06-08T15:46:48+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 421 |
+
[2026-06-08T15:46:51+00:00] done decode=32 chunk=2
|
| 422 |
+
[2026-06-08T15:46:51+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 423 |
+
[2026-06-08T15:46:52+00:00] done decode=32 chunk=2
|
| 424 |
+
[2026-06-08T15:46:52+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 425 |
+
[2026-06-08T15:46:52+00:00] done decode=32 chunk=2
|
| 426 |
+
[2026-06-08T15:46:52+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 427 |
+
[2026-06-08T15:46:55+00:00] done decode=32 chunk=0
|
| 428 |
+
[2026-06-08T15:46:55+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 429 |
+
[2026-06-08T15:46:58+00:00] done decode=32 chunk=3
|
| 430 |
+
[2026-06-08T15:46:58+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 431 |
+
[2026-06-08T15:46:59+00:00] done decode=32 chunk=3
|
| 432 |
+
[2026-06-08T15:46:59+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 433 |
+
[2026-06-08T15:46:59+00:00] done decode=32 chunk=3
|
| 434 |
+
[2026-06-08T15:46:59+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 435 |
+
[2026-06-08T15:47:02+00:00] done decode=32 chunk=1
|
| 436 |
+
[2026-06-08T15:47:02+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 437 |
+
[2026-06-08T15:47:05+00:00] done decode=32 chunk=4
|
| 438 |
+
[2026-06-08T15:47:05+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 439 |
+
[2026-06-08T15:47:06+00:00] done decode=32 chunk=4
|
| 440 |
+
[2026-06-08T15:47:06+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 441 |
+
[2026-06-08T15:47:06+00:00] done decode=32 chunk=4
|
| 442 |
+
[2026-06-08T15:47:06+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 443 |
+
[2026-06-08T15:47:08+00:00] done decode=32 chunk=2
|
| 444 |
+
[2026-06-08T15:47:08+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 445 |
+
[2026-06-08T15:47:12+00:00] done decode=32 chunk=5
|
| 446 |
+
[2026-06-08T15:47:12+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 447 |
+
[2026-06-08T15:47:13+00:00] done decode=32 chunk=5
|
| 448 |
+
[2026-06-08T15:47:13+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 449 |
+
[2026-06-08T15:47:13+00:00] done decode=32 chunk=5
|
| 450 |
+
[2026-06-08T15:47:13+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 451 |
+
[2026-06-08T15:47:15+00:00] done decode=32 chunk=3
|
| 452 |
+
[2026-06-08T15:47:15+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 453 |
+
[2026-06-08T15:47:19+00:00] done decode=32 chunk=6
|
| 454 |
+
[2026-06-08T15:47:19+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 455 |
+
[2026-06-08T15:47:20+00:00] done decode=32 chunk=6
|
| 456 |
+
[2026-06-08T15:47:20+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 457 |
+
[2026-06-08T15:47:20+00:00] done decode=32 chunk=6
|
| 458 |
+
[2026-06-08T15:47:20+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 459 |
+
[2026-06-08T15:47:22+00:00] done decode=32 chunk=4
|
| 460 |
+
[2026-06-08T15:47:22+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 461 |
+
[2026-06-08T15:47:26+00:00] done decode=32 chunk=7
|
| 462 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 463 |
+
[2026-06-08T15:47:27+00:00] done decode=32 chunk=7
|
| 464 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 465 |
+
[2026-06-08T15:47:27+00:00] done decode=32 chunk=7
|
| 466 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 467 |
+
[2026-06-08T15:47:29+00:00] done decode=32 chunk=5
|
| 468 |
+
[2026-06-08T15:47:29+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 469 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 470 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 471 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 472 |
+
[2026-06-08T15:47:36+00:00] done decode=32 chunk=6
|
| 473 |
+
[2026-06-08T15:47:36+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 474 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 475 |
+
sc1p0 raw_full 23.693922238882447 4.992047445144883 0.0808761454511965 0.4573432799164978 0.03932523906736865 61 61 60941 65149 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 476 |
+
sc1p0 pre_eos 29.9730855295806 5.037358073108425 0.08425295077247864 0.4764814074370252 0.023462239708281356 0 0 55662 62526 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 477 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 478 |
+
sc1p0 raw_full 24.966059279759392 5.049597169111026 0.08053794075299452 0.47283449490694646 0.03861471065772141 62 65 61350 65286 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 479 |
+
sc1p0 pre_eos 31.579606134977716 5.097047145475261 0.08384370015948964 0.4922726040287724 0.0235725677830941 0 0 56138 62700 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 480 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 481 |
+
sc1p0 raw_full 23.697902145866742 5.041513487854978 0.07807826233682563 0.4658383187605461 0.03982144774585449 60 61 61816 65191 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 482 |
+
sc1p0 pre_eos 29.48738932880424 5.089198636767547 0.0812009444196286 0.4844375668043967 0.022876651139046647 0 0 56767 62684 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 483 |
+
[2026-06-08T15:47:39+00:00] done
|
| 484 |
+
DONE 2026-06-08T15:47:39+00:00 gpu=0 m=-0.7 s=1.0 g=2.25
|
| 485 |
+
START 2026-06-08T15:47:40+00:00 gpu=0 m=-0.7 s=1.0 g=2.50
|
| 486 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 487 |
+
use_ema=1
|
| 488 |
+
step=170000
|
| 489 |
+
decode_steps=32
|
| 490 |
+
n=64 chunk_n=8 gpu=0
|
| 491 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 492 |
+
[2026-06-08T15:47:40+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64
|
| 493 |
+
[2026-06-08T15:47:40+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 494 |
+
[2026-06-08T15:47:40+00:00] done
|
| 495 |
+
DONE 2026-06-08T15:47:40+00:00 gpu=1 m=-0.7 s=1.1 g=2.25
|
| 496 |
+
START 2026-06-08T15:47:40+00:00 gpu=1 m=-0.7 s=1.1 g=2.50
|
| 497 |
+
[2026-06-08T15:47:40+00:00] done
|
| 498 |
+
DONE 2026-06-08T15:47:40+00:00 gpu=3 m=-0.8 s=1.1 g=2.25
|
| 499 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 500 |
+
use_ema=1
|
| 501 |
+
step=170000
|
| 502 |
+
decode_steps=32
|
| 503 |
+
n=64 chunk_n=8 gpu=1
|
| 504 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 505 |
+
[2026-06-08T15:47:40+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64
|
| 506 |
+
[2026-06-08T15:47:40+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 507 |
+
START 2026-06-08T15:47:40+00:00 gpu=3 m=-0.8 s=1.1 g=2.50
|
| 508 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 509 |
+
use_ema=1
|
| 510 |
+
step=170000
|
| 511 |
+
decode_steps=32
|
| 512 |
+
n=64 chunk_n=8 gpu=3
|
| 513 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 514 |
+
[2026-06-08T15:47:40+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64
|
| 515 |
+
[2026-06-08T15:47:40+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 516 |
+
[2026-06-08T15:47:43+00:00] done decode=32 chunk=7
|
| 517 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 518 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 519 |
+
[2026-06-08T15:47:46+00:00] done decode=32 chunk=0
|
| 520 |
+
[2026-06-08T15:47:46+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 521 |
+
[2026-06-08T15:47:47+00:00] done decode=32 chunk=0
|
| 522 |
+
[2026-06-08T15:47:47+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 523 |
+
[2026-06-08T15:47:47+00:00] done decode=32 chunk=0
|
| 524 |
+
[2026-06-08T15:47:47+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 525 |
+
[2026-06-08T15:47:54+00:00] done decode=32 chunk=1
|
| 526 |
+
[2026-06-08T15:47:54+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 527 |
+
[2026-06-08T15:47:54+00:00] done decode=32 chunk=1
|
| 528 |
+
[2026-06-08T15:47:54+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 529 |
+
[2026-06-08T15:47:54+00:00] done decode=32 chunk=1
|
| 530 |
+
[2026-06-08T15:47:54+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 531 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 532 |
+
sc1p0 raw_full 25.174531009473792 5.0388563023984165 0.08290306270970906 0.4709045780474352 0.04130597986793118 61 62 61316 65269 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 533 |
+
sc1p0 pre_eos 32.537291715453534 5.092185114167868 0.08654476812081073 0.49161734122540396 0.022572027323191118 0 0 55766 62511 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p25_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 534 |
+
[2026-06-08T15:47:55+00:00] done
|
| 535 |
+
DONE 2026-06-08T15:47:55+00:00 gpu=2 m=-0.6 s=1.1 g=2.25
|
| 536 |
+
START 2026-06-08T15:47:55+00:00 gpu=2 m=-0.6 s=1.1 g=2.50
|
| 537 |
+
checkpoint=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr2e3_ema0p9999_elfopt_t5embed_unfixed_norm_stateprobadd_selfcond_ce_fast_20260606_144231/step_170000.pt
|
| 538 |
+
use_ema=1
|
| 539 |
+
step=170000
|
| 540 |
+
decode_steps=32
|
| 541 |
+
n=64 chunk_n=8 gpu=2
|
| 542 |
+
out_base=/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608
|
| 543 |
+
[2026-06-08T15:47:55+00:00] infer step=170000 decode=32 -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64
|
| 544 |
+
[2026-06-08T15:47:55+00:00] run decode=32 chunk=0 n=8 seed=123
|
| 545 |
+
[2026-06-08T15:48:01+00:00] done decode=32 chunk=2
|
| 546 |
+
[2026-06-08T15:48:01+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 547 |
+
[2026-06-08T15:48:01+00:00] done decode=32 chunk=2
|
| 548 |
+
[2026-06-08T15:48:01+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 549 |
+
[2026-06-08T15:48:01+00:00] done decode=32 chunk=2
|
| 550 |
+
[2026-06-08T15:48:01+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 551 |
+
[2026-06-08T15:48:02+00:00] done decode=32 chunk=0
|
| 552 |
+
[2026-06-08T15:48:02+00:00] run decode=32 chunk=1 n=8 seed=124
|
| 553 |
+
[2026-06-08T15:48:07+00:00] done decode=32 chunk=3
|
| 554 |
+
[2026-06-08T15:48:07+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 555 |
+
[2026-06-08T15:48:08+00:00] done decode=32 chunk=3
|
| 556 |
+
[2026-06-08T15:48:08+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 557 |
+
[2026-06-08T15:48:08+00:00] done decode=32 chunk=3
|
| 558 |
+
[2026-06-08T15:48:08+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 559 |
+
[2026-06-08T15:48:09+00:00] done decode=32 chunk=1
|
| 560 |
+
[2026-06-08T15:48:09+00:00] run decode=32 chunk=2 n=8 seed=125
|
| 561 |
+
[2026-06-08T15:48:15+00:00] done decode=32 chunk=4
|
| 562 |
+
[2026-06-08T15:48:15+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 563 |
+
[2026-06-08T15:48:15+00:00] done decode=32 chunk=4
|
| 564 |
+
[2026-06-08T15:48:15+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 565 |
+
[2026-06-08T15:48:15+00:00] done decode=32 chunk=4
|
| 566 |
+
[2026-06-08T15:48:15+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 567 |
+
[2026-06-08T15:48:16+00:00] done decode=32 chunk=2
|
| 568 |
+
[2026-06-08T15:48:16+00:00] run decode=32 chunk=3 n=8 seed=126
|
| 569 |
+
[2026-06-08T15:48:22+00:00] done decode=32 chunk=5
|
| 570 |
+
[2026-06-08T15:48:22+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 571 |
+
[2026-06-08T15:48:22+00:00] done decode=32 chunk=5
|
| 572 |
+
[2026-06-08T15:48:22+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 573 |
+
[2026-06-08T15:48:22+00:00] done decode=32 chunk=5
|
| 574 |
+
[2026-06-08T15:48:22+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 575 |
+
[2026-06-08T15:48:23+00:00] done decode=32 chunk=3
|
| 576 |
+
[2026-06-08T15:48:23+00:00] run decode=32 chunk=4 n=8 seed=127
|
| 577 |
+
[2026-06-08T15:48:29+00:00] done decode=32 chunk=6
|
| 578 |
+
[2026-06-08T15:48:29+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 579 |
+
[2026-06-08T15:48:29+00:00] done decode=32 chunk=6
|
| 580 |
+
[2026-06-08T15:48:29+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 581 |
+
[2026-06-08T15:48:29+00:00] done decode=32 chunk=6
|
| 582 |
+
[2026-06-08T15:48:29+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 583 |
+
[2026-06-08T15:48:30+00:00] done decode=32 chunk=4
|
| 584 |
+
[2026-06-08T15:48:30+00:00] run decode=32 chunk=5 n=8 seed=128
|
| 585 |
+
[2026-06-08T15:48:36+00:00] done decode=32 chunk=7
|
| 586 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 587 |
+
[2026-06-08T15:48:36+00:00] done decode=32 chunk=7
|
| 588 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 589 |
+
[2026-06-08T15:48:36+00:00] done decode=32 chunk=7
|
| 590 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 591 |
+
[2026-06-08T15:48:37+00:00] done decode=32 chunk=5
|
| 592 |
+
[2026-06-08T15:48:37+00:00] run decode=32 chunk=6 n=8 seed=129
|
| 593 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 594 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 595 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 596 |
+
[2026-06-08T15:48:44+00:00] done decode=32 chunk=6
|
| 597 |
+
[2026-06-08T15:48:44+00:00] run decode=32 chunk=7 n=8 seed=130
|
| 598 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 599 |
+
sc1p0 raw_full 22.183295482418455 4.971469676607801 0.07550173751970975 0.45124154190012555 0.03667927070097821 57 58 61603 65323 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 600 |
+
sc1p0 pre_eos 27.258200674732276 5.015244897536482 0.07842638383131649 0.46868937442356007 0.02238936505160049 0 0 56696 62887 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p8_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p8_s1p1_sc1p0_decode32_n64/sc1p0
|
| 601 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 602 |
+
sc1p0 raw_full 23.524054834667172 5.024235190682451 0.07921960489815937 0.46242030407062285 0.038222808012383334 59 60 61266 65249 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 603 |
+
sc1p0 pre_eos 29.52189721859362 5.071457529805532 0.08244413608306618 0.48121092254689296 0.02309520391725282 0 0 56124 62697 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p7_s1p1_sc1p0_decode32_n64/sc1p0
|
| 604 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 605 |
+
sc1p0 raw_full 21.952656805572055 4.916800291360432 0.07723084941670627 0.4411791758646063 0.03832416108411387 59 60 60448 65233 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 606 |
+
sc1p0 pre_eos 27.51050197844278 4.959951572644155 0.08038677559356651 0.45914378261077693 0.021939622159816187 0 0 55288 62672 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p7_s1p0_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p7_s1p0_sc1p0_decode32_n64/sc1p0
|
| 607 |
+
[2026-06-08T15:48:49+00:00] done
|
| 608 |
+
DONE 2026-06-08T15:48:49+00:00 gpu=3 m=-0.8 s=1.1 g=2.50
|
| 609 |
+
[2026-06-08T15:48:49+00:00] done
|
| 610 |
+
DONE 2026-06-08T15:48:49+00:00 gpu=1 m=-0.7 s=1.1 g=2.50
|
| 611 |
+
[2026-06-08T15:48:49+00:00] done
|
| 612 |
+
DONE 2026-06-08T15:48:49+00:00 gpu=0 m=-0.7 s=1.0 g=2.50
|
| 613 |
+
[2026-06-08T15:48:51+00:00] done decode=32 chunk=7
|
| 614 |
+
merged 64 samples -> /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0/samples64.txt
|
| 615 |
+
loading scorer /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard dtype=fp32 device=cuda
|
| 616 |
+
run kind ppl mean_entropy distinct_1 distinct_2 top_token_mass eos_rows eos_total ppl_tokens t5_tokens path
|
| 617 |
+
sc1p0 raw_full 25.56861985862191 5.007517763619101 0.0820928699544695 0.46860340334202055 0.0398736796921709 61 61 60569 65231 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 618 |
+
sc1p0 pre_eos 32.81872528504946 5.056879901669754 0.08556953123751379 0.48847653752717046 0.021624126963831928 0 0 55207 62569 /e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/docs/lta_samples/metrics_20260608/owt_t5_elftokenized_full_pow1_unfixed_norm_stateprobadd_selfcond_ce_fast_lr2e3_ema0p9999_ema_decode32_logitnorm_gamma_mn0p6_s1p1_step170000_ema_dgamma2p50_tschedlogit_normal_mn0p6_s1p1_sc1p0_decode32_n64/sc1p0
|
| 619 |
+
[2026-06-08T15:49:03+00:00] done
|
| 620 |
+
DONE 2026-06-08T15:49:03+00:00 gpu=2 m=-0.6 s=1.1 g=2.50
|
| 621 |
+
ALL_DONE 2026-06-08T15:49:03+00:00
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/length_diag_len512_d256_l3_h4_4gpu_steps40000_20260526_221958.log
ADDED
|
@@ -0,0 +1,426 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
W0526 22:29:48.987000 1918781 torch/distributed/run.py:792]
|
| 2 |
+
W0526 22:29:48.987000 1918781 torch/distributed/run.py:792] *****************************************
|
| 3 |
+
W0526 22:29:48.987000 1918781 torch/distributed/run.py:792] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
|
| 4 |
+
W0526 22:29:48.987000 1918781 torch/distributed/run.py:792] *****************************************
|
| 5 |
+
{
|
| 6 |
+
"cache_path": "../mini_owt_fit/cache/owt_t5_len512_from_payload1022_appendeos1.pt",
|
| 7 |
+
"tokenizer_path": "/e2e-data/evad-tech-vla/wanghan58/models/hf/t5-small/tokenizer.json",
|
| 8 |
+
"out_dir": "runs/length_diag_len512_d256_l3_h4_4gpu_steps40000_20260526_221958",
|
| 9 |
+
"subset_size": 0,
|
| 10 |
+
"resume": "",
|
| 11 |
+
"steps": 40000,
|
| 12 |
+
"batch_size": 8,
|
| 13 |
+
"grad_accum": 1,
|
| 14 |
+
"lr": 0.0003,
|
| 15 |
+
"log_every": 100,
|
| 16 |
+
"save_every": 1000,
|
| 17 |
+
"dim": 256,
|
| 18 |
+
"layers": 3,
|
| 19 |
+
"heads": 4,
|
| 20 |
+
"mlp_dim": 1024,
|
| 21 |
+
"time_tokens": 4,
|
| 22 |
+
"c_min": 1.0,
|
| 23 |
+
"c_max": 1024.0,
|
| 24 |
+
"seed": 1234
|
| 25 |
+
}
|
| 26 |
+
[data] rows=2860537 length=512 vocab=32100 seen=8013769 dropped=5153232 bos=1:</s> eos=1:</s>
|
| 27 |
+
step=100 loss=7.2286 {'pos0_bos_p': 0.5428104996681213, 'pos0_bos_top1': 4, 'last_eos_p': 0.5332822203636169, 'last_eos_top1': 4}
|
| 28 |
+
step=200 loss=7.2465 {'pos0_bos_p': 0.9345881342887878, 'pos0_bos_top1': 4, 'last_eos_p': 0.933324933052063, 'last_eos_top1': 4}
|
| 29 |
+
step=300 loss=6.9267 {'pos0_bos_p': 0.8070314526557922, 'pos0_bos_top1': 4, 'last_eos_p': 0.811517596244812, 'last_eos_top1': 4}
|
| 30 |
+
step=400 loss=6.8439 {'pos0_bos_p': 0.9430739879608154, 'pos0_bos_top1': 4, 'last_eos_p': 0.9447622299194336, 'last_eos_top1': 4}
|
| 31 |
+
step=500 loss=6.7029 {'pos0_bos_p': 0.97152179479599, 'pos0_bos_top1': 4, 'last_eos_p': 0.9706050157546997, 'last_eos_top1': 4}
|
| 32 |
+
step=600 loss=6.0849 {'pos0_bos_p': 0.9864975810050964, 'pos0_bos_top1': 4, 'last_eos_p': 0.9877360463142395, 'last_eos_top1': 4}
|
| 33 |
+
step=700 loss=5.8156 {'pos0_bos_p': 0.9878588318824768, 'pos0_bos_top1': 4, 'last_eos_p': 0.9911380410194397, 'last_eos_top1': 4}
|
| 34 |
+
step=800 loss=5.4763 {'pos0_bos_p': 0.9893057942390442, 'pos0_bos_top1': 4, 'last_eos_p': 0.9928054213523865, 'last_eos_top1': 4}
|
| 35 |
+
step=900 loss=5.1360 {'pos0_bos_p': 0.9925646781921387, 'pos0_bos_top1': 4, 'last_eos_p': 0.9953165054321289, 'last_eos_top1': 4}
|
| 36 |
+
step=1000 loss=5.8050 {'pos0_bos_p': 0.995136559009552, 'pos0_bos_top1': 4, 'last_eos_p': 0.9971464276313782, 'last_eos_top1': 4}
|
| 37 |
+
step=1100 loss=5.2770 {'pos0_bos_p': 0.9963133931159973, 'pos0_bos_top1': 4, 'last_eos_p': 0.9977411031723022, 'last_eos_top1': 4}
|
| 38 |
+
step=1200 loss=4.6809 {'pos0_bos_p': 0.9968127608299255, 'pos0_bos_top1': 4, 'last_eos_p': 0.997734546661377, 'last_eos_top1': 4}
|
| 39 |
+
step=1300 loss=5.6375 {'pos0_bos_p': 0.9968425035476685, 'pos0_bos_top1': 4, 'last_eos_p': 0.9973317384719849, 'last_eos_top1': 4}
|
| 40 |
+
step=1400 loss=4.9622 {'pos0_bos_p': 0.9977274537086487, 'pos0_bos_top1': 4, 'last_eos_p': 0.99802565574646, 'last_eos_top1': 4}
|
| 41 |
+
step=1500 loss=5.1946 {'pos0_bos_p': 0.9980510473251343, 'pos0_bos_top1': 4, 'last_eos_p': 0.9982170462608337, 'last_eos_top1': 4}
|
| 42 |
+
step=1600 loss=6.0009 {'pos0_bos_p': 0.9980791807174683, 'pos0_bos_top1': 4, 'last_eos_p': 0.9982757568359375, 'last_eos_top1': 4}
|
| 43 |
+
step=1700 loss=5.1194 {'pos0_bos_p': 0.9980650544166565, 'pos0_bos_top1': 4, 'last_eos_p': 0.9980505704879761, 'last_eos_top1': 4}
|
| 44 |
+
step=1800 loss=4.3220 {'pos0_bos_p': 0.9983502626419067, 'pos0_bos_top1': 4, 'last_eos_p': 0.9984796643257141, 'last_eos_top1': 4}
|
| 45 |
+
step=1900 loss=5.5107 {'pos0_bos_p': 0.9984862208366394, 'pos0_bos_top1': 4, 'last_eos_p': 0.9985274076461792, 'last_eos_top1': 4}
|
| 46 |
+
step=2000 loss=5.0794 {'pos0_bos_p': 0.9985483288764954, 'pos0_bos_top1': 4, 'last_eos_p': 0.998536229133606, 'last_eos_top1': 4}
|
| 47 |
+
step=2100 loss=4.9547 {'pos0_bos_p': 0.9988847374916077, 'pos0_bos_top1': 4, 'last_eos_p': 0.9987375140190125, 'last_eos_top1': 4}
|
| 48 |
+
step=2200 loss=4.3467 {'pos0_bos_p': 0.998736560344696, 'pos0_bos_top1': 4, 'last_eos_p': 0.9987230896949768, 'last_eos_top1': 4}
|
| 49 |
+
step=2300 loss=4.4955 {'pos0_bos_p': 0.9987422823905945, 'pos0_bos_top1': 4, 'last_eos_p': 0.998599112033844, 'last_eos_top1': 4}
|
| 50 |
+
step=2400 loss=3.3878 {'pos0_bos_p': 0.9988105297088623, 'pos0_bos_top1': 4, 'last_eos_p': 0.9988264441490173, 'last_eos_top1': 4}
|
| 51 |
+
step=2500 loss=4.5579 {'pos0_bos_p': 0.9988901019096375, 'pos0_bos_top1': 4, 'last_eos_p': 0.9989213943481445, 'last_eos_top1': 4}
|
| 52 |
+
step=2600 loss=4.2367 {'pos0_bos_p': 0.9987167119979858, 'pos0_bos_top1': 4, 'last_eos_p': 0.9987905621528625, 'last_eos_top1': 4}
|
| 53 |
+
step=2700 loss=4.6436 {'pos0_bos_p': 0.9987780451774597, 'pos0_bos_top1': 4, 'last_eos_p': 0.9989808201789856, 'last_eos_top1': 4}
|
| 54 |
+
step=2800 loss=4.6348 {'pos0_bos_p': 0.9989067316055298, 'pos0_bos_top1': 4, 'last_eos_p': 0.9989762306213379, 'last_eos_top1': 4}
|
| 55 |
+
step=2900 loss=2.7339 {'pos0_bos_p': 0.9991104006767273, 'pos0_bos_top1': 4, 'last_eos_p': 0.9992275238037109, 'last_eos_top1': 4}
|
| 56 |
+
step=3000 loss=3.8760 {'pos0_bos_p': 0.9992281198501587, 'pos0_bos_top1': 4, 'last_eos_p': 0.9992320537567139, 'last_eos_top1': 4}
|
| 57 |
+
step=3100 loss=5.5894 {'pos0_bos_p': 0.999041736125946, 'pos0_bos_top1': 4, 'last_eos_p': 0.9991102814674377, 'last_eos_top1': 4}
|
| 58 |
+
step=3200 loss=3.0852 {'pos0_bos_p': 0.9992801547050476, 'pos0_bos_top1': 4, 'last_eos_p': 0.9992904663085938, 'last_eos_top1': 4}
|
| 59 |
+
step=3300 loss=3.7114 {'pos0_bos_p': 0.9994068145751953, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994370341300964, 'last_eos_top1': 4}
|
| 60 |
+
step=3400 loss=4.9119 {'pos0_bos_p': 0.9992316961288452, 'pos0_bos_top1': 4, 'last_eos_p': 0.9992997646331787, 'last_eos_top1': 4}
|
| 61 |
+
step=3500 loss=3.7738 {'pos0_bos_p': 0.9994509816169739, 'pos0_bos_top1': 4, 'last_eos_p': 0.999451220035553, 'last_eos_top1': 4}
|
| 62 |
+
step=3600 loss=3.1688 {'pos0_bos_p': 0.9995419979095459, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995504021644592, 'last_eos_top1': 4}
|
| 63 |
+
step=3700 loss=3.4367 {'pos0_bos_p': 0.9995220899581909, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994497895240784, 'last_eos_top1': 4}
|
| 64 |
+
step=3800 loss=4.2707 {'pos0_bos_p': 0.9995793700218201, 'pos0_bos_top1': 4, 'last_eos_p': 0.999500036239624, 'last_eos_top1': 4}
|
| 65 |
+
step=3900 loss=5.4563 {'pos0_bos_p': 0.9995649456977844, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995518326759338, 'last_eos_top1': 4}
|
| 66 |
+
step=4000 loss=3.7971 {'pos0_bos_p': 0.99954754114151, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994538426399231, 'last_eos_top1': 4}
|
| 67 |
+
step=4100 loss=4.5064 {'pos0_bos_p': 0.9994913339614868, 'pos0_bos_top1': 4, 'last_eos_p': 0.999367892742157, 'last_eos_top1': 4}
|
| 68 |
+
step=4200 loss=4.0607 {'pos0_bos_p': 0.9996055960655212, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994733929634094, 'last_eos_top1': 4}
|
| 69 |
+
step=4300 loss=3.7961 {'pos0_bos_p': 0.9996304512023926, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995335340499878, 'last_eos_top1': 4}
|
| 70 |
+
step=4400 loss=3.4871 {'pos0_bos_p': 0.9996232986450195, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994897842407227, 'last_eos_top1': 4}
|
| 71 |
+
step=4500 loss=5.6084 {'pos0_bos_p': 0.9997205138206482, 'pos0_bos_top1': 4, 'last_eos_p': 0.9996069073677063, 'last_eos_top1': 4}
|
| 72 |
+
step=4600 loss=4.5265 {'pos0_bos_p': 0.9996204376220703, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995194673538208, 'last_eos_top1': 4}
|
| 73 |
+
step=4700 loss=4.3960 {'pos0_bos_p': 0.9995934367179871, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994602799415588, 'last_eos_top1': 4}
|
| 74 |
+
step=4800 loss=4.3798 {'pos0_bos_p': 0.9996843338012695, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995966553688049, 'last_eos_top1': 4}
|
| 75 |
+
step=4900 loss=3.1587 {'pos0_bos_p': 0.9995962977409363, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995177984237671, 'last_eos_top1': 4}
|
| 76 |
+
step=5000 loss=3.6261 {'pos0_bos_p': 0.9996069073677063, 'pos0_bos_top1': 4, 'last_eos_p': 0.999462902545929, 'last_eos_top1': 4}
|
| 77 |
+
step=5100 loss=2.9708 {'pos0_bos_p': 0.9997046589851379, 'pos0_bos_top1': 4, 'last_eos_p': 0.9996020197868347, 'last_eos_top1': 4}
|
| 78 |
+
step=5200 loss=2.9540 {'pos0_bos_p': 0.9997428059577942, 'pos0_bos_top1': 4, 'last_eos_p': 0.9996951818466187, 'last_eos_top1': 4}
|
| 79 |
+
step=5300 loss=2.1556 {'pos0_bos_p': 0.9995536208152771, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994271993637085, 'last_eos_top1': 4}
|
| 80 |
+
step=5400 loss=3.9129 {'pos0_bos_p': 0.999637246131897, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995465874671936, 'last_eos_top1': 4}
|
| 81 |
+
step=5500 loss=3.9672 {'pos0_bos_p': 0.999707043170929, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995854496955872, 'last_eos_top1': 4}
|
| 82 |
+
step=5600 loss=4.4603 {'pos0_bos_p': 0.9995802044868469, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994596838951111, 'last_eos_top1': 4}
|
| 83 |
+
step=5700 loss=5.7201 {'pos0_bos_p': 0.9995546936988831, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994540810585022, 'last_eos_top1': 4}
|
| 84 |
+
step=5800 loss=4.4626 {'pos0_bos_p': 0.9996980428695679, 'pos0_bos_top1': 4, 'last_eos_p': 0.9996355772018433, 'last_eos_top1': 4}
|
| 85 |
+
step=5900 loss=4.9022 {'pos0_bos_p': 0.9997143149375916, 'pos0_bos_top1': 4, 'last_eos_p': 0.9996024966239929, 'last_eos_top1': 4}
|
| 86 |
+
step=6000 loss=3.7093 {'pos0_bos_p': 0.9997084736824036, 'pos0_bos_top1': 4, 'last_eos_p': 0.9996448755264282, 'last_eos_top1': 4}
|
| 87 |
+
step=6100 loss=3.3708 {'pos0_bos_p': 0.9996343851089478, 'pos0_bos_top1': 4, 'last_eos_p': 0.999545156955719, 'last_eos_top1': 4}
|
| 88 |
+
step=6200 loss=2.4102 {'pos0_bos_p': 0.9995823502540588, 'pos0_bos_top1': 4, 'last_eos_p': 0.9993222951889038, 'last_eos_top1': 4}
|
| 89 |
+
step=6300 loss=2.7949 {'pos0_bos_p': 0.9996278285980225, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994744658470154, 'last_eos_top1': 4}
|
| 90 |
+
step=6400 loss=4.2763 {'pos0_bos_p': 0.9997265934944153, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995526671409607, 'last_eos_top1': 4}
|
| 91 |
+
step=6500 loss=4.4179 {'pos0_bos_p': 0.9996315240859985, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994361996650696, 'last_eos_top1': 4}
|
| 92 |
+
step=6600 loss=4.1307 {'pos0_bos_p': 0.9997672438621521, 'pos0_bos_top1': 4, 'last_eos_p': 0.9997032284736633, 'last_eos_top1': 4}
|
| 93 |
+
step=6700 loss=4.3737 {'pos0_bos_p': 0.9997279047966003, 'pos0_bos_top1': 4, 'last_eos_p': 0.9996656179428101, 'last_eos_top1': 4}
|
| 94 |
+
step=6800 loss=4.0470 {'pos0_bos_p': 0.9997683167457581, 'pos0_bos_top1': 4, 'last_eos_p': 0.9996935129165649, 'last_eos_top1': 4}
|
| 95 |
+
step=6900 loss=4.2110 {'pos0_bos_p': 0.9998550415039062, 'pos0_bos_top1': 4, 'last_eos_p': 0.9997884631156921, 'last_eos_top1': 4}
|
| 96 |
+
step=7000 loss=4.4686 {'pos0_bos_p': 0.999649167060852, 'pos0_bos_top1': 4, 'last_eos_p': 0.9994753003120422, 'last_eos_top1': 4}
|
| 97 |
+
step=7100 loss=3.6474 {'pos0_bos_p': 0.999688982963562, 'pos0_bos_top1': 4, 'last_eos_p': 0.9995796084403992, 'last_eos_top1': 4}
|
| 98 |
+
step=7200 loss=4.1826 {'pos0_bos_p': 0.9997484087944031, 'pos0_bos_top1': 4, 'last_eos_p': 0.99967360496521, 'last_eos_top1': 4}
|
| 99 |
+
step=7300 loss=3.4323 {'pos0_bos_p': 0.9998325109481812, 'pos0_bos_top1': 4, 'last_eos_p': 0.9997714161872864, 'last_eos_top1': 4}
|
| 100 |
+
step=7400 loss=4.1477 {'pos0_bos_p': 0.9998434782028198, 'pos0_bos_top1': 4, 'last_eos_p': 0.9997803568840027, 'last_eos_top1': 4}
|
| 101 |
+
step=7500 loss=5.0766 {'pos0_bos_p': 0.999788224697113, 'pos0_bos_top1': 4, 'last_eos_p': 0.9997649788856506, 'last_eos_top1': 4}
|
| 102 |
+
step=7600 loss=3.9548 {'pos0_bos_p': 0.9998218417167664, 'pos0_bos_top1': 4, 'last_eos_p': 0.9997718930244446, 'last_eos_top1': 4}
|
| 103 |
+
step=7700 loss=4.4614 {'pos0_bos_p': 0.999830961227417, 'pos0_bos_top1': 4, 'last_eos_p': 0.999794065952301, 'last_eos_top1': 4}
|
| 104 |
+
step=7800 loss=4.4111 {'pos0_bos_p': 0.9998483657836914, 'pos0_bos_top1': 4, 'last_eos_p': 0.9998329877853394, 'last_eos_top1': 4}
|
| 105 |
+
step=7900 loss=4.5222 {'pos0_bos_p': 0.9998506307601929, 'pos0_bos_top1': 4, 'last_eos_p': 0.999809205532074, 'last_eos_top1': 4}
|
| 106 |
+
step=8000 loss=5.7780 {'pos0_bos_p': 0.9998194575309753, 'pos0_bos_top1': 4, 'last_eos_p': 0.9998052716255188, 'last_eos_top1': 4}
|
| 107 |
+
step=8100 loss=2.6718 {'pos0_bos_p': 0.9999194145202637, 'pos0_bos_top1': 4, 'last_eos_p': 0.9998979568481445, 'last_eos_top1': 4}
|
| 108 |
+
step=8200 loss=4.0481 {'pos0_bos_p': 0.9999116659164429, 'pos0_bos_top1': 4, 'last_eos_p': 0.999881386756897, 'last_eos_top1': 4}
|
| 109 |
+
step=8300 loss=3.3655 {'pos0_bos_p': 0.9999097585678101, 'pos0_bos_top1': 4, 'last_eos_p': 0.9998917579650879, 'last_eos_top1': 4}
|
| 110 |
+
step=8400 loss=3.7296 {'pos0_bos_p': 0.9999042749404907, 'pos0_bos_top1': 4, 'last_eos_p': 0.9998965263366699, 'last_eos_top1': 4}
|
| 111 |
+
step=8500 loss=3.5417 {'pos0_bos_p': 0.9998849630355835, 'pos0_bos_top1': 4, 'last_eos_p': 0.999854564666748, 'last_eos_top1': 4}
|
| 112 |
+
step=8600 loss=3.1565 {'pos0_bos_p': 0.9999438524246216, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999411106109619, 'last_eos_top1': 4}
|
| 113 |
+
step=8700 loss=3.1316 {'pos0_bos_p': 0.9998975992202759, 'pos0_bos_top1': 4, 'last_eos_p': 0.9998869895935059, 'last_eos_top1': 4}
|
| 114 |
+
step=8800 loss=3.5621 {'pos0_bos_p': 0.9999427795410156, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999337196350098, 'last_eos_top1': 4}
|
| 115 |
+
step=8900 loss=3.7180 {'pos0_bos_p': 0.9999264478683472, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999213218688965, 'last_eos_top1': 4}
|
| 116 |
+
step=9000 loss=3.6814 {'pos0_bos_p': 0.9999386072158813, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999340772628784, 'last_eos_top1': 4}
|
| 117 |
+
step=9100 loss=3.7906 {'pos0_bos_p': 0.9999289512634277, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999256134033203, 'last_eos_top1': 4}
|
| 118 |
+
step=9200 loss=4.0621 {'pos0_bos_p': 0.9999411106109619, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999372959136963, 'last_eos_top1': 4}
|
| 119 |
+
step=9300 loss=4.2759 {'pos0_bos_p': 0.9999549388885498, 'pos0_bos_top1': 4, 'last_eos_p': 0.999943733215332, 'last_eos_top1': 4}
|
| 120 |
+
step=9400 loss=3.6376 {'pos0_bos_p': 0.9999439716339111, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999396800994873, 'last_eos_top1': 4}
|
| 121 |
+
step=9500 loss=2.0153 {'pos0_bos_p': 0.9999303817749023, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999210834503174, 'last_eos_top1': 4}
|
| 122 |
+
step=9600 loss=3.4315 {'pos0_bos_p': 0.9999560117721558, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999523162841797, 'last_eos_top1': 4}
|
| 123 |
+
step=9700 loss=2.5703 {'pos0_bos_p': 0.9999544620513916, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999518394470215, 'last_eos_top1': 4}
|
| 124 |
+
step=9800 loss=3.4693 {'pos0_bos_p': 0.9999334812164307, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999330043792725, 'last_eos_top1': 4}
|
| 125 |
+
step=9900 loss=1.5927 {'pos0_bos_p': 0.999937891960144, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999226331710815, 'last_eos_top1': 4}
|
| 126 |
+
step=10000 loss=3.3874 {'pos0_bos_p': 0.9999411106109619, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999414682388306, 'last_eos_top1': 4}
|
| 127 |
+
step=10100 loss=3.3689 {'pos0_bos_p': 0.9999592304229736, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999591112136841, 'last_eos_top1': 4}
|
| 128 |
+
step=10200 loss=4.1073 {'pos0_bos_p': 0.9999493360519409, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999523162841797, 'last_eos_top1': 4}
|
| 129 |
+
step=10300 loss=3.7001 {'pos0_bos_p': 0.999954342842102, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999641180038452, 'last_eos_top1': 4}
|
| 130 |
+
step=10400 loss=4.8470 {'pos0_bos_p': 0.9999337196350098, 'pos0_bos_top1': 4, 'last_eos_p': 0.999946117401123, 'last_eos_top1': 4}
|
| 131 |
+
step=10500 loss=4.0317 {'pos0_bos_p': 0.9999614953994751, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999667406082153, 'last_eos_top1': 4}
|
| 132 |
+
step=10600 loss=3.7106 {'pos0_bos_p': 0.9999603033065796, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999661445617676, 'last_eos_top1': 4}
|
| 133 |
+
step=10700 loss=2.7635 {'pos0_bos_p': 0.9999673366546631, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999743700027466, 'last_eos_top1': 4}
|
| 134 |
+
step=10800 loss=5.1715 {'pos0_bos_p': 0.9999655485153198, 'pos0_bos_top1': 4, 'last_eos_p': 0.999974250793457, 'last_eos_top1': 4}
|
| 135 |
+
step=10900 loss=2.7226 {'pos0_bos_p': 0.9999657869338989, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999701976776123, 'last_eos_top1': 4}
|
| 136 |
+
step=11000 loss=2.6103 {'pos0_bos_p': 0.9999561309814453, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999657869338989, 'last_eos_top1': 4}
|
| 137 |
+
step=11100 loss=4.4516 {'pos0_bos_p': 0.999974250793457, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999798536300659, 'last_eos_top1': 4}
|
| 138 |
+
step=11200 loss=3.0512 {'pos0_bos_p': 0.999976396560669, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999821186065674, 'last_eos_top1': 4}
|
| 139 |
+
step=11300 loss=4.1645 {'pos0_bos_p': 0.9999775886535645, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999806880950928, 'last_eos_top1': 4}
|
| 140 |
+
step=11400 loss=4.1301 {'pos0_bos_p': 0.9999711513519287, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999808073043823, 'last_eos_top1': 4}
|
| 141 |
+
step=11500 loss=5.3245 {'pos0_bos_p': 0.9999810457229614, 'pos0_bos_top1': 4, 'last_eos_p': 0.999987006187439, 'last_eos_top1': 4}
|
| 142 |
+
step=11600 loss=4.5307 {'pos0_bos_p': 0.9999774694442749, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999873638153076, 'last_eos_top1': 4}
|
| 143 |
+
step=11700 loss=3.4433 {'pos0_bos_p': 0.99997878074646, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999884366989136, 'last_eos_top1': 4}
|
| 144 |
+
step=11800 loss=3.7900 {'pos0_bos_p': 0.9999762773513794, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999876022338867, 'last_eos_top1': 4}
|
| 145 |
+
step=11900 loss=3.9122 {'pos0_bos_p': 0.999985933303833, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999918937683105, 'last_eos_top1': 4}
|
| 146 |
+
step=12000 loss=4.4534 {'pos0_bos_p': 0.9999825954437256, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999908208847046, 'last_eos_top1': 4}
|
| 147 |
+
step=12100 loss=3.4544 {'pos0_bos_p': 0.9999829530715942, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999910593032837, 'last_eos_top1': 4}
|
| 148 |
+
step=12200 loss=3.1251 {'pos0_bos_p': 0.9999877214431763, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999922513961792, 'last_eos_top1': 4}
|
| 149 |
+
step=12300 loss=4.2182 {'pos0_bos_p': 0.9999727010726929, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999866485595703, 'last_eos_top1': 4}
|
| 150 |
+
step=12400 loss=4.5856 {'pos0_bos_p': 0.9999867677688599, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999927282333374, 'last_eos_top1': 4}
|
| 151 |
+
step=12500 loss=4.9507 {'pos0_bos_p': 0.9999876022338867, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999927282333374, 'last_eos_top1': 4}
|
| 152 |
+
step=12600 loss=5.4264 {'pos0_bos_p': 0.9999899864196777, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999946355819702, 'last_eos_top1': 4}
|
| 153 |
+
step=12700 loss=4.2056 {'pos0_bos_p': 0.9999881982803345, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999939203262329, 'last_eos_top1': 4}
|
| 154 |
+
step=12800 loss=5.5941 {'pos0_bos_p': 0.9999889135360718, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999945163726807, 'last_eos_top1': 4}
|
| 155 |
+
step=12900 loss=3.6401 {'pos0_bos_p': 0.9999880790710449, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999946355819702, 'last_eos_top1': 4}
|
| 156 |
+
step=13000 loss=4.2919 {'pos0_bos_p': 0.9999892711639404, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999949932098389, 'last_eos_top1': 4}
|
| 157 |
+
step=13100 loss=4.0788 {'pos0_bos_p': 0.9999911785125732, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999958276748657, 'last_eos_top1': 4}
|
| 158 |
+
step=13200 loss=5.2596 {'pos0_bos_p': 0.9999916553497314, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999959468841553, 'last_eos_top1': 4}
|
| 159 |
+
step=13300 loss=3.0710 {'pos0_bos_p': 0.999987006187439, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999946355819702, 'last_eos_top1': 4}
|
| 160 |
+
step=13400 loss=3.9736 {'pos0_bos_p': 0.9999927282333374, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999963045120239, 'last_eos_top1': 4}
|
| 161 |
+
step=13500 loss=3.2135 {'pos0_bos_p': 0.9999939203262329, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999967813491821, 'last_eos_top1': 4}
|
| 162 |
+
step=13600 loss=3.4537 {'pos0_bos_p': 0.9999946355819702, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999972581863403, 'last_eos_top1': 4}
|
| 163 |
+
step=13700 loss=3.4531 {'pos0_bos_p': 0.9999916553497314, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999961853027344, 'last_eos_top1': 4}
|
| 164 |
+
step=13800 loss=3.6901 {'pos0_bos_p': 0.9999891519546509, 'pos0_bos_top1': 4, 'last_eos_p': 0.999995231628418, 'last_eos_top1': 4}
|
| 165 |
+
step=13900 loss=3.8962 {'pos0_bos_p': 0.9999955892562866, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999979734420776, 'last_eos_top1': 4}
|
| 166 |
+
step=14000 loss=4.0519 {'pos0_bos_p': 0.9999951124191284, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999979734420776, 'last_eos_top1': 4}
|
| 167 |
+
step=14100 loss=4.3229 {'pos0_bos_p': 0.9999957084655762, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999978542327881, 'last_eos_top1': 4}
|
| 168 |
+
step=14200 loss=2.6693 {'pos0_bos_p': 0.999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999974966049194, 'last_eos_top1': 4}
|
| 169 |
+
step=14300 loss=4.6166 {'pos0_bos_p': 0.9999951124191284, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999972581863403, 'last_eos_top1': 4}
|
| 170 |
+
step=14400 loss=2.4148 {'pos0_bos_p': 0.9999942779541016, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999971389770508, 'last_eos_top1': 4}
|
| 171 |
+
step=14500 loss=4.1042 {'pos0_bos_p': 0.9999959468841553, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999978542327881, 'last_eos_top1': 4}
|
| 172 |
+
step=14600 loss=3.7968 {'pos0_bos_p': 0.9999959468841553, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999978542327881, 'last_eos_top1': 4}
|
| 173 |
+
step=14700 loss=4.6907 {'pos0_bos_p': 0.9999935626983643, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999970197677612, 'last_eos_top1': 4}
|
| 174 |
+
step=14800 loss=3.1424 {'pos0_bos_p': 0.9999955892562866, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999978542327881, 'last_eos_top1': 4}
|
| 175 |
+
step=14900 loss=4.0253 {'pos0_bos_p': 0.9999946355819702, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999974966049194, 'last_eos_top1': 4}
|
| 176 |
+
step=15000 loss=3.8020 {'pos0_bos_p': 0.9999943971633911, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999973773956299, 'last_eos_top1': 4}
|
| 177 |
+
step=15100 loss=3.0508 {'pos0_bos_p': 0.9999954700469971, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999979734420776, 'last_eos_top1': 4}
|
| 178 |
+
step=15200 loss=3.1176 {'pos0_bos_p': 0.9999957084655762, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999979734420776, 'last_eos_top1': 4}
|
| 179 |
+
step=15300 loss=4.1332 {'pos0_bos_p': 0.999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999988079071045, 'last_eos_top1': 4}
|
| 180 |
+
step=15400 loss=4.4994 {'pos0_bos_p': 0.9999977350234985, 'pos0_bos_top1': 4, 'last_eos_p': 0.999998927116394, 'last_eos_top1': 4}
|
| 181 |
+
step=15500 loss=5.0983 {'pos0_bos_p': 0.9999973773956299, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999986886978149, 'last_eos_top1': 4}
|
| 182 |
+
step=15600 loss=2.6699 {'pos0_bos_p': 0.9999970197677612, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999986886978149, 'last_eos_top1': 4}
|
| 183 |
+
step=15700 loss=4.9188 {'pos0_bos_p': 0.9999954700469971, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999980926513672, 'last_eos_top1': 4}
|
| 184 |
+
step=15800 loss=3.7380 {'pos0_bos_p': 0.9999970197677612, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999986886978149, 'last_eos_top1': 4}
|
| 185 |
+
step=15900 loss=3.2097 {'pos0_bos_p': 0.999996542930603, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999984502792358, 'last_eos_top1': 4}
|
| 186 |
+
step=16000 loss=1.9593 {'pos0_bos_p': 0.9999974966049194, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999988079071045, 'last_eos_top1': 4}
|
| 187 |
+
step=16100 loss=3.5015 {'pos0_bos_p': 0.9999978542327881, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999990463256836, 'last_eos_top1': 4}
|
| 188 |
+
step=16200 loss=3.9477 {'pos0_bos_p': 0.9999983310699463, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999991655349731, 'last_eos_top1': 4}
|
| 189 |
+
step=16300 loss=4.8705 {'pos0_bos_p': 0.9999983310699463, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999991655349731, 'last_eos_top1': 4}
|
| 190 |
+
step=16400 loss=2.9789 {'pos0_bos_p': 0.9999983310699463, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999991655349731, 'last_eos_top1': 4}
|
| 191 |
+
step=16500 loss=3.7352 {'pos0_bos_p': 0.9999978542327881, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999990463256836, 'last_eos_top1': 4}
|
| 192 |
+
step=16600 loss=2.6939 {'pos0_bos_p': 0.9999974966049194, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999988079071045, 'last_eos_top1': 4}
|
| 193 |
+
step=16700 loss=4.8267 {'pos0_bos_p': 0.9999979734420776, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999990463256836, 'last_eos_top1': 4}
|
| 194 |
+
step=16800 loss=4.1134 {'pos0_bos_p': 0.9999974966049194, 'pos0_bos_top1': 4, 'last_eos_p': 0.999998927116394, 'last_eos_top1': 4}
|
| 195 |
+
step=16900 loss=2.8157 {'pos0_bos_p': 0.9999982118606567, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999990463256836, 'last_eos_top1': 4}
|
| 196 |
+
step=17000 loss=4.6236 {'pos0_bos_p': 0.999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999990463256836, 'last_eos_top1': 4}
|
| 197 |
+
step=17100 loss=3.6429 {'pos0_bos_p': 0.9999984502792358, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999990463256836, 'last_eos_top1': 4}
|
| 198 |
+
step=17200 loss=4.5208 {'pos0_bos_p': 0.9999985694885254, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999994039535522, 'last_eos_top1': 4}
|
| 199 |
+
step=17300 loss=3.1830 {'pos0_bos_p': 0.9999985694885254, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999994039535522, 'last_eos_top1': 4}
|
| 200 |
+
step=17400 loss=4.9940 {'pos0_bos_p': 0.9999984502792358, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999992847442627, 'last_eos_top1': 4}
|
| 201 |
+
step=17500 loss=3.6772 {'pos0_bos_p': 0.9999985694885254, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999994039535522, 'last_eos_top1': 4}
|
| 202 |
+
step=17600 loss=3.7944 {'pos0_bos_p': 0.9999985694885254, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999995231628418, 'last_eos_top1': 4}
|
| 203 |
+
step=17700 loss=4.0918 {'pos0_bos_p': 0.9999988079071045, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999995231628418, 'last_eos_top1': 4}
|
| 204 |
+
step=17800 loss=3.2173 {'pos0_bos_p': 0.9999985694885254, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999991655349731, 'last_eos_top1': 4}
|
| 205 |
+
step=17900 loss=4.0957 {'pos0_bos_p': 0.9999991655349731, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999996423721313, 'last_eos_top1': 4}
|
| 206 |
+
step=18000 loss=4.4046 {'pos0_bos_p': 0.9999990463256836, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999996423721313, 'last_eos_top1': 4}
|
| 207 |
+
step=18100 loss=2.9804 {'pos0_bos_p': 0.999998927116394, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999995231628418, 'last_eos_top1': 4}
|
| 208 |
+
step=18200 loss=3.6672 {'pos0_bos_p': 0.9999990463256836, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999996423721313, 'last_eos_top1': 4}
|
| 209 |
+
step=18300 loss=3.3652 {'pos0_bos_p': 0.9999990463256836, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999995231628418, 'last_eos_top1': 4}
|
| 210 |
+
step=18400 loss=3.5859 {'pos0_bos_p': 0.9999990463256836, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999995231628418, 'last_eos_top1': 4}
|
| 211 |
+
step=18500 loss=2.2786 {'pos0_bos_p': 0.9999991655349731, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999996423721313, 'last_eos_top1': 4}
|
| 212 |
+
step=18600 loss=4.7997 {'pos0_bos_p': 0.9999994039535522, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 213 |
+
step=18700 loss=4.2439 {'pos0_bos_p': 0.9999992847442627, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999996423721313, 'last_eos_top1': 4}
|
| 214 |
+
step=18800 loss=3.2865 {'pos0_bos_p': 0.9999994039535522, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 215 |
+
step=18900 loss=1.8950 {'pos0_bos_p': 0.9999992847442627, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999996423721313, 'last_eos_top1': 4}
|
| 216 |
+
step=19000 loss=4.7360 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 217 |
+
step=19100 loss=3.6240 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 218 |
+
step=19200 loss=3.2649 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 219 |
+
step=19300 loss=3.2856 {'pos0_bos_p': 0.9999994039535522, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 220 |
+
step=19400 loss=5.0505 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 221 |
+
step=19500 loss=2.7518 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 222 |
+
step=19600 loss=2.5953 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 223 |
+
step=19700 loss=3.8035 {'pos0_bos_p': 0.9999994039535522, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 224 |
+
step=19800 loss=3.9915 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 225 |
+
step=19900 loss=2.7122 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 226 |
+
step=20000 loss=3.9600 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 227 |
+
step=20100 loss=4.2352 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999997615814209, 'last_eos_top1': 4}
|
| 228 |
+
step=20200 loss=4.5069 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 229 |
+
step=20300 loss=4.1250 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 230 |
+
step=20400 loss=4.6128 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 231 |
+
step=20500 loss=3.9495 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 232 |
+
step=20600 loss=3.8951 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 233 |
+
step=20700 loss=3.7932 {'pos0_bos_p': 0.9999996423721313, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 234 |
+
step=20800 loss=4.3201 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 235 |
+
step=20900 loss=3.1443 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 236 |
+
step=21000 loss=3.8003 {'pos0_bos_p': 0.9999995231628418, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 237 |
+
step=21100 loss=4.8338 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 238 |
+
step=21200 loss=3.0632 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 239 |
+
step=21300 loss=3.6978 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 240 |
+
step=21400 loss=3.0338 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 241 |
+
step=21500 loss=3.1772 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 242 |
+
step=21600 loss=4.2128 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 243 |
+
step=21700 loss=3.5384 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 244 |
+
step=21800 loss=3.7746 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 245 |
+
step=21900 loss=3.0834 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 246 |
+
step=22000 loss=2.2712 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 247 |
+
step=22100 loss=4.6802 {'pos0_bos_p': 0.9999997615814209, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 248 |
+
step=22200 loss=3.7010 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 249 |
+
step=22300 loss=5.3411 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 250 |
+
step=22400 loss=3.5518 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 251 |
+
step=22500 loss=2.9982 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 252 |
+
step=22600 loss=2.4500 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 253 |
+
step=22700 loss=5.2073 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 254 |
+
step=22800 loss=2.8913 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 255 |
+
step=22900 loss=3.3146 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 256 |
+
step=23000 loss=2.5090 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 257 |
+
step=23100 loss=2.8887 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 258 |
+
step=23200 loss=3.2819 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 259 |
+
step=23300 loss=2.7361 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 260 |
+
step=23400 loss=2.9181 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 261 |
+
step=23500 loss=3.8536 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 262 |
+
step=23600 loss=2.5306 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 263 |
+
step=23700 loss=3.2676 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 264 |
+
step=23800 loss=5.7259 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 265 |
+
step=23900 loss=3.2549 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 266 |
+
step=24000 loss=3.6277 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 267 |
+
step=24100 loss=4.6905 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 0.9999998807907104, 'last_eos_top1': 4}
|
| 268 |
+
step=24200 loss=3.6648 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 269 |
+
step=24300 loss=3.8566 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 270 |
+
step=24400 loss=1.6065 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 271 |
+
step=24500 loss=5.0927 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 272 |
+
step=24600 loss=3.0332 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 273 |
+
step=24700 loss=3.7795 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 274 |
+
step=24800 loss=3.5548 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 275 |
+
step=24900 loss=4.0945 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 276 |
+
step=25000 loss=2.8422 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 277 |
+
step=25100 loss=3.7774 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 278 |
+
step=25200 loss=4.0649 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 279 |
+
step=25300 loss=3.4325 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 280 |
+
step=25400 loss=3.8478 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 281 |
+
step=25500 loss=3.3991 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 282 |
+
step=25600 loss=4.8604 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 283 |
+
step=25700 loss=3.8625 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 284 |
+
step=25800 loss=3.8016 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 285 |
+
step=25900 loss=4.0737 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 286 |
+
step=26000 loss=3.2858 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 287 |
+
step=26100 loss=3.6148 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 288 |
+
step=26200 loss=2.8513 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 289 |
+
step=26300 loss=4.9424 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 290 |
+
step=26400 loss=3.0131 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 291 |
+
step=26500 loss=3.8076 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 292 |
+
step=26600 loss=2.7533 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 293 |
+
step=26700 loss=3.6372 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 294 |
+
step=26800 loss=3.0565 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 295 |
+
step=26900 loss=3.8349 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 296 |
+
step=27000 loss=3.7991 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 297 |
+
step=27100 loss=5.2449 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 298 |
+
step=27200 loss=3.9875 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 299 |
+
step=27300 loss=3.6670 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 300 |
+
step=27400 loss=3.2276 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 301 |
+
step=27500 loss=4.0619 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 302 |
+
step=27600 loss=3.6381 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 303 |
+
step=27700 loss=4.5759 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 304 |
+
step=27800 loss=4.0042 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 305 |
+
step=27900 loss=4.4435 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 306 |
+
step=28000 loss=3.4984 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 307 |
+
step=28100 loss=4.9265 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 308 |
+
step=28200 loss=3.2198 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 309 |
+
step=28300 loss=3.2884 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 310 |
+
step=28400 loss=4.2905 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 311 |
+
step=28500 loss=3.4917 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 312 |
+
step=28600 loss=2.5980 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 313 |
+
step=28700 loss=3.4720 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 314 |
+
step=28800 loss=3.8127 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 315 |
+
step=28900 loss=2.7859 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 316 |
+
step=29000 loss=3.4502 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 317 |
+
step=29100 loss=2.6192 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 318 |
+
step=29200 loss=4.2777 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 319 |
+
step=29300 loss=3.7046 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 320 |
+
step=29400 loss=3.5094 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 321 |
+
step=29500 loss=3.4194 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 322 |
+
step=29600 loss=2.7286 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 323 |
+
step=29700 loss=4.2490 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 324 |
+
step=29800 loss=2.8553 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 325 |
+
step=29900 loss=4.7261 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 326 |
+
step=30000 loss=4.9260 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 327 |
+
step=30100 loss=4.4800 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 328 |
+
step=30200 loss=4.8204 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 329 |
+
step=30300 loss=2.4167 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 330 |
+
step=30400 loss=3.9363 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 331 |
+
step=30500 loss=4.8588 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 332 |
+
step=30600 loss=3.8416 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 333 |
+
step=30700 loss=4.4112 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 334 |
+
step=30800 loss=5.0078 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 335 |
+
step=30900 loss=3.1361 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 336 |
+
step=31000 loss=3.5256 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 337 |
+
step=31100 loss=3.3403 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 338 |
+
step=31200 loss=2.8258 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 339 |
+
step=31300 loss=3.8257 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 340 |
+
step=31400 loss=3.0869 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 341 |
+
step=31500 loss=3.5630 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 342 |
+
step=31600 loss=3.4906 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 343 |
+
step=31700 loss=3.2383 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 344 |
+
step=31800 loss=2.6435 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 345 |
+
step=31900 loss=2.1873 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 346 |
+
step=32000 loss=3.5377 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 347 |
+
step=32100 loss=3.9001 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 348 |
+
step=32200 loss=4.8171 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 349 |
+
step=32300 loss=2.9041 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 350 |
+
step=32400 loss=3.3583 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 351 |
+
step=32500 loss=5.0818 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 352 |
+
step=32600 loss=3.9250 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 353 |
+
step=32700 loss=3.8959 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 354 |
+
step=32800 loss=2.7571 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 355 |
+
step=32900 loss=4.3879 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 356 |
+
step=33000 loss=3.1456 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 357 |
+
step=33100 loss=3.0963 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 358 |
+
step=33200 loss=1.3667 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 359 |
+
step=33300 loss=3.5215 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 360 |
+
step=33400 loss=4.7629 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 361 |
+
step=33500 loss=2.6271 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 362 |
+
step=33600 loss=5.5837 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 363 |
+
step=33700 loss=3.5993 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 364 |
+
step=33800 loss=2.7794 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 365 |
+
step=33900 loss=4.8024 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 366 |
+
step=34000 loss=3.1191 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 367 |
+
step=34100 loss=2.6783 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 368 |
+
step=34200 loss=3.3623 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 369 |
+
step=34300 loss=3.6658 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 370 |
+
step=34400 loss=2.9384 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 371 |
+
step=34500 loss=3.4232 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 372 |
+
step=34600 loss=4.5297 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 373 |
+
step=34700 loss=3.3632 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 374 |
+
step=34800 loss=3.7718 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 375 |
+
step=34900 loss=3.9872 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 376 |
+
step=35000 loss=3.1732 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 377 |
+
step=35100 loss=4.0472 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 378 |
+
step=35200 loss=3.4436 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 379 |
+
step=35300 loss=2.3598 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 380 |
+
step=35400 loss=3.1265 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 381 |
+
step=35500 loss=2.6121 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 382 |
+
step=35600 loss=3.8555 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 383 |
+
step=35700 loss=2.8491 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 384 |
+
step=35800 loss=3.9213 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 385 |
+
step=35900 loss=3.4718 {'pos0_bos_p': 0.9999998807907104, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 386 |
+
step=36000 loss=2.8358 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 387 |
+
step=36100 loss=4.6380 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 388 |
+
step=36200 loss=2.6441 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 389 |
+
step=36300 loss=1.8894 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 390 |
+
step=36400 loss=3.9225 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 391 |
+
step=36500 loss=4.5444 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 392 |
+
step=36600 loss=4.9017 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 393 |
+
step=36700 loss=4.6413 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 394 |
+
step=36800 loss=3.9479 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 395 |
+
step=36900 loss=2.8298 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 396 |
+
step=37000 loss=3.2175 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 397 |
+
step=37100 loss=2.5712 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 398 |
+
step=37200 loss=4.5805 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 399 |
+
step=37300 loss=4.0394 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 400 |
+
step=37400 loss=3.7896 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 401 |
+
step=37500 loss=3.2821 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 402 |
+
step=37600 loss=4.8827 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 403 |
+
step=37700 loss=2.0136 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 404 |
+
step=37800 loss=3.6534 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 405 |
+
step=37900 loss=4.7675 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 406 |
+
step=38000 loss=3.3963 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 407 |
+
step=38100 loss=3.3622 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 408 |
+
step=38200 loss=3.2168 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 409 |
+
step=38300 loss=3.8776 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 410 |
+
step=38400 loss=3.2291 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 411 |
+
step=38500 loss=3.8847 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 412 |
+
step=38600 loss=3.2540 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 413 |
+
step=38700 loss=3.5459 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 414 |
+
step=38800 loss=4.2170 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 415 |
+
step=38900 loss=5.0072 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 416 |
+
step=39000 loss=3.3840 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 417 |
+
step=39100 loss=3.5639 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 418 |
+
step=39200 loss=3.8849 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 419 |
+
step=39300 loss=1.9756 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 420 |
+
step=39400 loss=3.5273 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 421 |
+
step=39500 loss=3.2726 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 422 |
+
step=39600 loss=3.5488 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 423 |
+
step=39700 loss=3.9291 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 424 |
+
step=39800 loss=3.7669 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 425 |
+
step=39900 loss=3.1963 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
| 426 |
+
step=40000 loss=5.6825 {'pos0_bos_p': 1.0, 'pos0_bos_top1': 4, 'last_eos_p': 1.0, 'last_eos_top1': 4}
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/owt_t5_cleanstream_len1024_C1_to_64_d768_l12_h12_gbs512_8gpu_1m_lr3e4_20260527_142702.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/qwen35_owt_worst20_20260528_013940.log
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[qwen local clean] loading model=/e2e-data/embodied-research-data/large_model/huggingface/hub/models--Qwen--Qwen3.5-4B/snapshots/851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a dtype=bfloat16
|
| 2 |
+
[transformers] The fast path is not available because one of the required library is not installed. Falling back to torch implementation. To install follow https://github.com/fla-org/flash-linear-attention#installation and https://github.com/Dao-AILab/causal-conv1d
|
| 3 |
+
|
| 4 |
+
[qwen local clean] completed=1 kept=1 rejected=0 decision=keep reason=Interview transcript with minor formatting artifacts removed.
|
| 5 |
+
[qwen local clean] completed=2 kept=2 rejected=0 decision=keep reason=Standard interview transcript with minor formatting noise and repeated punctuation.
|
| 6 |
+
[qwen local clean] completed=3 kept=2 rejected=1 decision=reject reason=llm_reject
|
| 7 |
+
[qwen local clean] completed=4 kept=2 rejected=2 decision=reject reason=llm_reject
|
| 8 |
+
[qwen local clean] completed=5 kept=2 rejected=3 decision=reject reason=llm_reject
|
| 9 |
+
[qwen local clean] completed=6 kept=2 rejected=4 decision=reject reason=llm_reject
|
| 10 |
+
[qwen local clean] completed=7 kept=3 rejected=4 decision=keep reason=Coherent political commentary excerpt with minor formatting artifacts to remove.
|
| 11 |
+
[qwen local clean] completed=8 kept=4 rejected=4 decision=keep reason=Coherent political commentary with minor formatting artifacts (line breaks, spacing) that can be normalized.
|
| 12 |
+
[qwen local clean] completed=9 kept=4 rejected=5 decision=reject reason=llm_reject
|
| 13 |
+
[qwen local clean] completed=10 kept=4 rejected=6 decision=reject reason=llm_reject
|
| 14 |
+
[qwen local clean] completed=11 kept=5 rejected=6 decision=keep reason=Coherent political commentary with no extraction artifacts; only minor whitespace normalization needed.
|
| 15 |
+
[qwen local clean] completed=12 kept=5 rejected=7 decision=reject reason=llm_reject
|
| 16 |
+
[qwen local clean] completed=13 kept=5 rejected=8 decision=reject reason=llm_reject
|
| 17 |
+
[qwen local clean] completed=14 kept=6 rejected=8 decision=keep reason=Coherent sports analysis text with minor formatting artifacts to remove.
|
| 18 |
+
[qwen local clean] completed=15 kept=6 rejected=9 decision=reject reason=llm_reject
|
| 19 |
+
[qwen local clean] completed=16 kept=7 rejected=9 decision=keep reason=Coherent news article with minor punctuation and spacing artifacts to fix.
|
| 20 |
+
[qwen local clean] completed=17 kept=8 rejected=9 decision=keep reason=Coherent news article excerpt with minor punctuation normalization needed.
|
| 21 |
+
[qwen local clean] completed=18 kept=9 rejected=9 decision=keep reason=Coherent news excerpt with minor artifact to remove.
|
| 22 |
+
[qwen local clean] completed=19 kept=10 rejected=9 decision=keep reason=Coherent political commentary with minor extraction artifacts (HTML entities, broken words, repeated punctuation) that c
|
| 23 |
+
[qwen local clean] completed=20 kept=11 rejected=9 decision=keep reason=Coherent political commentary with minor punctuation normalization needed.
|
| 24 |
+
[qwen local clean] summary={"data_path": "/e2e-data/evad-tech-vla/wanghan58/data/small_benchmarks/langflow_2604_11748/openwebtext", "input_jsonl": "cache/qwen35_worst20_input.jsonl", "model_path": "/e2e-data/embodied-research-data/large_model/huggingface/hub/models--Qwen--Qwen3.5-4B/snapshots/851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a", "completed_chunks": 20, "kept_chunks": 11, "rejected_chunks": 9, "accepted_jsonl": "cache/qwen35_owt_worst20/accepted.jsonl", "rejected_jsonl": "cache/qwen35_owt_worst20/rejected.jsonl", "audit_jsonl": "cache/qwen35_owt_worst20/audit.jsonl", "max_edit_ratio": 0.5}
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/vllm_qwen36_35b_a3b.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_50ep_lr3e4_elfopt_t5embed_unfixed_stateprobadd_selfcond_ce_fast_20260531_230026/step_226000.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7698b691abab50e631f1dc8bde0af3170a8e49cf01af328e18b62d63fcc010a3
|
| 3 |
+
size 515519058
|