Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities
This report summarizes scanner evidence for microsoft/unilm, a Python project with 22,230 GitHub stars. SynthScan examined 1,384,201 lines of code across 5680 source files, recording 15485 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 26.6 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 5382 finding(s).
Are imports declared and package/API names verified? 3748 finding(s).
Are wrappers, guards, and repeated structures necessary? 9074 finding(s).
Which changes need focused human review? 15485 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 15485 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Diff-Transformer/kernel/rotary.py | 0 | arguments: x: (batch, seqlen, nheads, headdim) if cu_seqlens is none else (total_seqlen, nheads, headdim). cos: (seqlen_ | STRING |
| HIGH | YOCO/yoco/models/decoder/kernel/rotary.py | 0 | arguments: x: (batch, seqlen, nheads, headdim) if cu_seqlens is none else (total_seqlen, nheads, headdim). cos: (seqlen_ | STRING |
| HIGH | LatentLM/models/kernel/rotary.py | 0 | arguments: x: (batch, seqlen, nheads, headdim) if cu_seqlens is none else (total_seqlen, nheads, headdim). cos: (seqlen_ | STRING |
| HIGH | ReSA/llm/kernel/rotary.py | 0 | arguments: x: (batch, seqlen, nheads, headdim) if cu_seqlens is none else (total_seqlen, nheads, headdim). cos: (seqlen_ | STRING |
| HIGH | Diff-Transformer/kernel/rotary.py | 0 | arguments: x: (batch_size, seqlen, nheads, headdim) if cu_seqlens is none else (total_seqlen, nheads, headdim) cos, sin: | STRING |
| HIGH | YOCO/yoco/models/decoder/kernel/rotary.py | 0 | arguments: x: (batch_size, seqlen, nheads, headdim) if cu_seqlens is none else (total_seqlen, nheads, headdim) cos, sin: | STRING |
| HIGH | LatentLM/models/kernel/rotary.py | 0 | arguments: x: (batch_size, seqlen, nheads, headdim) if cu_seqlens is none else (total_seqlen, nheads, headdim) cos, sin: | STRING |
| HIGH | ReSA/llm/kernel/rotary.py | 0 | arguments: x: (batch_size, seqlen, nheads, headdim) if cu_seqlens is none else (total_seqlen, nheads, headdim) cos, sin: | STRING |
| HIGH | wavlm/modules.py | 0 | returns the activation function corresponding to `activation` | STRING |
| HIGH | infoxlm/fairseq/fairseq/utils.py | 0 | returns the activation function corresponding to `activation` | STRING |
| HIGH | edgelm/fairseq/utils.py | 0 | returns the activation function corresponding to `activation` | STRING |
| HIGH | beats/modules.py | 0 | returns the activation function corresponding to `activation` | STRING |
| HIGH | decoding/GAD/fairseq/utils.py | 0 | returns the activation function corresponding to `activation` | STRING |
| HIGH | decoding/IAD/fairseq/fairseq/utils.py | 0 | returns the activation function corresponding to `activation` | STRING |
| HIGH | speechlm/modules.py | 0 | returns the activation function corresponding to `activation` | STRING |
| HIGH | kosmos-2/fairseq/fairseq/utils.py | 0 | returns the activation function corresponding to `activation` | STRING |
| HIGH | wavlm/modules.py | 0 | initialize the weights specific to the bert model. this overrides the default initializations depending on the specified | STRING |
| HIGH | …airseq/fairseq/modules/transformer_sentence_encoder.py | 0 | initialize the weights specific to the bert model. this overrides the default initializations depending on the specified | STRING |
| HIGH | edgelm/fairseq/modules/transformer_sentence_encoder.py | 0 | initialize the weights specific to the bert model. this overrides the default initializations depending on the specified | STRING |
| HIGH | beats/backbone.py | 0 | initialize the weights specific to the bert model. this overrides the default initializations depending on the specified | STRING |
| HIGH | …ng/GAD/fairseq/modules/transformer_sentence_encoder.py | 0 | initialize the weights specific to the bert model. this overrides the default initializations depending on the specified | STRING |
| HIGH | …airseq/fairseq/modules/transformer_sentence_encoder.py | 0 | initialize the weights specific to the bert model. this overrides the default initializations depending on the specified | STRING |
| HIGH | speechlm/modules.py | 0 | initialize the weights specific to the bert model. this overrides the default initializations depending on the specified | STRING |
| HIGH | …airseq/fairseq/modules/transformer_sentence_encoder.py | 0 | initialize the weights specific to the bert model. this overrides the default initializations depending on the specified | STRING |
| HIGH | wavlm/modules.py | 0 | wraps modules and applies quantization noise to the weights for subsequent quantization with iterative product quantizat | STRING |
| HIGH | edgelm/fairseq/modules/quant_noise.py | 0 | wraps modules and applies quantization noise to the weights for subsequent quantization with iterative product quantizat | STRING |
| HIGH | beats/modules.py | 0 | wraps modules and applies quantization noise to the weights for subsequent quantization with iterative product quantizat | STRING |
| HIGH | decoding/GAD/fairseq/modules/quant_noise.py | 0 | wraps modules and applies quantization noise to the weights for subsequent quantization with iterative product quantizat | STRING |
| HIGH | decoding/IAD/fairseq/fairseq/modules/quant_noise.py | 0 | wraps modules and applies quantization noise to the weights for subsequent quantization with iterative product quantizat | STRING |
| HIGH | speechlm/modules.py | 0 | wraps modules and applies quantization noise to the weights for subsequent quantization with iterative product quantizat | STRING |
| HIGH | kosmos-2/fairseq/fairseq/modules/quant_noise.py | 0 | wraps modules and applies quantization noise to the weights for subsequent quantization with iterative product quantizat | STRING |
| HIGH | wavlm/modules.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | infoxlm/fairseq/fairseq/modules/multihead_attention.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | edgelm/fairseq/modules/multihead_attention.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | beats/backbone.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | decoding/GAD/fairseq/modules/multihead_attention.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | …ing/IAD/fairseq/fairseq/modules/multihead_attention.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | speecht5/speecht5/models/modules/multihead_attention.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | speechlm/modules.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | speechlm/speechlm/modules/multihead_attention.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | kosmos-2/fairseq/fairseq/modules/multihead_attention.py | 0 | multi-headed attention. see "attention is all you need" for more details. | STRING |
| HIGH | wavlm/modules.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | infoxlm/fairseq/fairseq/modules/multihead_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | edgelm/fairseq/modules/multihead_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | …er/linformer_src/modules/multihead_linear_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | beats/backbone.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | decoding/GAD/fairseq/modules/multihead_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | …ing/IAD/fairseq/fairseq/modules/multihead_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | …er/linformer_src/modules/multihead_linear_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | speecht5/speecht5/models/modules/multihead_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | speechlm/modules.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | speechlm/speechlm/modules/multihead_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | kosmos-2/fairseq/fairseq/modules/multihead_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | …er/linformer_src/modules/multihead_linear_attention.py | 0 | input shape: time x batch x channel args: key_padding_mask (bytetensor, optional): mask to exclude keys that are pads, o | STRING |
| HIGH | wavlm/WavLM.py | 0 | computes random mask spans for a given shape args: shape: the the shape for which to compute masks. should be of size 2 | STRING |
| HIGH | edgelm/fairseq/data/data_utils.py | 0 | computes random mask spans for a given shape args: shape: the the shape for which to compute masks. should be of size 2 | STRING |
| HIGH | decoding/GAD/fairseq/data/data_utils.py | 0 | computes random mask spans for a given shape args: shape: the the shape for which to compute masks. should be of size 2 | STRING |
| HIGH | decoding/IAD/fairseq/fairseq/data/data_utils.py | 0 | computes random mask spans for a given shape args: shape: the the shape for which to compute masks. should be of size 2 | STRING |
| HIGH | kosmos-2/fairseq/fairseq/data/data_utils.py | 0 | computes random mask spans for a given shape args: shape: the the shape for which to compute masks. should be of size 2 | STRING |
| HIGH | speechlm/modules.py | 0 | computes random mask spans for a given shape args: shape: the the shape for which to compute masks. should be of size 2 | STRING |
| 4835 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vlmo/vlmo/datasets/wikibk_dataset.py | 1 | CODE | |
| LOW | vlmo/vlmo/datasets/__init__.py | 1 | CODE | |
| LOW | vlmo/vlmo/datasets/__init__.py | 2 | CODE | |
| LOW | vlmo/vlmo/datasets/__init__.py | 3 | CODE | |
| LOW | vlmo/vlmo/datasets/__init__.py | 4 | CODE | |
| LOW | vlmo/vlmo/datasets/__init__.py | 5 | CODE | |
| LOW | vlmo/vlmo/datasets/__init__.py | 6 | CODE | |
| LOW | vlmo/vlmo/datasets/__init__.py | 7 | CODE | |
| LOW | vlmo/vlmo/datasets/__init__.py | 8 | CODE | |
| LOW | vlmo/vlmo/datasets/sbu_caption_dataset.py | 1 | CODE | |
| LOW | vlmo/vlmo/datasets/conceptual_caption_dataset.py | 1 | CODE | |
| LOW | vlmo/vlmo/utils/write_wikibk.py | 1 | CODE | |
| LOW | vlmo/vlmo/utils/write_wikibk.py | 5 | CODE | |
| LOW | vlmo/vlmo/utils/write_wikibk.py | 9 | CODE | |
| LOW | vlmo/vlmo/modules/__init__.py | 1 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 1 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 7 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_utils.py | 2 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_utils.py | 3 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_utils.py | 10 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_utils.py | 11 | CODE | |
| LOW | vlmo/vlmo/modules/objectives.py | 11 | CODE | |
| LOW | vlmo/vlmo/modules/objectives.py | 12 | CODE | |
| LOW | vlmo/vlmo/modules/heads.py | 3 | CODE | |
| LOW | Diff-Transformer/multihead_diffattn.py | 7 | CODE | |
| LOW | Diff-Transformer/multihead_attention.py | 1 | CODE | |
| LOW | Diff-Transformer/multihead_attention.py | 7 | CODE | |
| LOW | Diff-Transformer/multihead_attention.py | 9 | CODE | |
| LOW | Diff-Transformer/multihead_attention.py | 12 | CODE | |
| LOW | Diff-Transformer/multihead_flashdiff_2.py | 3 | CODE | |
| LOW | Diff-Transformer/multihead_flashdiff_1.py | 3 | CODE | |
| LOW | infoxlm/tools/para2bin.py | 5 | CODE | |
| LOW | infoxlm/tools/para2bin.py | 5 | CODE | |
| LOW | infoxlm/tools/para2bin.py | 5 | CODE | |
| LOW | infoxlm/tools/para2bin4xlco.py | 5 | CODE | |
| LOW | infoxlm/tools/para2bin4xlco.py | 5 | CODE | |
| LOW | infoxlm/tools/para2bin4xlco.py | 5 | CODE | |
| LOW | infoxlm/tools/para2bin4xlco.py | 11 | CODE | |
| LOW | infoxlm/tools/txt2bin.py | 5 | CODE | |
| LOW | infoxlm/fairseq/setup.py | 109 | CODE | |
| LOW | infoxlm/fairseq/hubconf.py | 8 | CODE | |
| LOW | infoxlm/fairseq/hubconf.py | 9 | CODE | |
| LOW | infoxlm/fairseq/hubconf.py | 24 | CODE | |
| LOW | infoxlm/fairseq/hubconf.py | 27 | CODE | |
| LOW | infoxlm/fairseq/fairseq/__init__.py | 9 | CODE | |
| LOW | infoxlm/fairseq/fairseq/__init__.py | 10 | CODE | |
| LOW | infoxlm/fairseq/fairseq/__init__.py | 11 | CODE | |
| LOW | infoxlm/fairseq/fairseq/__init__.py | 12 | CODE | |
| LOW | infoxlm/fairseq/fairseq/__init__.py | 13 | CODE | |
| LOW | infoxlm/fairseq/fairseq/__init__.py | 14 | CODE | |
| LOW | infoxlm/fairseq/fairseq/__init__.py | 15 | CODE | |
| LOW | infoxlm/fairseq/fairseq/progress_bar.py | 41 | CODE | |
| LOW | infoxlm/fairseq/fairseq/tasks/fairseq_task.py | 6 | CODE | |
| LOW | infoxlm/fairseq/fairseq/optim/__init__.py | 11 | CODE | |
| LOW | infoxlm/fairseq/fairseq/optim/__init__.py | 11 | CODE | |
| LOW | infoxlm/fairseq/fairseq/optim/__init__.py | 12 | CODE | |
| LOW | infoxlm/fairseq/fairseq/optim/adam.py | 29 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/__init__.py | 10 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/__init__.py | 11 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/__init__.py | 12 | CODE | |
| 3604 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vlmo/run.py | 25 | def creates_processes_externally(self): | CODE |
| LOW | vlmo/vlmo/config.py | 134 | def task_mlm_itm_itc_base_plus(): | CODE |
| LOW | vlmo/vlmo/transforms/pixelbert.py | 20 | def pixelbert_transform_randaug(size=800): | CODE |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 350 | def build_relative_position_embed(self, config): | CODE |
| LOW | vlmo/vlmo/modules/objectives.py | 609 | def compute_irtr_recall_with_rerank(pl_module, split="test"): | CODE |
| LOW | wavlm/modules.py | 417 | def _relative_positions_bucket(self, relative_positions, bidirectional=True): | CODE |
| LOW | wavlm/modules.py | 766 | def _append_prev_key_padding_mask( | CODE |
| LOW | infoxlm/fairseq/preprocess.py | 160 | def make_binary_alignment_dataset(input_prefix, output_prefix, num_workers): | CODE |
| LOW | infoxlm/fairseq/tests/test_bmuf.py | 27 | def setup_model_loss_criterion(args, rank, is_cuda): | CODE |
| LOW | infoxlm/fairseq/tests/test_bmuf.py | 140 | def test_warmup_sync_bmuf_sync(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_utils.py | 15 | def test_convert_padding_direction(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 22 | def _get_test_data_with_bpe_cont_marker(self, append_eos=True): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 57 | def _get_test_data_with_bpe_end_marker(self, append_eos=True): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 93 | def _get_test_data_with_word_vocab(self, append_eos=True): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 122 | def _convert_src_tokens_to_tensor( | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 152 | def assert_word_dropout_correct(self, x, x_noised, x_len, l_noised): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 159 | def test_word_dropout_with_eos(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 170 | def assert_word_blanking_correct(self, x, x_noised, x_len, l_noised, unk): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 191 | def generate_unchanged_shuffle_map(self, length): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 194 | def assert_word_shuffle_matches_expected( | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 246 | def test_word_shuffle_with_eos(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 277 | def test_word_shuffle_with_eos_nonbpe(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 309 | def test_word_shuffle_without_eos(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 341 | def test_word_shuffle_without_eos_with_bpe_end_marker(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 386 | def test_word_dropout_without_eos(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 398 | def test_word_blank_without_eos(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 410 | def _get_noising_dataset_batch( | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 448 | def test_noising_dataset_with_eos(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_noising.py | 480 | def test_noising_dataset_without_eos(self): | CODE |
| LOW | …foxlm/fairseq/tests/test_sparse_multihead_attention.py | 12 | def test_sparse_multihead_attention(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_train.py | 37 | def get_trainer_and_epoch_itr(epoch, epoch_size, num_updates, iterations_in_epoch): | CODE |
| LOW | infoxlm/fairseq/tests/test_train.py | 69 | def test_load_partial_checkpoint(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_train.py | 99 | def test_load_full_checkpoint(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_multihead_attention.py | 12 | def test_append_prev_key_padding_mask(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_resampling_dataset.py | 66 | def test_resampling_dataset_batch_by_size_false(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_resampling_dataset.py | 84 | def test_resampling_dataset_batch_by_size_true(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_backtranslation_dataset.py | 32 | def _backtranslation_dataset_helper( | CODE |
| LOW⚡ | infoxlm/fairseq/tests/test_backtranslation_dataset.py | 95 | def test_backtranslation_dataset_no_eos_in_output_src(self): | CODE |
| LOW⚡ | infoxlm/fairseq/tests/test_backtranslation_dataset.py | 100 | def test_backtranslation_dataset_with_eos_in_output_src(self): | CODE |
| LOW⚡ | infoxlm/fairseq/tests/test_backtranslation_dataset.py | 105 | def test_backtranslation_dataset_no_eos_in_input_src(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_binaries.py | 157 | def test_transformer_cross_self_attention(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_binaries.py | 219 | def test_levenshtein_transformer(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_binaries.py | 235 | def test_nonautoregressive_transformer(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_binaries.py | 252 | def test_iterative_nonautoregressive_transformer(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_binaries.py | 269 | def test_insertion_transformer(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_binaries.py | 418 | def _test_pretrained_masked_lm_for_translation(self, learned_pos_emb, encoder_only): | CODE |
| LOW⚡ | infoxlm/fairseq/tests/test_binaries.py | 471 | def test_pretrained_masked_lm_for_translation_learned_pos_emb(self): | CODE |
| LOW⚡ | infoxlm/fairseq/tests/test_binaries.py | 474 | def test_pretrained_masked_lm_for_translation_sinusoidal_pos_emb(self): | CODE |
| LOW⚡ | infoxlm/fairseq/tests/test_binaries.py | 477 | def test_pretrained_masked_lm_for_translation_encoder_only(self): | CODE |
| LOW⚡ | infoxlm/fairseq/tests/test_binaries.py | 481 | def train_legacy_masked_language_model(data_dir, arch, extra_args=()): | CODE |
| LOW | infoxlm/fairseq/tests/test_binaries.py | 580 | def _create_dummy_alignment_data(filename_src, filename_tgt, filename): | CODE |
| LOW | infoxlm/fairseq/tests/test_binaries.py | 606 | def preprocess_translation_data(data_dir, extra_flags=None): | CODE |
| LOW | infoxlm/fairseq/tests/test_sequence_generator.py | 68 | def test_without_normalization(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_sequence_generator.py | 87 | def test_with_lenpen_favoring_short_hypos(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_sequence_generator.py | 105 | def test_with_lenpen_favoring_long_hypos(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_sequence_generator.py | 281 | def test_topp_sampling_search_low_prob(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_sequence_generator.py | 310 | def test_topp_sampling_search_high_prob(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_concat_dataset.py | 42 | def test_concat_dataset_basics(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_character_token_embedder.py | 14 | def test_character_token_embedder(self): | CODE |
| LOW | infoxlm/fairseq/tests/test_average_checkpoints.py | 87 | def test_average_checkpoints_with_shared_parameters(self): | CODE |
| 1926 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vlmo/run.py | 69 | CODE | |
| LOW | vlmo/vlmo/utils/write_conceptual_caption.py | 30 | CODE | |
| LOW | vlmo/vlmo/utils/write_vqa.py | 13 | CODE | |
| LOW | vlmo/vlmo/utils/write_vqa.py | 52 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 229 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_utils.py | 16 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_utils.py | 55 | CODE | |
| LOW | minilm/examples/run_xnli.py | 81 | CODE | |
| LOW | minilm/examples/run_xnli.py | 258 | CODE | |
| LOW | wavlm/modules.py | 144 | CODE | |
| LOW | wavlm/modules.py | 100 | CODE | |
| LOW | wavlm/modules.py | 766 | CODE | |
| LOW | wavlm/WavLM.py | 35 | CODE | |
| LOW | wavlm/WavLM.py | 379 | CODE | |
| LOW | infoxlm/fairseq/preprocess.py | 22 | CODE | |
| LOW | infoxlm/fairseq/generate.py | 16 | CODE | |
| LOW | infoxlm/fairseq/interactive.py | 57 | CODE | |
| LOW | infoxlm/fairseq/train.py | 226 | CODE | |
| LOW | infoxlm/fairseq/train.py | 286 | CODE | |
| LOW | infoxlm/fairseq/eval_lm.py | 46 | CODE | |
| LOW | infoxlm/fairseq/score.py | 35 | CODE | |
| LOW | infoxlm/fairseq/tests/test_binaries.py | 546 | CODE | |
| LOW | …oxlm/fairseq/fairseq/iterative_refinement_generator.py | 102 | CODE | |
| LOW | infoxlm/fairseq/fairseq/registry.py | 65 | CODE | |
| LOW | infoxlm/fairseq/fairseq/sequence_generator.py | 116 | CODE | |
| LOW | infoxlm/fairseq/fairseq/pdb.py | 32 | CODE | |
| LOW | infoxlm/fairseq/fairseq/hub_utils.py | 18 | CODE | |
| LOW | infoxlm/fairseq/fairseq/sequence_scorer.py | 22 | CODE | |
| LOW | infoxlm/fairseq/fairseq/utils.py | 92 | CODE | |
| LOW | infoxlm/fairseq/fairseq/utils.py | 239 | CODE | |
| LOW | infoxlm/fairseq/fairseq/utils.py | 319 | CODE | |
| LOW | infoxlm/fairseq/fairseq/distributed_utils.py | 22 | CODE | |
| LOW | infoxlm/fairseq/fairseq/progress_bar.py | 20 | CODE | |
| LOW | infoxlm/fairseq/fairseq/progress_bar.py | 50 | CODE | |
| LOW | infoxlm/fairseq/fairseq/trainer.py | 171 | CODE | |
| LOW | infoxlm/fairseq/fairseq/trainer.py | 287 | CODE | |
| LOW | infoxlm/fairseq/fairseq/trainer.py | 500 | CODE | |
| LOW | infoxlm/fairseq/fairseq/tasks/translation_lev.py | 54 | CODE | |
| LOW | infoxlm/fairseq/fairseq/tasks/translation.py | 24 | CODE | |
| LOW | …lm/fairseq/fairseq/tasks/semisupervised_translation.py | 134 | CODE | |
| LOW | infoxlm/fairseq/fairseq/tasks/translation_moe.py | 57 | CODE | |
| LOW | infoxlm/fairseq/fairseq/tasks/translation_moe.py | 83 | CODE | |
| LOW | infoxlm/fairseq/fairseq/optim/adafactor.py | 128 | CODE | |
| LOW | infoxlm/fairseq/fairseq/optim/adam.py | 112 | CODE | |
| LOW | …q/fairseq/optim/lr_scheduler/tri_stage_lr_scheduler.py | 144 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/fconv_self_att.py | 397 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/transformer.py | 738 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/fconv.py | 423 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/bart/model.py | 129 | CODE | |
| LOW | …oxlm/fairseq/fairseq/models/roberta/alignment_utils.py | 12 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/roberta/model.py | 148 | CODE | |
| LOW | infoxlm/fairseq/fairseq/modules/multihead_attention.py | 281 | CODE | |
| LOW | …q/fairseq/modules/lightconv_layer/cuda_function_gen.py | 7 | CODE | |
| LOW | …q/fairseq/modules/lightconv_layer/cuda_function_gen.py | 116 | CODE | |
| LOW | …fairseq/modules/dynamicconv_layer/cuda_function_gen.py | 7 | CODE | |
| LOW | …fairseq/modules/dynamicconv_layer/cuda_function_gen.py | 96 | CODE | |
| LOW | infoxlm/fairseq/fairseq/data/monolingual_dataset.py | 99 | CODE | |
| LOW | infoxlm/fairseq/fairseq/data/mask_tokens_dataset.py | 98 | CODE | |
| LOW | infoxlm/fairseq/fairseq/data/indexed_dataset.py | 28 | CODE | |
| LOW | infoxlm/fairseq/fairseq/data/indexed_dataset.py | 51 | CODE | |
| 1467 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | wavlm/modules.py | 1 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | wavlm/modules.py | 8 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | wavlm/WavLM.py | 1 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | wavlm/WavLM.py | 8 | # -------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …lmft/layoutlmft/models/layoutlmv2/detectron2_config.py | 4 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …lmft/layoutlmft/models/layoutlmv2/detectron2_config.py | 6 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unilm-v1/src/qg/eval_on_unilm_tokenized_ref.py | 134 | # ================================================= | COMMENT |
| MEDIUM | unilm-v1/src/qg/eval_on_unilm_tokenized_ref.py | 136 | # ================================================= | COMMENT |
| MEDIUM | unilm-v1/src/qg/eval.py | 134 | # ================================================= | COMMENT |
| MEDIUM | unilm-v1/src/qg/eval.py | 136 | # ================================================= | COMMENT |
| MEDIUM⚡ | edgelm/fairseq/models/speech_to_text/utils.py | 45 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | edgelm/fairseq/models/speech_to_text/utils.py | 47 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | edgelm/fairseq/models/speech_to_text/utils.py | 102 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | edgelm/fairseq/models/speech_to_text/utils.py | 104 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | edgelm/fairseq/models/speech_to_text/utils.py | 210 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | edgelm/fairseq/models/speech_to_text/utils.py | 212 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | edgelm/fairseq/models/speech_to_text/utils.py | 338 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | edgelm/fairseq/models/speech_to_text/utils.py | 340 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 18 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 20 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 67 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 69 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 86 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 88 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 128 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 130 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 146 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 148 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 163 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 165 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 180 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 182 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 194 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 196 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 291 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 293 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 357 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 359 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 402 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 404 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 455 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 457 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 519 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | edgelm/fairseq/models/speech_to_text/utils.py | 521 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …gelm/fairseq/models/speech_to_text/modules/emformer.py | 88 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …gelm/fairseq/models/speech_to_text/modules/emformer.py | 90 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …gelm/fairseq/models/speech_to_text/modules/emformer.py | 149 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …gelm/fairseq/models/speech_to_text/modules/emformer.py | 151 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …gelm/fairseq/models/speech_to_text/modules/emformer.py | 225 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …gelm/fairseq/models/speech_to_text/modules/emformer.py | 227 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …gelm/fairseq/models/speech_to_text/modules/emformer.py | 1780 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …gelm/fairseq/models/speech_to_text/modules/emformer.py | 1783 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/speech_to_text/modules/augmented_memory_attention.py | 23 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/speech_to_text/modules/augmented_memory_attention.py | 25 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/speech_to_text/modules/augmented_memory_attention.py | 119 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/speech_to_text/modules/augmented_memory_attention.py | 121 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/speech_to_text/modules/augmented_memory_attention.py | 187 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/speech_to_text/modules/augmented_memory_attention.py | 189 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/speech_to_text/modules/augmented_memory_attention.py | 358 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …s/speech_to_text/modules/augmented_memory_attention.py | 360 | # ------------------------------------------------------------------------------ | COMMENT |
| 329 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vlmo/vlmo/transforms/randaug.py | 161 | def augment_list(): # 16 oeprations and their ranges | COMMENT |
| LOW | minilm/examples/run_xnli.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …lm/fairseq/fairseq/modules/lightconv_layer/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | …/fairseq/fairseq/modules/dynamicconv_layer/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | infoxlm/fairseq/docs/conf.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | infoxlm/fairseq/docs/conf.py | 61 | # | COMMENT |
| LOW | infoxlm/fairseq/docs/conf.py | 81 | highlight_language = 'python' | COMMENT |
| LOW | infoxlm/fairseq/docs/conf.py | 101 | # relative to this directory. They are copied after the builtin static files, | COMMENT |
| LOW | infoxlm/fairseq/examples/noisychannel/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | …q/examples/speech_recognition/models/vggtransformer.py | 961 | # - transformer_layers (x12) --> 37.74M | COMMENT |
| LOW | …lm/fairseq/examples/roberta/commonsense_qa/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | markuplm/examples/fine_tuning/run_swde/prepare_data.py | 1 | # coding=utf-8 | COMMENT |
| LOW | markuplm/examples/fine_tuning/run_swde/prepare_data.py | 421 | # now for each page_data | COMMENT |
| LOW | markuplm/examples/fine_tuning/run_swde/pack_data.py | 1 | # coding=utf-8 | COMMENT |
| LOW | markuplm/examples/fine_tuning/run_swde/constants.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …rkuplm/markuplmft/models/markuplm/modeling_markuplm.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …lm/markuplmft/models/markuplm/tokenization_markuplm.py | 1 | # coding=utf-8 | COMMENT |
| LOW | markuplm/markuplmft/models/markuplm/__init__.py | 1 | # flake8: noqa | COMMENT |
| LOW | …m/markuplmft/models/markuplm/configuration_markuplm.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …rkuplmft/models/markuplm/tokenization_markuplm_fast.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …lmft/layoutlmft/models/layoutlmv2/detectron2_config.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | …lmft/layoutlmft/models/layoutlmv2/detectron2_config.py | 21 | # ---------------------------------------------------------------------------- # | COMMENT |
| LOW | …lmft/layoutlmft/models/layoutlmv2/detectron2_config.py | 41 | # e.g., ["p2", "p3", "p4", "p5", "p6"] for FPN | COMMENT |
| LOW | …lmft/layoutlmft/models/layoutlmv2/detectron2_config.py | 61 | _C.MODEL.ROI_HEADS.NUM_CLASSES = 5 | COMMENT |
| LOW | YOCO/yoco/__init__.py | 1 | # Copyright (c) 2022 Microsoft | COMMENT |
| LOW | YOCO/yoco/validate.py | 141 | ) | COMMENT |
| LOW | unilm-v1/src/pytorch_pretrained_bert/optimization.py | 1 | # coding=utf-8 | COMMENT |
| LOW | unilm-v1/src/pytorch_pretrained_bert/tokenization.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …lm-v1/src/pytorch_pretrained_bert/optimization_fp16.py | 61 | self.last_overflow_iter = state_dict['last_overflow_iter'] | COMMENT |
| LOW | edgelm/tests/test_binaries.py | 781 | # with contextlib.redirect_stdout(StringIO()): | COMMENT |
| LOW | edgelm/fairseq/search.py | 481 | # truncate. Now that the candidates are sorted by (bank, | COMMENT |
| LOW | edgelm/fairseq/benchmark/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | edgelm/fairseq/config/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | edgelm/fairseq/clib/libnat/edit_dist.cpp | 1 | /** | COMMENT |
| LOW | edgelm/fairseq/models/speech_to_text/utils.py | 261 | ) | COMMENT |
| LOW | …gelm/fairseq/models/speech_to_text/modules/emformer.py | 1141 | # the attention matrix is formed by 9 parts: | COMMENT |
| LOW | edgelm/fairseq/model_parallel/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | …allel/models/pipeline_parallel_transformer/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | …gelm/fairseq/model_parallel/models/roberta/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | edgelm/fairseq/modules/quantization/pq/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | edgelm/fairseq/modules/quantization/scalar/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | edgelm/fairseq/modules/lightconv_layer/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | edgelm/fairseq/modules/dynamicconv_layer/__init__.py | 1 | # Copyright (c) Facebook, Inc. and its affiliates. | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 1 | /* Generated by Cython 0.29.28 */ | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 21 | #define __stdcall | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 41 | #endif | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 61 | #endif | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 81 | #define CYTHON_PEP489_MULTI_PHASE_INIT 0 | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 101 | #ifndef CYTHON_USE_UNICODE_INTERNALS | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 121 | #undef CYTHON_PEP489_MULTI_PHASE_INIT | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 141 | #endif | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 161 | #undef CYTHON_USE_UNICODE_WRITER | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 181 | #ifndef CYTHON_FAST_PYCALL | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 201 | #define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1) | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 221 | #if defined(__GNUC__) | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 241 | # define CYTHON_UNUSED | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 261 | #if _MSC_VER < 1300 | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 281 | #endif | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 321 | private: | COMMENT |
| LOW | edgelm/fairseq/data/data_utils_fast.cpp | 401 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) | COMMENT |
| 867 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | infoxlm/fairseq/setup.py | 82 | except ImportError: | CODE |
| HIGH | infoxlm/fairseq/fairseq/distributed_utils.py | 66 | except FileNotFoundError: # Slurm is not installed | CODE |
| HIGH | infoxlm/fairseq/fairseq/modules/layer_norm.py | 14 | except ImportError: | CODE |
| HIGH | infoxlm/fairseq/fairseq_cli/setup.py | 82 | except ImportError: | CODE |
| HIGH | edgelm/setup.py | 159 | except ImportError: | CODE |
| HIGH | edgelm/setup.py | 33 | except Exception: | CODE |
| HIGH | edgelm/fairseq/checkpoint_utils.py | 315 | except FileNotFoundError: | CODE |
| HIGH | edgelm/fairseq/tasks/multilingual_translation.py | 86 | except ArgumentError: | CODE |
| HIGH | edgelm/fairseq/tasks/online_backtranslation.py | 119 | except ArgumentError: | CODE |
| HIGH | edgelm/fairseq/distributed/utils.py | 136 | except FileNotFoundError: # Slurm is not installed | CODE |
| HIGH | edgelm/fairseq/optim/fused_adam.py | 383 | except ImportError: | CODE |
| HIGH | edgelm/fairseq/optim/fused_adam.py | 35 | except ImportError: | CODE |
| HIGH | edgelm/fairseq/dataclass/utils.py | 192 | except ArgumentError: | CODE |
| HIGH | edgelm/fairseq/dataclass/utils.py | 270 | except: | CODE |
| HIGH | edgelm/fairseq/data/plasma_utils.py | 129 | except plasma.PlasmaObjectExists: | CODE |
| HIGH | …fairseq/data/multilingual/multilingual_data_manager.py | 160 | except ArgumentError: | CODE |
| HIGH | edgelm/examples/__init__.py | 8 | except ImportError: | CODE |
| HIGH | edgelm/examples/speech_to_text/prep_covost_data.py | 164 | except RuntimeError: | CODE |
| HIGH | …_nlp/gslm/speech2unit/pretrained/cpc_feature_reader.py | 161 | except RuntimeError: | CODE |
| HIGH | edgelm/examples/textless_nlp/gslm/ulm/sample.py | 53 | except: | CODE |
| HIGH | edgelm/examples/speech_recognition/infer.py | 50 | except: | CODE |
| HIGH | edgelm/examples/laser/laser_src/laser_task.py | 78 | except ArgumentError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/__init__.py | 11 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/losses/__init__.py | 10 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/losses/__init__.py | 15 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/tasks/__init__.py | 11 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/tasks/__init__.py | 16 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/tasks/__init__.py | 21 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/datasets/__init__.py | 9 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/models/transformermodel.py | 29 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/models/__init__.py | 11 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/models/__init__.py | 16 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/models/mmfusionnlg.py | 35 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/models/mmfusion.py | 25 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/evaluators/__init__.py | 12 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/processors/__init__.py | 22 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/modules/retri.py | 12 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/modules/__init__.py | 9 | except ImportError: | CODE |
| HIGH | edgelm/examples/MMPT/mmpt/modules/mm.py | 28 | except ImportError: | CODE |
| HIGH | edgelm/examples/truncated_bptt/transformer_xl_model.py | 98 | except Exception: | CODE |
| HIGH | PFPO/scripts/apps/utils_execute.py | 1034 | except SystemExit as e: | CODE |
| HIGH | PFPO/scripts/apps/utils_execute.py | 711 | except: | CODE |
| HIGH | PFPO/scripts/apps/utils_execute.py | 494 | except Exception as e: | CODE |
| HIGH | PFPO/scripts/apps/utils_execute.py | 501 | except Exception as e: | CODE |
| HIGH | PFPO/scripts/apps/utils_execute.py | 748 | except: | CODE |
| HIGH | …pps/pp_test_case_gen_public_outputs_few_shot_verify.py | 97 | except: | CODE |
| HIGH | PFPO/scripts/apps/pp_test_case.py | 115 | except: | CODE |
| HIGH | PFPO/data/math.py | 23 | except ValueError: | CODE |
| HIGH | PFPO/data/math.py | 29 | except (TypeError, ValueError): | CODE |
| HIGH | PFPO/data/deepseek_math_utils/eval_script.py | 39 | except: | CODE |
| HIGH | PFPO/data/deepseek_math_utils/eval_utils.py | 144 | except: | CODE |
| HIGH | PFPO/data/deepseek_math_utils/eval_utils.py | 217 | except: | CODE |
| HIGH | PFPO/data/deepseek_math_utils/eval_utils.py | 302 | except: | CODE |
| HIGH | PFPO/data/deepseek_math_utils/eval_utils.py | 308 | except: | CODE |
| HIGH | PFPO/data/deepseek_math_utils/eval_utils.py | 171 | except: | CODE |
| HIGH | PFPO/data/deepseek_math_utils/eval_utils.py | 292 | except: | CODE |
| HIGH | PFPO/data/deepseek_math_utils/eval_utils.py | 129 | except: | CODE |
| HIGH | PFPO/data/qwen25math/grader.py | 116 | except: | CODE |
| HIGH | PFPO/data/qwen25math/grader.py | 295 | except: | CODE |
| HIGH | PFPO/data/qwen25math/grader.py | 302 | except: | CODE |
| 100 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vlmo/vlmo/transforms/randaugment.py | 40 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 63 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 74 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 84 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 106 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 119 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 128 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 156 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 166 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 176 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 184 | CODE | |
| LOW | vlmo/vlmo/transforms/randaugment.py | 191 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 471 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 527 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 575 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 620 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 685 | CODE | |
| LOW | vlmo/vlmo/modules/vlmo_module.py | 742 | CODE | |
| LOW | vlmo/vlmo/modules/multiway_transformer.py | 122 | CODE | |
| LOW | vlmo/vlmo/modules/multiway_transformer.py | 248 | CODE | |
| LOW | …ansformer/Diff-Transformer-V2/multihead_flashdiffv2.py | 76 | CODE | |
| LOW | wavlm/modules.py | 65 | CODE | |
| LOW | wavlm/modules.py | 309 | CODE | |
| LOW | wavlm/modules.py | 457 | CODE | |
| LOW | wavlm/WavLM.py | 621 | CODE | |
| LOW | infoxlm/fairseq/tests/test_bmuf.py | 24 | CODE | |
| LOW | …oxlm/fairseq/fairseq/iterative_refinement_generator.py | 24 | CODE | |
| LOW | infoxlm/fairseq/fairseq/sequence_generator.py | 16 | CODE | |
| LOW | infoxlm/fairseq/fairseq/tasks/fairseq_task.py | 97 | CODE | |
| LOW | infoxlm/fairseq/fairseq/tasks/multilingual_masked_lm.py | 282 | CODE | |
| LOW | infoxlm/fairseq/fairseq/optim/adafactor.py | 93 | CODE | |
| LOW | infoxlm/fairseq/fairseq/optim/adam.py | 216 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/fconv_self_att.py | 292 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/fconv_self_att.py | 482 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/fconv.py | 349 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/lstm.py | 175 | CODE | |
| LOW | infoxlm/fairseq/fairseq/models/lstm.py | 310 | CODE | |
| LOW | infoxlm/fairseq/fairseq/modules/multihead_attention.py | 21 | CODE | |
| LOW | infoxlm/fairseq/fairseq/modules/grad_multiply.py | 14 | CODE | |
| LOW | …q/modules/sparse_transformer_sentence_encoder_layer.py | 15 | CODE | |
| LOW | …airseq/fairseq/modules/transformer_sentence_encoder.py | 72 | CODE | |
| LOW | …fairseq/modules/sparse_transformer_sentence_encoder.py | 17 | CODE | |
| LOW | infoxlm/fairseq/fairseq/modules/transformer_layer.py | 188 | CODE | |
| LOW | …/fairseq/modules/transformer_sentence_encoder_layer.py | 23 | CODE | |
| LOW | infoxlm/fairseq/fairseq/modules/dynamic_convolution.py | 14 | CODE | |
| LOW | infoxlm/fairseq/fairseq/modules/dynamic_convolution.py | 65 | CODE | |
| LOW | infoxlm/fairseq/fairseq/modules/dynamic_convolution.py | 171 | CODE | |
| LOW | infoxlm/fairseq/fairseq/modules/dynamic_convolution.py | 217 | CODE | |
| LOW | …xlm/fairseq/fairseq/modules/lightweight_convolution.py | 202 | CODE | |
| LOW | …xlm/fairseq/fairseq/modules/lightweight_convolution.py | 233 | CODE | |
| LOW | …/fairseq/fairseq/modules/sparse_multihead_attention.py | 22 | CODE | |
| LOW | …fairseq/modules/dynamicconv_layer/dynamicconv_layer.py | 37 | CODE | |
| LOW | …fairseq/modules/dynamicconv_layer/dynamicconv_layer.py | 171 | CODE | |
| LOW | …fairseq/modules/dynamicconv_layer/dynamicconv_layer.py | 212 | CODE | |
| LOW | infoxlm/fairseq/fairseq/data/language_pair_dataset.py | 149 | CODE | |
| LOW | infoxlm/fairseq/examples/noisychannel/rerank_utils.py | 257 | CODE | |
| LOW | …fairseq/examples/speech_recognition/data/data_utils.py | 24 | CODE | |
| LOW | infoxlm/src-infoxlm/infoxlm/utils.py | 24 | CODE | |
| LOW | infoxlm/src-infoxlm/infoxlm/data/dict_dataset.py | 55 | CODE | |
| LOW | deltalm/deltalm/models/deltalm.py | 220 | CODE | |
| 673 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | minilm/examples/run_xnli.py | 59 | logger = logging.getLogger(__name__) | CODE |
| LOW | wavlm/WavLM.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | infoxlm/fairseq/fairseq/__init__.py | 6 | __all__ = ['pdb'] | CODE |
| LOW | infoxlm/fairseq/fairseq/pdb.py | 12 | __all__ = ['set_trace'] | CODE |
| LOW | infoxlm/fairseq/fairseq/file_utils.py | 49 | logger = logging.getLogger(__name__) # pylint: disable=invalid-name | CODE |
| LOW | infoxlm/fairseq/fairseq/optim/__init__.py | 15 | __all__ = [ | CODE |
| LOW | infoxlm/fairseq/fairseq/models/__init__.py | 32 | __all__ = [ | CODE |
| LOW | infoxlm/fairseq/fairseq/modules/__init__.py | 32 | __all__ = [ | CODE |
| LOW | infoxlm/fairseq/fairseq/data/__init__.py | 56 | __all__ = [ | CODE |
| LOW | infoxlm/fairseq/fairseq/data/legacy/__init__.py | 10 | __all__ = [ | CODE |
| LOW | infoxlm/fairseq/examples/speech_recognition/infer.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …m/fairseq/examples/speech_recognition/data/__init__.py | 8 | __all__ = [ | CODE |
| LOW | …seq/examples/speech_recognition/criterions/CTC_loss.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | infoxlm/src-infoxlm/infoxlm/criterions/xlco.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | deltalm/deltalm/models/deltalm.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | markuplm/examples/fine_tuning/run_websrc/run.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | markuplm/examples/fine_tuning/run_websrc/utils.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | markuplm/examples/fine_tuning/run_websrc/draft.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | markuplm/examples/fine_tuning/run_swde/run.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | layoutlmft/layoutlmft/data/datasets/xfun.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | layoutlmft/examples/run_xfun_ser.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | layoutlmft/examples/run_funsd.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | layoutlmft/examples/run_xfun_re.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | YOCO/yoco/tasks/harness_eval.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | YOCO/yoco/models/yoco.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | unilm-v1/src/pytorch_pretrained_bert/tokenization.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | unilm-v1/src/pytorch_pretrained_bert/file_utils.py | 24 | logger = logging.getLogger(__name__) # pylint: disable=invalid-name | CODE |
| LOW | unilm-v1/src/pytorch_pretrained_bert/modeling.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | unilm-v1/src/gigaword/eval.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | unilm-v1/src/cnndm/eval.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | unilm-v1/src/biunilm/decode_seq2seq.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | unilm-v1/src/biunilm/run_seq2seq.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/nan_detector.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/__init__.py | 17 | __all__ = ["pdb"] | CODE |
| LOW | edgelm/fairseq/pdb.py | 12 | __all__ = ["set_trace"] | CODE |
| LOW | edgelm/fairseq/hub_utils.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/utils.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/checkpoint_utils.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/quantization_utils.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/file_utils.py | 51 | logger = logging.getLogger(__name__) # pylint: disable=invalid-name | CODE |
| LOW | edgelm/fairseq/trainer.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/benchmark/dummy_masked_lm.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/benchmark/dummy_lm.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/benchmark/dummy_mt.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/fairseq_task.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/hubert_pretraining.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/multilingual_denoising.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/denoising.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/multilingual_translation.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/language_modeling.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/speech_to_text.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/legacy_masked_lm.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/online_backtranslation.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/simultaneous_translation.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/text_to_speech.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/audio_pretraining.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/translation.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/semisupervised_translation.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/frm_text_to_speech.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | edgelm/fairseq/tasks/sentence_prediction.py | 36 | logger = logging.getLogger(__name__) | CODE |
| 624 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | unilm-v1/src/pytorch_pretrained_bert/modeling.py | 1002 | layer.attention.output.dense.weight.data.div_( | CODE |
| CRITICAL⚡ | unilm-v1/src/pytorch_pretrained_bert/modeling.py | 1004 | layer.output.dense.weight.data.div_(math.sqrt(2.0*(layer_id + 1))) | CODE |
| CRITICAL | edgelm/examples/truncated_bptt/transformer_xl_model.py | 94 | if all(p is None for p in self.model.crit.out_projs._parameters.values()): | CODE |
| CRITICAL⚡ | beit3/modeling_finetune.py | 76 | self.head.dense1.weight.data.mul_(init_scale) | CODE |
| CRITICAL⚡ | beit3/modeling_finetune.py | 77 | self.head.dense1.bias.data.mul_(init_scale) | CODE |
| CRITICAL⚡ | beit3/modeling_finetune.py | 80 | self.head.dense2.weight.data.mul_(init_scale) | CODE |
| CRITICAL⚡ | beit3/modeling_finetune.py | 81 | self.head.dense2.bias.data.mul_(init_scale) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 45 | init_ws.append(layer.attention.self.query.weight.detach().clone()) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 46 | init_bs.append(layer.attention.self.query.bias.detach().clone()) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 47 | init_ws.append(layer.attention.self.key.weight.detach().clone()) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 48 | init_bs.append(layer.attention.self.key.bias.detach().clone()) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 49 | init_ws.append(layer.attention.self.value.weight.detach().clone()) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 50 | init_bs.append(layer.attention.self.value.bias.detach().clone()) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 51 | init_ws.append(layer.attention.output.dense.weight.detach().clone()) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 52 | init_bs.append(layer.attention.output.dense.bias.detach().clone()) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 53 | init_ws.append(layer.attention.output.LayerNorm.weight.detach().clone()) | CODE |
| CRITICAL⚡ | PFPO/general_util/lightseq_utils.py | 54 | init_bs.append(layer.attention.output.LayerNorm.bias.detach().clone()) | CODE |
| CRITICAL | …lmv3/examples/object_detection/ditod/mycheckpointer.py | 25 | N2, C2, H, W = model.backbone.bottom_up.backbone.absolute_pos_embed.size() | CODE |
| CRITICAL | …airseq/examples/truncated_bptt/transformer_xl_model.py | 92 | if all(p is None for p in self.model.crit.out_projs._parameters.values()): | CODE |
| CRITICAL⚡ | layoutreader/s2s_ft/modeling_decoding.py | 941 | layer.attention.output.dense.weight.data.div_( | CODE |
| CRITICAL⚡ | layoutreader/s2s_ft/modeling_decoding.py | 943 | layer.output.dense.weight.data.div_(math.sqrt(2.0 * (layer_id + 1))) | CODE |
| CRITICAL⚡ | layoutreader/s2s_ft/modeling_decoding.py | 1029 | layer.attention.output.dense.weight.data.div_( | CODE |
| CRITICAL⚡ | layoutreader/s2s_ft/modeling_decoding.py | 1031 | layer.output.dense.weight.data.div_(math.sqrt(2.0 * (layer_id + 1))) | CODE |
| CRITICAL⚡ | s2s-ft/s2s_ft/modeling_decoding.py | 881 | layer.attention.output.dense.weight.data.div_( | CODE |
| CRITICAL⚡ | s2s-ft/s2s_ft/modeling_decoding.py | 883 | layer.output.dense.weight.data.div_(math.sqrt(2.0 * (layer_id + 1))) | CODE |
| CRITICAL | trocr/trocr_models.py | 367 | decoder.embed_tokens.load_state_dict(roberta.model.encoder.sentence_encoder.embed_tokens.state_dict()) | CODE |
| CRITICAL | dit/text_detection/ditod/mycheckpointer.py | 26 | N2, C2, H, W = model.backbone.bottom_up.backbone.absolute_pos_embed.size() | CODE |
| CRITICAL | dit/object_detection/ditod/mycheckpointer.py | 24 | N2, C2, H, W = model.backbone.bottom_up.backbone.absolute_pos_embed.size() | CODE |
| CRITICAL | …airseq/examples/truncated_bptt/transformer_xl_model.py | 94 | if all(p is None for p in self.model.crit.out_projs._parameters.values()): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vlmo/vlmo/datasets/base_dataset.py | 157 | except Exception as e: | CODE |
| MEDIUM | vlmo/vlmo/datasets/base_dataset.py | 158 | print(f"Error while read file idx {index} in {self.names[0]} -> {e}") | CODE |
| LOW | vlmo/vlmo/datasets/base_dataset.py | 172 | except Exception as e: | CODE |
| MEDIUM | vlmo/vlmo/datasets/base_dataset.py | 173 | print(f"Error while read file idx {index} in {self.names[0]} -> {e}") | CODE |
| LOW | infoxlm/fairseq/fairseq/pdb.py | 19 | except Exception: | CODE |
| LOW | infoxlm/fairseq/fairseq/checkpoint_utils.py | 226 | except Exception: | CODE |
| LOW | infoxlm/fairseq/fairseq/trainer.py | 201 | except Exception: | CODE |
| LOW | …/examples/speech_recognition/datasets/asr_prep_json.py | 88 | except Exception as exc: | CODE |
| LOW | YOCO/yoco/tasks/data/lm_loader.py | 284 | except Exception as e: | CODE |
| LOW | edgelm/setup.py | 33 | except Exception: | CODE |
| LOW | edgelm/fairseq/pdb.py | 19 | except Exception: | CODE |
| LOW | edgelm/fairseq/checkpoint_utils.py | 547 | except Exception: | CODE |
| LOW | edgelm/fairseq/file_utils.py | 151 | except Exception: | CODE |
| LOW | edgelm/fairseq/file_io.py | 173 | except Exception: | CODE |
| LOW | edgelm/fairseq/trainer.py | 513 | except Exception: | CODE |
| LOW | edgelm/fairseq/tasks/online_backtranslation.py | 81 | except Exception: | CODE |
| LOW | edgelm/fairseq/tasks/sentence_prediction.py | 147 | except Exception as e: | CODE |
| LOW | edgelm/fairseq/data/multi_corpus_dataset.py | 168 | except Exception as e: | CODE |
| LOW | edgelm/fairseq/data/multi_corpus_dataset.py | 184 | except Exception: | CODE |
| LOW | edgelm/fairseq/data/data_utils.py | 96 | except Exception as e: | CODE |
| LOW | edgelm/fairseq/data/iterators.py | 577 | except Exception as e: | CODE |
| LOW | edgelm/fairseq/data/audio/data_cfg.py | 23 | except Exception as e: | CODE |
| LOW | …/examples/speech_recognition/datasets/asr_prep_json.py | 117 | except Exception as exc: | CODE |
| LOW | …es/MMPT/scripts/video_feature_extractor/videoreader.py | 72 | except Exception: | CODE |
| LOW | …es/MMPT/scripts/video_feature_extractor/videoreader.py | 94 | except Exception: | CODE |
| LOW | …es/MMPT/scripts/video_feature_extractor/videoreader.py | 118 | except Exception: | CODE |
| LOW | …es/MMPT/scripts/video_feature_extractor/videoreader.py | 211 | except Exception: | CODE |
| LOW | …es/MMPT/scripts/video_feature_extractor/videoreader.py | 237 | except Exception: | CODE |
| LOW | edgelm/examples/truncated_bptt/transformer_xl_model.py | 98 | except Exception: | CODE |
| MEDIUM | edgelm/examples/truncated_bptt/transformer_xl_model.py | 52 | def __init__(self, cfg, task): | CODE |
| LOW | …xamples/speech_synthesis/preprocessing/vad/__init__.py | 150 | except Exception: | CODE |
| LOW | PFPO/trainer_base_ds_mul_fs_tp.py | 401 | except Exception as e: | CODE |
| LOW | PFPO/trainer_ds_megatron_mul.py | 392 | except Exception as e: | CODE |
| LOW | PFPO/scripts/execute_mbpp_intermediate_res.py | 82 | except Exception as e: | STRING |
| LOW | PFPO/scripts/verify_mbpp_test_cases.py | 24 | except Exception as e: | CODE |
| LOW | …math_scale/rerank_w_prm_math_scale_save_pair_margin.py | 31 | except Exception as e: | CODE |
| MEDIUM | …math_scale/rerank_w_prm_math_scale_save_pair_margin.py | 32 | print(f"Error in {file}: {e}") | CODE |
| MEDIUM | PFPO/scripts/math_scale/construct_prefer_pair_sc.py | 114 | print(f"Error in file {file}") | CODE |
| MEDIUM | PFPO/scripts/math_scale/construct_prefer_pair_sc.py | 121 | print(f"Error in line: {line}") | CODE |
| LOW | PFPO/scripts/math_scale/rerank_w_prm_math_scale_save.py | 31 | except Exception as e: | CODE |
| MEDIUM | PFPO/scripts/math_scale/rerank_w_prm_math_scale_save.py | 32 | print(f"Error in {file}: {e}") | CODE |
| LOW | PFPO/scripts/math_scale/qwen25math_style_eval.py | 162 | except Exception as error: | CODE |
| MEDIUM | PFPO/scripts/math_scale/construct_prefer_pair.py | 63 | print(f"Error in file {file}") | CODE |
| MEDIUM | PFPO/scripts/math_scale/construct_prefer_pair.py | 70 | print(f"Error in line: {line}") | CODE |
| LOW | …cripts/math_scale/rerank_w_prm_math_scale_save_pair.py | 31 | except Exception as e: | CODE |
| MEDIUM | …cripts/math_scale/rerank_w_prm_math_scale_save_pair.py | 32 | print(f"Error in {file}: {e}") | CODE |
| LOW | PFPO/scripts/math_scale/qwen25math_style_eval_math.py | 142 | except Exception as error: | CODE |
| LOW | PFPO/scripts/math_scale/qwen25math_style_eval_v2.0.py | 180 | except Exception as error: | CODE |
| MEDIUM | PFPO/scripts/math/merge_dp_predictions.py | 91 | # print(f"Error in {item['id']} during evaluation: {e}") | COMMENT |
| LOW | PFPO/scripts/apps/solution_run_pseudo_outputs_local.py | 34 | except Exception as e: | CODE |
| LOW | PFPO/scripts/apps/solution_run_pseudo_outputs_local.py | 57 | except Exception as e: | CODE |
| MEDIUM | PFPO/scripts/apps/utils_execute.py | 93 | def _temp_run(problem, generation, debug, result, return_output): | CODE |
| MEDIUM | PFPO/scripts/apps/utils_execute.py | 141 | def _temp_run(problem, generation, debug, result, return_output): | CODE |
| LOW⚡ | PFPO/scripts/apps/utils_execute.py | 486 | except Exception as e: | CODE |
| LOW⚡ | PFPO/scripts/apps/utils_execute.py | 494 | except Exception as e: | CODE |
| LOW⚡ | PFPO/scripts/apps/utils_execute.py | 501 | except Exception as e: | CODE |
| LOW | PFPO/scripts/apps/utils_execute.py | 102 | except Exception as e: | CODE |
| LOW | PFPO/scripts/apps/utils_execute.py | 150 | except Exception as e: | CODE |
| LOW | PFPO/scripts/apps/utils_execute.py | 229 | except Exception as e: | CODE |
| LOW | PFPO/scripts/apps/utils_execute.py | 275 | except Exception as e: | CODE |
| 147 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | infoxlm/fairseq/fairseq/modules/beamable_mm.py | 11 | """This module provides an optimized MM for beam decoding with attention. | STRING |
| MEDIUM | infoxlm/fairseq/docs/conf.py | 7 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | markuplm/examples/fine_tuning/run_swde/prepare_data.py | 439 | # Define the fixed-text nodes and variable nodes. | COMMENT |
| MEDIUM | …rkuplm/markuplmft/models/markuplm/modeling_markuplm.py | 169 | # Create the position ids from the input token ids. Any padded tokens remain padded. | COMMENT |
| MEDIUM | edgelm/tests/gpu/transformer_quantization_config.yaml | 6 | # This file defines example configuration arguments for quantizing | COMMENT |
| MEDIUM | edgelm/fairseq/sequence_generator.py | 661 | # Create a set of "{sent}{unfin_idx}", where | COMMENT |
| MEDIUM | edgelm/fairseq/modules/beamable_mm.py | 11 | """This module provides an optimized MM for beam decoding with attention. | STRING |
| MEDIUM | edgelm/docs/conf.py | 7 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | …mples/quant_noise/transformer_quantization_config.yaml | 6 | # This file defines example configuration arguments for quantizing | COMMENT |
| MEDIUM | PFPO/scripts/execute_mbpp_intermediate_res.py | 69 | # Create a StringIO stream to capture output | STRING |
| MEDIUM | PFPO/scripts/verify_mbpp_test_cases.py | 10 | # Create a StringIO stream to capture output | COMMENT |
| MEDIUM | PFPO/scripts/execute_mbpp_intermediate_res_mp.py | 62 | # Create a StringIO stream to capture output | COMMENT |
| MEDIUM | PFPO/scripts/math_scale/analyze/draw_sc.py | 16 | # Create the line plot | COMMENT |
| MEDIUM | PFPO/scripts/math_scale/analyze/freq2image.py | 11 | # Create the bar chart | COMMENT |
| MEDIUM | PFPO/scripts/math_scale/analyze/freq2image.py | 45 | # Create the line plot | COMMENT |
| MEDIUM | PFPO/scripts/mbpp/run_test_case_v1.0.py | 28 | # Create a StringIO stream to capture output | COMMENT |
| MEDIUM | PFPO/scripts/apps/analyze/freq2image.py | 29 | # Create a bar chart for the three metrics | COMMENT |
| MEDIUM | PFPO/scripts/apps/analyze/freq2image.py | 61 | # Create the line plot | COMMENT |
| MEDIUM | PFPO/data/qwen25math/python_executor.py | 208 | # Define the matrix | STRING |
| MEDIUM | PFPO/data/qwen25math/math_utils.py | 265 | pred = "To find the minimum value of $f(x)$, we need to find the critical points where the derivative of $f(x)$ is e | CODE |
| MEDIUM | …v3/layoutlmft/models/layoutlmv3/modeling_layoutlmv3.py | 158 | # Create the position ids from the input token ids. Any padded tokens remain padded. | COMMENT |
| MEDIUM | decoding/GAD/fairseq/modules/beamable_mm.py | 11 | """This module provides an optimized MM for beam decoding with attention. | STRING |
| MEDIUM | …fairseq/tests/gpu/transformer_quantization_config.yaml | 6 | # This file defines example configuration arguments for quantizing | COMMENT |
| MEDIUM | decoding/IAD/fairseq/fairseq/modules/beamable_mm.py | 11 | """This module provides an optimized MM for beam decoding with attention. | STRING |
| MEDIUM | decoding/IAD/fairseq/docs/conf.py | 7 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | …mples/quant_noise/transformer_quantization_config.yaml | 6 | # This file defines example configuration arguments for quantizing | COMMENT |
| MEDIUM | xtune/src/transformers/modeling_tf_roberta.py | 76 | # Create the position ids from the input token ids. Any padded tokens remain padded. | COMMENT |
| MEDIUM | xtune/src/transformers/tokenization_openai.py | 284 | # Create the normalizer structure | COMMENT |
| MEDIUM | xtune/src/transformers/tokenization_transfo_xl.py | 373 | # Create the correct normalization path | COMMENT |
| MEDIUM | xtune/src/transformers/modeling_roberta.py | 57 | # Create the position ids from the input token ids. Any padded tokens remain padded. | COMMENT |
| MEDIUM | speecht5/speecht5/sequence_generator.py | 753 | # Create a set of "{sent}{unfin_idx}", where | COMMENT |
| MEDIUM | textdiffuser-2/train_textdiffuser2_t2i_full.py | 1099 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM | textdiffuser-2/train_textdiffuser2_inpainting_full.py | 1127 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM | …ser-2/extensions/train_textdiffuser2_t2i_full_angle.py | 1120 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM | …tensions/train_textdiffuser2_t2i_full_quadrilateral.py | 1090 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM⚡ | textdiffuser/util.py | 6 | # This file defines a set of commonly used utility functions. | COMMENT |
| MEDIUM⚡ | textdiffuser/gradio_app.py | 6 | # This file provides the inference script. | COMMENT |
| MEDIUM⚡ | textdiffuser/train.py | 6 | # This file provides the inference script. | COMMENT |
| MEDIUM | textdiffuser/train.py | 1075 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM⚡ | textdiffuser/inference.py | 6 | # This file provides the inference script. | COMMENT |
| MEDIUM⚡ | textdiffuser/evaluate.py | 6 | # This file provides the inference script. | COMMENT |
| MEDIUM⚡ | textdiffuser/eval/MARIOEval_generate.py | 6 | # This file provides the inference script. | COMMENT |
| MEDIUM⚡ | textdiffuser/eval/ocr_eval.py | 6 | # This file provides the inference script. | COMMENT |
| MEDIUM⚡ | textdiffuser/eval/MARIOEval_evaluate.py | 6 | # This file provides the inference script. | COMMENT |
| MEDIUM | …smos-2/torchscale/torchscale/component/xmoe/routing.py | 64 | # Create a mask for 1st's expert per token | COMMENT |
| MEDIUM | …smos-2/torchscale/torchscale/component/xmoe/routing.py | 284 | # Create a mask for 1st's expert per token | COMMENT |
| MEDIUM | …smos-2/torchscale/torchscale/component/xmoe/routing.py | 288 | # Create a mask for 2nd's expert per token using Gumbel-max trick | COMMENT |
| MEDIUM | kosmos-2/unilm/models/vl/vlm_generator.py | 648 | # Create a set of "{sent}{unfin_idx}", where | COMMENT |
| MEDIUM | kosmos-2/fairseq/fairseq/sequence_generator.py | 745 | # Create a set of "{sent}{unfin_idx}", where | COMMENT |
| MEDIUM | kosmos-2/fairseq/fairseq/modules/beamable_mm.py | 11 | """This module provides an optimized MM for beam decoding with attention. | STRING |
| MEDIUM | kosmos-2/fairseq/docs/conf.py | 7 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | …mples/quant_noise/transformer_quantization_config.yaml | 6 | # This file defines example configuration arguments for quantizing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | edgelm/examples/MMPT/mmpt/models/mmfusionnlg.py | 245 | Generates sequences for models with a language modeling head. The method currently supports greedy decoding, | STRING |
| HIGH | PFPO/eval/mbpp_eval/utils.py | 60 | Calculates how good are predictions given some references, using certain scores Args: predictions: list of candidat | STRING |
| HIGH | xtune/src/transformers/configuration_utils.py | 122 | Instantiate a :class:`~transformers.PretrainedConfig` (or a derived class) from a pre-trained model configurat | STRING |
| HIGH | xtune/src/transformers/modeling_tf_bert.py | 133 | Get token embeddings of inputs. Args: inputs: list of three int64 tensors with shape [batch_size, le | STRING |
| HIGH | xtune/src/transformers/tokenization_utils.py | 624 | Add a list of new tokens to the tokenizer class. If the new tokens are not in the vocabulary, they are | STRING |
| HIGH | xtune/src/transformers/tokenization_utils.py | 691 | Add a dictionary of special tokens (eos, pad, cls...) to the encoder and link them to class attributes. | STRING |
| HIGH | xtune/src/transformers/modeling_bart.py | 995 | Generates sequences for models with a LM head. The method currently supports greedy or penalized greedy decoding, sampl | STRING |
| HIGH | xtune/src/transformers/configuration_auto.py | 116 | Instantiates one of the configuration classes of the library from a pre-trained model configuration. T | STRING |
| HIGH | xtune/src/transformers/modelcard.py | 89 | Instantiate a :class:`~transformers.ModelCard` from a pre-trained model model card. Parameters: pr | STRING |
| HIGH | xtune/src/transformers/modeling_tf_distilbert.py | 98 | Get token embeddings of inputs. Args: inputs: list of three int64 tensors with shape [batch_size, le | STRING |
| HIGH | xtune/src/transformers/modeling_utils.py | 302 | Instantiate a pretrained pytorch model from a pre-trained model configuration. The model is set in evaluation m | STRING |
| HIGH | xtune/src/transformers/modeling_tf_albert.py | 82 | Get token embeddings of inputs. Args: inputs: list of three int64 tensors with shape [batch_size, le | STRING |
| HIGH | xtune/src/transformers/pipelines.py | 1247 | Utility factory method to build a pipeline. Pipeline are made of: - A Tokenizer instance in charge of | STRING |
| HIGH | xtune/src/transformers/modeling_tf_utils.py | 193 | Instantiate a pretrained TF 2.0 model from a pre-trained model configuration. The warning ``Weights from XXX no | STRING |
| HIGH | xtune/src/transformers/modeling_tf_utils.py | 1154 | Get token embeddings of inputs. Args: inputs: list of three int64 tensors with shape [batch_size, le | STRING |
| HIGH | xtune/src/transformers/data/processors/xtreme.py | 44 | Loads a data file into a list of ``InputFeatures`` Args: examples: List of ``InputExamples`` or ``tf.d | STRING |
| HIGH | xtune/src/transformers/data/processors/squad.py | 284 | Converts a list of examples into a list of features that can be directly given as input to a model. It is model | STRING |
| HIGH | xtune/src/transformers/data/processors/squad.py | 469 | Creates a list of :class:`~transformers.data.processors.squad.SquadExample` using a TFDS dataset. Args | STRING |
| HIGH | xtune/src/transformers/data/processors/glue.py | 43 | Loads a data file into a list of ``InputFeatures`` Args: examples: List of ``InputExamples`` or ``tf.d | STRING |
| HIGH | xtune/src/transformers/data/processors/xglue.py | 45 | Loads a data file into a list of ``InputFeatures`` Args: examples: List of ``InputExamples`` or ``tf.d | STRING |
| HIGH | xtune/src/transformers/data/processors/xglue.py | 187 | Loads a data file into a list of ``InputFeatures`` Args: examples: List of ``InputExamples`` or ``tf.d | STRING |
| HIGH | …echt5/speecht5/models/modules/speech_decoder_prenet.py | 92 | Make masks for self-attention. Args: ilens (LongTensor or List): Batch of lengths (B,). Retu | STRING |
| HIGH | …/fairseq/fairseq/modules/espnet_multihead_attention.py | 220 | Compute rotary position attention. Args: query: Query tensor T X B X C key: Key tensor T | STRING |
| HIGH | …mos-2/fairseq/examples/MMPT/mmpt/models/mmfusionnlg.py | 245 | Generates sequences for models with a language modeling head. The method currently supports greedy decoding, | STRING |
| HIGH | adalm/finetune/utils_for_glue.py | 142 | Loads a data file into a list of ``InputFeatures`` Args: examples: List of ``InputExamples`` or ``tf.d | STRING |
| HIGH | adalm/incr_bpe/text_encoder.py | 180 | Escape away underscores and OOV characters and append '_'. This allows the token to be expressed as the concatenation | STRING |
| HIGH | adalm/incr_bpe/text_encoder.py | 472 | Builds a SubwordTextEncoder that has `vocab_size` near `target_size`. Uses simple recursive binary search to find | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …gelm/examples/wav2vec/unsupervised/models/wav2vec_u.py | 345 | def calc_gradient_penalty(self, real_data, fake_data): | CODE |
| LOW⚡ | …gelm/examples/wav2vec/unsupervised/models/wav2vec_u.py | 347 | b_size = min(real_data.size(0), fake_data.size(0)) | CODE |
| LOW⚡ | …gelm/examples/wav2vec/unsupervised/models/wav2vec_u.py | 348 | t_size = min(real_data.size(1), fake_data.size(1)) | CODE |
| LOW⚡ | …gelm/examples/wav2vec/unsupervised/models/wav2vec_u.py | 364 | fake_data = get_slice(fake_data, 0, b_size) | CODE |
| LOW⚡ | …gelm/examples/wav2vec/unsupervised/models/wav2vec_u.py | 365 | fake_data = get_slice(fake_data, 1, t_size) | CODE |
| LOW⚡ | …gelm/examples/wav2vec/unsupervised/models/wav2vec_u.py | 369 | fake_data = fake_data[:b_size, :t_size] | CODE |
| LOW⚡ | …gelm/examples/wav2vec/unsupervised/models/wav2vec_u.py | 375 | interpolates = alpha * real_data + ((1 - alpha) * fake_data) | CODE |
| LOW⚡ | PFPO/data/deepseek_math_utils/answer_extraction.py | 291 | ans = ['placeholder'] | CODE |
| LOW⚡ | PFPO/data/deepseek_math_utils/answer_extraction.py | 302 | ans = 'placeholder' | CODE |
| LOW⚡ | PFPO/data/deepseek_math_utils/answer_extraction.py | 312 | return 'placeholder' | CODE |
| LOW | PFPO/data/qwen25math/parser.py | 361 | return "placeholder" | CODE |
| LOW⚡ | xtune/src/transformers/modeling_xlnet.py | 942 | dummy_token = torch.zeros((effective_batch_size, 1), dtype=torch.long, device=input_ids.device) | CODE |
| LOW⚡ | xtune/src/transformers/modeling_xlnet.py | 943 | input_ids = torch.cat([input_ids, dummy_token], dim=1) | CODE |
| LOW⚡ | xtune/src/transformers/modeling_tf_xlnet.py | 844 | dummy_token = tf.zeros((effective_batch_size, 1), dtype=tf.int32) | CODE |
| LOW⚡ | xtune/src/transformers/modeling_tf_xlnet.py | 845 | inputs = tf.concat([inputs, dummy_token], axis=1) | CODE |
| LOW | kosmos-2/infinibatch/README.md | 80 | 'Lorem ipsum dolor sit amet, | CODE |
| LOW | kosmos-2/infinibatch/README.md | 80 | 'Lorem ipsum dolor sit amet, | CODE |
| LOW⚡ | kosmos-2/infinibatch/README.md | 126 | Lorem ipsum dolor sit amet, | CODE |
| LOW⚡ | kosmos-2/infinibatch/README.md | 126 | Lorem ipsum dolor sit amet, | CODE |
| LOW⚡ | kosmos-2/infinibatch/README.md | 133 | Lorem ipsum dolor sit amet, | CODE |
| LOW⚡ | kosmos-2/infinibatch/README.md | 133 | Lorem ipsum dolor sit amet, | CODE |
| LOW | kosmos-2/infinibatch/README.md | 189 | ['consectetur adipiscing elit,', 'Lorem ipsum dolor sit amet,'] | CODE |
| LOW | kosmos-2/infinibatch/README.md | 189 | ['consectetur adipiscing elit,', 'Lorem ipsum dolor sit amet,'] | CODE |
| LOW | kosmos-2/infinibatch/README.md | 215 | ['consectetur adipiscing elit,', 'Lorem ipsum dolor sit amet,'] | CODE |
| LOW | kosmos-2/infinibatch/README.md | 215 | ['consectetur adipiscing elit,', 'Lorem ipsum dolor sit amet,'] | CODE |
| LOW | kosmos-2/infinibatch/infinibatch/__init__.py | 69 | 'Lorem ipsum dolor sit amet, | STRING |
| LOW | kosmos-2/infinibatch/infinibatch/__init__.py | 69 | 'Lorem ipsum dolor sit amet, | STRING |
| LOW⚡ | kosmos-2/infinibatch/infinibatch/__init__.py | 115 | Lorem ipsum dolor sit amet, | STRING |
| LOW⚡ | kosmos-2/infinibatch/infinibatch/__init__.py | 115 | Lorem ipsum dolor sit amet, | STRING |
| LOW⚡ | kosmos-2/infinibatch/infinibatch/__init__.py | 122 | Lorem ipsum dolor sit amet, | STRING |
| LOW⚡ | kosmos-2/infinibatch/infinibatch/__init__.py | 122 | Lorem ipsum dolor sit amet, | STRING |
| LOW | kosmos-2/infinibatch/infinibatch/__init__.py | 178 | ['consectetur adipiscing elit,', 'Lorem ipsum dolor sit amet,'] | STRING |
| LOW | kosmos-2/infinibatch/infinibatch/__init__.py | 178 | ['consectetur adipiscing elit,', 'Lorem ipsum dolor sit amet,'] | STRING |
| LOW | kosmos-2/infinibatch/infinibatch/__init__.py | 204 | ['consectetur adipiscing elit,', 'Lorem ipsum dolor sit amet,'] | STRING |
| LOW | kosmos-2/infinibatch/infinibatch/__init__.py | 204 | ['consectetur adipiscing elit,', 'Lorem ipsum dolor sit amet,'] | STRING |
| LOW⚡ | …rseq/examples/wav2vec/unsupervised/models/wav2vec_u.py | 345 | def calc_gradient_penalty(self, real_data, fake_data): | CODE |
| LOW⚡ | …rseq/examples/wav2vec/unsupervised/models/wav2vec_u.py | 347 | b_size = min(real_data.size(0), fake_data.size(0)) | CODE |
| LOW⚡ | …rseq/examples/wav2vec/unsupervised/models/wav2vec_u.py | 348 | t_size = min(real_data.size(1), fake_data.size(1)) | CODE |
| LOW⚡ | …rseq/examples/wav2vec/unsupervised/models/wav2vec_u.py | 364 | fake_data = get_slice(fake_data, 0, b_size) | CODE |
| LOW⚡ | …rseq/examples/wav2vec/unsupervised/models/wav2vec_u.py | 365 | fake_data = get_slice(fake_data, 1, t_size) | CODE |
| LOW⚡ | …rseq/examples/wav2vec/unsupervised/models/wav2vec_u.py | 369 | fake_data = fake_data[:b_size, :t_size] | CODE |
| LOW⚡ | …rseq/examples/wav2vec/unsupervised/models/wav2vec_u.py | 375 | interpolates = alpha * real_data + ((1 - alpha) * fake_data) | CODE |
| LOW | ReSA/llm/utils/math_utils.py | 886 | return "placeholder" | CODE |
| LOW | ReSA/scripts/math_utils.py | 501 | return "placeholder" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | markuplm/examples/fine_tuning/run_websrc/utils.py | 65 | # the difference between T-PLM and H-PLM is just add <xx> and </xx> into the | STRING |
| LOW | markuplm/examples/fine_tuning/run_websrc/utils.py | 853 | # just create a nonce prediction in this case to avoid failure. | STRING |
| LOW | edgelm/fairseq/checkpoint_utils.py | 232 | # else just use usual logic to load checkpoint, e.g. restart from last checkpoint and etc. | COMMENT |
| LOW | edgelm/fairseq/data/squad/squad_extractor.py | 211 | # "Japanese", we just use "Japanese" as the annotation. This is fairly rare | COMMENT |
| LOW | edgelm/fairseq/data/squad/squad_metrics.py | 296 | # can fail in certain cases in which case we just return `orig_text`. | COMMENT |
| LOW | edgelm/fairseq/data/squad/squad_metrics.py | 547 | # So we just create a nonce prediction in this case to avoid failure. | COMMENT |
| LOW | edgelm/fairseq/data/squad/squad_metrics.py | 552 | # just create a nonce prediction in this case to avoid failure. | COMMENT |
| MEDIUM | …latent_depth/latent_depth_src/modules/latent_layers.py | 27 | """To leverage the efficiency of distributed training, samples for all | STRING |
| MEDIUM | edgelm/examples/MMPT/mmpt/tasks/retritask.py | 242 | # we moved the center to make cluster robust. | COMMENT |
| MEDIUM | PFPO/scripts/execute_mbpp_intermediate_res.py | 19 | _running_code_judge_template_0 = """I will show you a programming problem. You will first be given the instruction about | STRING |
| MEDIUM | PFPO/scripts/execute_mbpp_intermediate_res.py | 43 | _running_code_judge_template_1 = """I will show you a programming problem. You will first be given the instruction about | STRING |
| LOW | decoding/GAD/fairseq/checkpoint_utils.py | 170 | # else just use usual logic to load checkpoint, e.g. restart from last checkpoint and etc. | COMMENT |
| LOW | decoding/IAD/fairseq/fairseq/checkpoint_utils.py | 170 | # else just use usual logic to load checkpoint, e.g. restart from last checkpoint and etc. | COMMENT |
| MEDIUM | …latent_depth/latent_depth_src/modules/latent_layers.py | 27 | """To leverage the efficiency of distributed training, samples for all | STRING |
| MEDIUM | beit2/run_class_finetuning.py | 47 | # robust evaluation | COMMENT |
| LOW | xdoc/fine_tuning/websrc/websrc.py | 329 | # the difference between T-PLM and H-PLM is just add <xx> and </xx> into the | STRING |
| LOW | xdoc/fine_tuning/websrc/trainer.py | 499 | # just create a nonce prediction in this case to avoid failure. | STRING |
| LOW | xtune/src/transformers/modeling_utils.py | 1507 | # We can probably just use the multi-head attention module of PyTorch >=1.1.0 | STRING |
| LOW | xtune/src/transformers/modeling_tf_utils.py | 1217 | # We can probably just use the multi-head attention module of PyTorch >=1.1.0 | STRING |
| LOW | xtune/src/transformers/data/metrics/squad_metrics.py | 268 | # can fail in certain cases in which case we just return `orig_text`. | COMMENT |
| LOW | xtune/src/transformers/data/metrics/squad_metrics.py | 516 | # So we just create a nonce prediction in this case to avoid failure. | COMMENT |
| LOW | xtune/src/transformers/data/metrics/squad_metrics.py | 521 | # just create a nonce prediction in this case to avoid failure. | COMMENT |
| LOW | xtune/src/transformers/data/metrics/squad_metrics.py | 717 | # just create a nonce prediction in this case to avoid failure. | COMMENT |
| LOW | xtune/src/pequod/data/utils_squad.py | 424 | # "Japanese", we just use "Japanese" as the annotation. This is fairly rare | COMMENT |
| LOW | xtune/src/pequod/data/utils_squad.py | 611 | # So we just create a nonce prediction in this case to avoid failure. | COMMENT |
| LOW | xtune/src/pequod/data/utils_squad.py | 617 | # just create a nonce prediction in this case to avoid failure. | COMMENT |
| LOW | xtune/src/pequod/data/utils_squad.py | 809 | # just create a nonce prediction in this case to avoid failure. | COMMENT |
| LOW | xtune/src/pequod/data/utils_squad.py | 894 | # can fail in certain cases in which case we just return `orig_text`. | COMMENT |
| MEDIUM | textdiffuser-2/train_textdiffuser2_t2i_lora.py | 776 | random.shuffle(ocrs_temp) #### augment the ocr sequence for robust training | STRING |
| MEDIUM | textdiffuser-2/train_textdiffuser2_t2i_full.py | 739 | random.shuffle(ocrs_temp) #### augment the ocr sequence for robust training | CODE |
| MEDIUM | …ser-2/extensions/train_textdiffuser2_t2i_full_angle.py | 760 | random.shuffle(ocrs_temp) #### augment the ocr sequence for robust training | CODE |
| MEDIUM | …tensions/train_textdiffuser2_t2i_full_quadrilateral.py | 743 | random.shuffle(ocrs_temp) #### augment the ocr sequence for robust training | CODE |
| LOW | textdiffuser-2/assets/attention_processor.py | 520 | # here we simply pass along all tensors to the selected processor class | STRING |
| LOW | kosmos-2/fairseq/fairseq/checkpoint_utils.py | 244 | # else just use usual logic to load checkpoint, e.g. restart from last checkpoint and etc. | COMMENT |
| MEDIUM | …latent_depth/latent_depth_src/modules/latent_layers.py | 27 | """To leverage the efficiency of distributed training, samples for all | STRING |
| MEDIUM | kosmos-2/fairseq/examples/MMPT/mmpt/tasks/retritask.py | 242 | # we moved the center to make cluster robust. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | PFPO/data/qwen25math/math_utils.py | 130 | return ans_p.equals(ans_l) | CODE |
| HIGH | PFPO/data/qwen25math/grader.py | 300 | if a.equals(b) or simplify(a - b) == 0: | CODE |
| HIGH | PFPO/data/qwen25math/grader.py | 324 | if _a.equals(_b): | CODE |
| HIGH | xtune/src/transformers/tokenization_xlm.py | 693 | logger.error("1. git clone git@github.com:neubig/kytea.git && cd kytea") | CODE |
| HIGH | xtune/src/transformers/tokenization_xlm.py | 696 | logger.error("4. make && make install") | CODE |
| HIGH | xtune/src/transformers/tokenization_xlm.py | 764 | git clone git@github.com:neubig/kytea.git && cd kytea | STRING |
| HIGH | xtune/src/transformers/tokenization_xlm.py | 767 | make && make install | STRING |
| HIGH | ReSA/llm/utils/math_utils.py | 1677 | if a.equals(b) or simplify(a - b) == 0: | CODE |
| HIGH | ReSA/llm/utils/math_utils.py | 1701 | if _a.equals(_b): | CODE |
| HIGH | ReSA/scripts/math_utils.py | 1292 | if a.equals(b) or simplify(a - b) == 0: | CODE |
| HIGH | ReSA/scripts/math_utils.py | 1316 | if _a.equals(_b): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | infoxlm/fairseq/fairseq/tasks/translation_lev.py | 98 | target_length = target_length + 1 # make sure to mask at least one token. | CODE |
| MEDIUM⚡ | …lmft/layoutlmft/models/layoutlmv2/detectron2_config.py | 11 | # Otherwise, you can use [57.375, 57.120, 58.395] (ImageNet std) | COMMENT |
| LOW | YOCO/yoco/tasks/data/tiktoken_tokenizer.py | 19 | # If you're changing the set of special tokens, make sure to use a different name | COMMENT |
| LOW | edgelm/fairseq/tasks/translation_lev.py | 118 | target_length = target_length + 1 # make sure to mask at least one token. | CODE |
| MEDIUM | …amples/wav2vec/unsupervised/kaldi_self_train/st/cmd.sh | 1 | # you can change cmd.sh depending on what type of queue you are using. | COMMENT |
| MEDIUM | …nsupervised/kaldi_self_train/st/steps_gan/train_sat.sh | 15 | exit_stage=-100 # you can use this to require it to exit at the | CODE |
| MEDIUM | layoutlmv3/layoutlmft/data/cord.py | 56 | # Or you can use the following links. Please follow the original LICENSE of CORD for usage. | STRING |
| LOW | …ng/GAD/block_plugins/tasks/translation_lev_modified.py | 138 | target_length = target_length + 1 # make sure to mask at least one token. | CODE |
| LOW | …ng/GAD/block_plugins/tasks/translation_lev_modified.py | 165 | cutoff_length = cutoff_length.int() + 1 # make sure to mask at least one token. | CODE |
| LOW | decoding/GAD/fairseq/tasks/translation_lev.py | 118 | target_length = target_length + 1 # make sure to mask at least one token. | CODE |
| LOW | decoding/IAD/fairseq/fairseq/tasks/translation_lev.py | 116 | target_length = target_length + 1 # make sure to mask at least one token. | CODE |
| MEDIUM⚡ | …unsd/layoutlmft/models/layoutlmv2/detectron2_config.py | 11 | # Otherwise, you can use [57.375, 57.120, 58.395] (ImageNet std) | COMMENT |
| LOW | xtune/src/transformers/modeling_tf_xlm.py | 477 | # Sometimes XLM has language embeddings so don't forget to build them as well if needed | COMMENT |
| LOW | xtune/src/transformers/modeling_tf_xlm.py | 477 | # Sometimes XLM has language embeddings so don't forget to build them as well if needed | COMMENT |
| MEDIUM | xtune/src/transformers/configuration_openai.py | 71 | Whether special tokens should be predicted when the model is has a language modeling head. | STRING |
| LOW | textdiffuser-2/train_textdiffuser2_t2i_full.py | 589 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | textdiffuser-2/train_textdiffuser2_inpainting_full.py | 595 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | textdiffuser-2/inference_textdiffuser2_t2i_full.py | 382 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …ser-2/extensions/train_textdiffuser2_t2i_full_angle.py | 595 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …tensions/train_textdiffuser2_t2i_full_quadrilateral.py | 589 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …2/extensions/inference_textdiffuser2_t2i_full_angle.py | 387 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …ions/inference_textdiffuser2_t2i_full_quadrilateral.py | 383 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | textdiffuser-2/assets/attention_processor.py | 389 | # Don't forget to remove ALL `_remove_lora` from the codebase | STRING |
| LOW | textdiffuser/gradio_app.py | 393 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | textdiffuser/train.py | 537 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | textdiffuser/inference.py | 389 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | textdiffuser/evaluate.py | 396 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | kosmos-2/fairseq/fairseq/tasks/translation_lev.py | 122 | target_length = target_length + 1 # make sure to mask at least one token. | CODE |
| MEDIUM | …amples/wav2vec/unsupervised/kaldi_self_train/st/cmd.sh | 1 | # you can change cmd.sh depending on what type of queue you are using. | COMMENT |
| MEDIUM | …nsupervised/kaldi_self_train/st/steps_gan/train_sat.sh | 15 | exit_stage=-100 # you can use this to require it to exit at the | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | infoxlm/fairseq/eval_lm.py | 72 | # reduce tokens per sample by the required context window size | COMMENT |
| MEDIUM | infoxlm/fairseq/fairseq_cli/eval_lm.py | 72 | # reduce tokens per sample by the required context window size | COMMENT |
| MEDIUM | edgelm/fairseq_cli/eval_lm.py | 245 | # reduce tokens per sample by the required context window size | COMMENT |
| MEDIUM | edgelm/examples/MMPT/README.md | 86 | python locallaunch.py projects/retri/videoclip/test_youcook_zs.yaml --jobtype local_predict # zero-shot evaluation. | CODE |
| MEDIUM | edgelm/examples/MMPT/mmpt/evaluators/predictor.py | 484 | # logic of zero-shot for sequence labeling. | COMMENT |
| MEDIUM | PFPO/data/qwen25math/parser.py | 535 | # Handle Chinese few-shot multiple choice problem answer extraction | COMMENT |
| MEDIUM | decoding/GAD/fairseq_cli/eval_lm.py | 245 | # reduce tokens per sample by the required context window size | COMMENT |
| MEDIUM | decoding/IAD/fairseq/fairseq_cli/eval_lm.py | 245 | # reduce tokens per sample by the required context window size | COMMENT |
| MEDIUM | kosmos-2/fairseq/fairseq/sequence_generator.py | 347 | if len(img_token_size) == 5: # few-shot setting, [B, K-shot, D(3, 244, 244)] | CODE |
| MEDIUM | kosmos-2/fairseq/fairseq/sequence_generator.py | 888 | # elif False: #TODO: skip this for text zero-shot | COMMENT |
| MEDIUM | kosmos-2/fairseq/fairseq_cli/eval_lm.py | 245 | # reduce tokens per sample by the required context window size | COMMENT |
| MEDIUM | kosmos-2/fairseq/examples/MMPT/README.md | 86 | python locallaunch.py projects/retri/videoclip/test_youcook_zs.yaml --jobtype local_predict # zero-shot evaluation. | CODE |
| MEDIUM | …s-2/fairseq/examples/MMPT/mmpt/evaluators/predictor.py | 484 | # logic of zero-shot for sequence labeling. | COMMENT |
| MEDIUM | kosmos-2/open_clip/README.md | 275 | ### Evaluating hosted pretrained checkpoint on ImageNet zero-shot prediction: | COMMENT |
| MEDIUM | ReSA/llm/utils/math_utils.py | 1060 | # Handle Chinese few-shot multiple choice problem answer extraction | COMMENT |
| MEDIUM | ReSA/scripts/math_utils.py | 675 | # Handle Chinese few-shot multiple choice problem answer extraction | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | infoxlm/fairseq/fairseq/data/data_utils.py | 283 | CODE | |
| MEDIUM | infoxlm/fairseq/fairseq/data/data_utils.py | 311 | CODE | |
| MEDIUM | infoxlm/fairseq/fairseq/data/data_utils.py | 313 | CODE | |
| MEDIUM | infoxlm/fairseq/fairseq/data/data_utils.py | 314 | CODE | |
| MEDIUM | edgelm/examples/MMPT/mmpt/processors/dsprocessor.py | 509 | CODE | |
| MEDIUM | edgelm/examples/MMPT/mmpt/processors/dsprocessor.py | 529 | CODE | |
| MEDIUM | edgelm/examples/MMPT/mmpt/processors/dsprocessor.py | 530 | CODE | |
| MEDIUM | edgelm/examples/MMPT/mmpt/processors/dsprocessor.py | 533 | CODE | |
| MEDIUM | edgelm/examples/MMPT/mmpt/processors/dsprocessor.py | 534 | CODE | |
| MEDIUM | edgelm/examples/MMPT/mmpt/processors/dsprocessor.py | 535 | CODE | |
| MEDIUM | edgelm/examples/MMPT/mmpt/processors/dsprocessor.py | 536 | CODE | |
| MEDIUM | edgelm/examples/MMPT/mmpt/processors/dsprocessor.py | 543 | CODE | |
| MEDIUM | …2/fairseq/examples/MMPT/mmpt/processors/dsprocessor.py | 509 | CODE | |
| MEDIUM | …2/fairseq/examples/MMPT/mmpt/processors/dsprocessor.py | 529 | CODE | |
| MEDIUM | …2/fairseq/examples/MMPT/mmpt/processors/dsprocessor.py | 530 | CODE | |
| MEDIUM | …2/fairseq/examples/MMPT/mmpt/processors/dsprocessor.py | 533 | CODE | |
| MEDIUM | …2/fairseq/examples/MMPT/mmpt/processors/dsprocessor.py | 534 | CODE | |
| MEDIUM | …2/fairseq/examples/MMPT/mmpt/processors/dsprocessor.py | 535 | CODE | |
| MEDIUM | …2/fairseq/examples/MMPT/mmpt/processors/dsprocessor.py | 536 | CODE | |
| MEDIUM | …2/fairseq/examples/MMPT/mmpt/processors/dsprocessor.py | 543 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vlmo/README.md | 43 | ### Step 1: Vision Pre-Training | COMMENT |
| LOW | vlmo/README.md | 47 | ### Step 2: Language Pre-Training (VLMo-Base) | COMMENT |
| LOW | vlmo/README.md | 60 | ### Step 3: Vision-Language Pre-Training (VLMo-Base) | COMMENT |
| LOW⚡ | PFPO/prompts/math/college_math_4shot.txt | 65 | ### Step 1: Substitute \( t = -2 \) into \( p(t) \): | COMMENT |
| LOW⚡ | PFPO/prompts/math/college_math_4shot.txt | 70 | ### Step 2: Simplify the exponent: | COMMENT |
| LOW⚡ | PFPO/prompts/math/college_math_4shot.txt | 79 | ### Step 3: Simplify \( 4^{-3} \): | COMMENT |
| LOW⚡ | PFPO/prompts/math/college_math_4shot.txt | 84 | ### Step 4: Substitute \( 4^{-3} \) into \( p(-2) \): | COMMENT |
| LOW⚡ | PFPO/prompts/math/college_math_4shot.txt | 89 | ### Step 5: Simplify the multiplication: | COMMENT |
| LOW⚡ | PFPO/prompts/math/college_math_4shot.txt | 94 | ### Step 6: Add \( -\frac{1}{32} \) and \( 1 \): | COMMENT |
| LOW | PFPO/prompts/math/college_math_4shot.txt | 116 | ### Step 1: Factorize where possible | COMMENT |
| LOW | PFPO/prompts/math/college_math_4shot.txt | 127 | ### Step 2: Simplify common terms | COMMENT |
| LOW⚡ | dit/object_detection/inference.py | 43 | # Step 1: instantiate config | COMMENT |
| LOW⚡ | dit/object_detection/inference.py | 48 | # Step 2: add model weights URL to config | COMMENT |
| LOW⚡ | dit/object_detection/inference.py | 51 | # Step 3: set device | COMMENT |
| LOW⚡ | dit/object_detection/inference.py | 55 | # Step 4: define model | COMMENT |
| LOW⚡ | dit/object_detection/inference.py | 58 | # Step 5: run inference | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | minilm/examples/run_xnli.py | 110 | # Check if saved optimizer or scheduler states exist | COMMENT |
| LOW | minilm/examples/run_xnli.py | 152 | # Check if continuing training from a checkpoint | COMMENT |
| LOW | …oxlm/fairseq/fairseq/tasks/multilingual_translation.py | 263 | # Check if task args are consistant with model args | COMMENT |
| LOW | edgelm/fairseq/tasks/multilingual_translation.py | 314 | # Check if task args are consistant with model args | COMMENT |
| LOW | edgelm/examples/MMPT/mmpt/models/mmfusionnlg.py | 807 | # Check if we are done so that we can save a pad step if all(done) | COMMENT |
| LOW | PFPO/post_processors/pattern/tags.py | 11 | # Check if there's exactly one pair of tags | COMMENT |
| LOW | PFPO/post_processors/pattern/tags.py | 24 | # Check if there's exactly one pair of tags | COMMENT |
| LOW | PFPO/post_processors/pattern/tags.py | 37 | # Check if there's exactly one pair of tags | COMMENT |
| LOW | decoding/GAD/fairseq/tasks/multilingual_translation.py | 309 | # Check if task args are consistant with model args | COMMENT |
| LOW | …/IAD/fairseq/fairseq/tasks/multilingual_translation.py | 309 | # Check if task args are consistant with model args | COMMENT |
| LOW | xtune/src/run_qa.py | 797 | # Check if saved optimizer or scheduler states exist | COMMENT |
| LOW | xtune/src/run_qa.py | 840 | # Check if continuing training from a checkpoint | COMMENT |
| LOW | xtune/src/run_cls.py | 607 | # Check if saved optimizer or scheduler states exist | COMMENT |
| LOW | xtune/src/run_cls.py | 649 | # Check if continuing training from a checkpoint | COMMENT |
| LOW | xtune/src/transformers/modeling_bart.py | 1171 | # Check if were done so that we can save a pad step if all(done) | STRING |
| LOW | xtune/src/transformers/modeling_tf_utils.py | 359 | # Check if the models are the same to output loading informations | STRING |
| LOW | textdiffuser/assets/files/modeling_utils.py | 457 | # Check if we can handle device_map and dispatching the weights | STRING |
| LOW | …os-2/fairseq/fairseq/tasks/multilingual_translation.py | 314 | # Check if task args are consistant with model args | COMMENT |
| LOW | …mos-2/fairseq/examples/MMPT/mmpt/models/mmfusionnlg.py | 807 | # Check if we are done so that we can save a pad step if all(done) | COMMENT |
| LOW | adalm/finetune/run_ner.py | 127 | # Check if saved optimizer or scheduler states exist | COMMENT |
| LOW | adalm/finetune/run_pico.py | 147 | # Check if saved optimizer or scheduler states exist | COMMENT |
| LOW | ReSA/llm/kernel/tilelang_sparse_decoding.py | 466 | cache_seqlens[random_index] = max_cache_seqlen # Assign cache_seqlen to ensure at least one occurrence | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | dit/object_detection/inference.py | 43 | # Step 1: instantiate config | COMMENT |
| LOW⚡ | dit/object_detection/inference.py | 48 | # Step 2: add model weights URL to config | COMMENT |
| LOW⚡ | dit/object_detection/inference.py | 51 | # Step 3: set device | COMMENT |
| LOW⚡ | dit/object_detection/inference.py | 55 | # Step 4: define model | COMMENT |
| LOW⚡ | dit/object_detection/inference.py | 58 | # Step 5: run inference | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PFPO/data/vllm.py | 85 | # TODO: Add error processing here (need to remove `get_response` method) | COMMENT |
| LOW | kosmos-2/infinibatch/test/test_iterators.py | 581 | # TODO: Add test cases for behavior when source iterators end but item is retrieved | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | markuplm/examples/fine_tuning/run_swde/run.py | 407 | def do_something(train_websites, test_websites, args, config, tokenizer): | STRING |
| LOW | edgelm/tests/test_roberta.py | 104 | def helper(self): | CODE |
| LOW | edgelm/tests/test_roberta.py | 113 | def helper(self): | CODE |