Repository Analysis

microsoft/VibeVoice

Open-Source Frontier Voice AI

24.2 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/VibeVoice, a Python project with 50,063 GitHub stars. SynthScan v2.0 examined 19,924 lines of code across 55 source files, recording 376 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 24.2 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

24.2
Adjusted Score
24.2
Raw Score
100%
Time Factor
2026-07-13
Last Push
50.1K
Stars
Python
Language
19.9K
Lines of Code
55
Files
376
Pattern Hits
2026-07-14
Scan Date
0.13
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 7MEDIUM 47LOW 322

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 376 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Unused Imports101 hits · 99 pts
SeverityFileLineSnippetContext
LOWdemo/vibevoice_asr_gradio_demo.py14CODE
LOWdemo/vibevoice_asr_gradio_demo.py949CODE
LOWdemo/vibevoice_asr_inference_from_file.py10CODE
LOWdemo/vibevoice_asr_inference_from_file.py13CODE
LOWdemo/vibevoice_asr_inference_from_file.py16CODE
LOWdemo/vibevoice_asr_inference_from_file.py17CODE
LOWdemo/vibevoice_asr_inference_from_file.py19CODE
LOWdemo/vibevoice_asr_inference_from_file.py292CODE
LOWdemo/vibevoice_asr_inference_from_file.py488CODE
LOWdemo/realtime_model_inference_from_file.py3CODE
LOWdemo/realtime_model_inference_from_file.py5CODE
LOWdemo/realtime_model_inference_from_file.py5CODE
LOWdemo/realtime_model_inference_from_file.py5CODE
LOWdemo/realtime_model_inference_from_file.py5CODE
LOWdemo/realtime_model_inference_from_file.py5CODE
LOWdemo/web/app.py2CODE
LOWdemo/web/app.py18CODE
LOWvibevoice/__init__.py2CODE
LOWvibevoice/__init__.py2CODE
LOWvibevoice/__init__.py6CODE
LOWvibevoice/__init__.py6CODE
LOWvibevoice/processor/vibevoice_streaming_processor.py2CODE
LOWvibevoice/processor/vibevoice_streaming_processor.py3CODE
LOWvibevoice/processor/vibevoice_streaming_processor.py5CODE
LOWvibevoice/processor/vibevoice_streaming_processor.py10CODE
LOWvibevoice/processor/vibevoice_streaming_processor.py10CODE
LOWvibevoice/processor/vibevoice_streaming_processor.py57CODE
LOWvibevoice/processor/vibevoice_processor.py2CODE
LOWvibevoice/processor/vibevoice_processor.py61CODE
LOWvibevoice/processor/__init__.py2CODE
LOWvibevoice/processor/__init__.py3CODE
LOWvibevoice/processor/__init__.py4CODE
LOWvibevoice/processor/__init__.py4CODE
LOWvibevoice/processor/vibevoice_tokenizer_processor.py6CODE
LOWvibevoice/processor/vibevoice_tokenizer_processor.py7CODE
LOWvibevoice/processor/vibevoice_asr_processor.py9CODE
LOWvibevoice/processor/audio_utils.py6CODE
LOWvibevoice/processor/audio_utils.py6CODE
LOWvibevoice/processor/audio_utils.py6CODE
LOWvibevoice/processor/audio_utils.py6CODE
LOWvibevoice/modular/modeling_vibevoice.py3CODE
LOWvibevoice/modular/modeling_vibevoice.py4CODE
LOWvibevoice/modular/modeling_vibevoice.py12CODE
LOWvibevoice/modular/modeling_vibevoice.py13CODE
LOWvibevoice/modular/modeling_vibevoice.py17CODE
LOWvibevoice/modular/modeling_vibevoice.py21CODE
LOWvibevoice/modular/modeling_vibevoice.py21CODE
LOWvibevoice/modular/modeling_vibevoice.py21CODE
LOWvibevoice/modular/streamer.py1CODE
LOWvibevoice/modular/streamer.py7CODE
LOWvibevoice/modular/modular_vibevoice_text_tokenizer.py3CODE
LOWvibevoice/modular/modular_vibevoice_text_tokenizer.py3CODE
LOWvibevoice/modular/modular_vibevoice_text_tokenizer.py3CODE
LOWvibevoice/modular/configuration_vibevoice_streaming.py3CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py4CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py15CODE
LOWvibevoice/modular/__init__.py2CODE
LOWvibevoice/modular/__init__.py3CODE
LOWvibevoice/modular/__init__.py4CODE
LOWvibevoice/modular/__init__.py4CODE
41 more matches not shown…
Excessive Try-Catch Wrapping78 hits · 80 pts
SeverityFileLineSnippetContext
MEDIUMdemo/vibevoice_asr_gradio_demo.py407 print(f"Error on segment {idx}: {e}")CODE
MEDIUMdemo/vibevoice_asr_gradio_demo.py428 print(f"Error loading audio file: {e}")CODE
MEDIUMdemo/vibevoice_asr_gradio_demo.py623def run_transcription():CODE
LOWdemo/vibevoice_asr_gradio_demo.py43except Exception as e:CODE
LOWdemo/vibevoice_asr_gradio_demo.py230 except Exception as e:CODE
LOWdemo/vibevoice_asr_gradio_demo.py323 except Exception as e:CODE
LOWdemo/vibevoice_asr_gradio_demo.py338 except Exception as e:CODE
LOWdemo/vibevoice_asr_gradio_demo.py403 except Exception as e:CODE
LOWdemo/vibevoice_asr_gradio_demo.py427 except Exception as e:CODE
LOWdemo/vibevoice_asr_gradio_demo.py512 except Exception as e:CODE
LOWdemo/vibevoice_asr_gradio_demo.py595 except Exception as exc:CODE
LOWdemo/vibevoice_asr_gradio_demo.py635 except Exception as e:CODE
MEDIUMdemo/vibevoice_asr_gradio_demo.py912 print(f"Error during transcription: {e}")STRING
LOWdemo/vibevoice_asr_gradio_demo.py911 except Exception as e:STRING
LOWdemo/vibevoice_asr_inference_from_file.py184 except Exception as e:CODE
LOWdemo/vibevoice_asr_inference_from_file.py391 except Exception as e:CODE
MEDIUMdemo/vibevoice_asr_inference_from_file.py392 print(f"Error loading dataset: {e}")CODE
MEDIUMdemo/realtime_model_inference_from_file.py149 print(f"Error: txt file not found: {args.txt_path}")CODE
MEDIUMdemo/realtime_model_inference_from_file.py158 print("Error: No valid scripts found in the txt file")CODE
LOWdemo/realtime_model_inference_from_file.py201 except Exception as e:CODE
MEDIUMdemo/realtime_model_inference_from_file.py205 print("Error loading the model. Trying to use SDPA. However, note that only flash_attention_2 has been fullyCODE
LOWdemo/web/app.py100 except Exception as e:CODE
MEDIUMdemo/web/app.py102 print("Error loading the model. Trying to use SDPA. However, note that only flash_attention_2 has been fCODE
LOWdemo/web/app.py232 except Exception as exc: # pragma: no cover - diagnostic loggingCODE
LOWdemo/web/app.py259 except Exception as exc:CODE
LOWdemo/web/app.py401 except Exception:CODE
LOWdemo/web/app.py430 except Exception:CODE
LOWdemo/web/app.py473 except Exception as e:CODE
MEDIUMdemo/web/app.py474 print(f"Error in websocket stream: {e}")CODE
LOWdemo/web/app.py486 except Exception:CODE
LOWdemo/web/app.py497 except Exception as e:CODE
MEDIUMdemo/web/app.py498 print(f"Error closing websocket: {e}")CODE
LOWvibevoice/processor/vibevoice_streaming_processor.py80 except Exception as e:STRING
LOWvibevoice/processor/vibevoice_processor.py84 except Exception as e:STRING
LOWvibevoice/processor/vibevoice_asr_processor.py128 except Exception as e:CODE
LOWvibevoice/processor/vibevoice_asr_processor.py293 except Exception as e:CODE
LOWvibevoice/processor/vibevoice_asr_processor.py563 except Exception as e:CODE
LOWvibevoice/processor/audio_utils.py85 except Exception:CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py334 except Exception:CODE
LOWfinetuning-asr/lora_finetune.py234 except Exception as e:CODE
LOWfinetuning-asr/inference_lora.py137 except Exception as e:CODE
LOWvllm_plugin/__init__.py46 except Exception:CODE
LOWvllm_plugin/__init__.py52 except Exception:CODE
LOWvllm_plugin/model.py519 except Exception:CODE
LOWvllm_plugin/model.py981 except Exception:CODE
LOWvllm_plugin/model.py1095 except Exception as e:CODE
LOWvllm_plugin/tests/test_api.py130 except Exception as e:CODE
MEDIUMvllm_plugin/tests/test_api.py131 print(f"Error preparing audio: {e}")CODE
LOWvllm_plugin/tests/test_api.py224 except Exception as e:CODE
LOWvllm_plugin/tests/test_api_auto_recover.py453 except Exception as e:CODE
LOWvllm_plugin/tests/test_api_auto_recover.py508 except Exception as e:CODE
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py690 print(f"Error loading audio file: {e}")CODE
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py1804def _copy_file():CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py689 except Exception as e:CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py88 except Exception as e:CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py156 except Exception:CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py161 except Exception:CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py196 except Exception as e:CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py224 except Exception as e:CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py232 except Exception:CODE
18 more matches not shown…
Decorative Section Separators21 hits · 66 pts
SeverityFileLineSnippetContext
MEDIUM…oice/modular/modeling_vibevoice_streaming_inference.py33# ============================================================================COMMENT
MEDIUM…oice/modular/modeling_vibevoice_streaming_inference.py36# ============================================================================COMMENT
MEDIUMvllm_plugin/model.py16# ============================================================================COMMENT
MEDIUMvllm_plugin/model.py18# ============================================================================COMMENT
MEDIUMvllm_plugin/model.py87# ============================================================================COMMENT
MEDIUMvllm_plugin/model.py381 # ==========================================COMMENT
MEDIUMvllm_plugin/model.py383 # ==========================================COMMENT
MEDIUMvllm_plugin/model.py473# ============================================================================COMMENT
MEDIUMvllm_plugin/model.py475# ============================================================================COMMENT
MEDIUMvllm_plugin/model.py920# ============================================================================COMMENT
MEDIUMvllm_plugin/model.py922# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py694# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py696# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py66# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py68# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py121# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py123# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py1140# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py1142# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py1153# ============================================================================COMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py1155# ============================================================================COMMENT
Hyper-Verbose Identifiers41 hits · 38 pts
SeverityFileLineSnippetContext
LOWdemo/vibevoice_asr_inference_from_file.py72 def _prepare_generation_config(CODE
LOWdemo/vibevoice_asr_inference_from_file.py269def load_dataset_and_concatenate(CODE
LOWvibevoice/schedule/dpm_solver.py87def rescale_zero_terminal_snr(betas):CODE
LOWvibevoice/schedule/dpm_solver.py627 def dpm_solver_first_order_update(CODE
LOWvibevoice/schedule/dpm_solver.py696 def multistep_dpm_solver_second_order_update(CODE
LOWvibevoice/schedule/dpm_solver.py819 def multistep_dpm_solver_third_order_update(CODE
LOWvibevoice/processor/vibevoice_streaming_processor.py170 def process_input_with_cached_prompt(STRING
LOWvibevoice/processor/vibevoice_asr_processor.py490 def post_process_transcription(self, text: str) -> List[Dict[str, Any]]:CODE
LOWvibevoice/processor/audio_utils.py80def _get_ffmpeg_max_concurrency() -> int:CODE
LOWvibevoice/processor/audio_utils.py107def load_audio_bytes_use_ffmpeg(data: bytes, *, resample: bool = False, target_sr: int = 24000):CODE
LOWvibevoice/modular/modular_vibevoice_text_tokenizer.py66 def _add_vibevoice_special_tokens(self):CODE
LOWvibevoice/modular/modular_vibevoice_text_tokenizer.py163 def _add_vibevoice_special_tokens(self):CODE
LOWvibevoice/modular/modular_vibevoice_text_tokenizer.py264 def _add_vibevoice_special_tokens(self):CODE
LOWvibevoice/modular/modeling_vibevoice_asr.py426 def prepare_inputs_for_generation(CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py97def apply_parametrization_norm(module: nn.Module, norm: str = 'none') -> nn.Module:CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py117def _update_model_kwargs_for_generation(CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py242 def prepare_inputs_for_generation(CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py300 def _update_model_kwargs_for_generation(CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py315 def _init_cache_for_generation(self, generation_config, model_kwargs, batch_size, max_cache_length, device):CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py498 def _build_generate_config_model_kwargs(self, generation_config, inputs, tokenizer, return_processors=False, **kwargCODE
LOWvllm_plugin/model.py272 def _ensure_audio_encoder_dtype(self):CODE
LOWvllm_plugin/model.py559 def get_mm_max_tokens_per_item(CODE
LOWvllm_plugin/model.py666 def get_dummy_processor_inputs(CODE
LOWvllm_plugin/model.py787 def _hf_processor_applies_updates(CODE
LOWvllm_plugin/inputs.py43def vibevoice_audio_input_mapper(ctx, data: Union[str, bytes, np.ndarray, List[str]]) -> MultiModalInputs:CODE
LOWvllm_plugin/tools/generate_tokenizer_files.py151def download_qwen_tokenizer_files(output_dir: str, qwen_model: str = DEFAULT_QWEN_MODEL) -> None:CODE
LOWvllm_plugin/tools/generate_tokenizer_files.py293def generate_added_tokens_json(output_dir: str) -> None:CODE
LOWvllm_plugin/tools/generate_tokenizer_files.py315def generate_special_tokens_map_json(output_dir: str) -> None:CODE
LOWvllm_plugin/tools/generate_tokenizer_files.py355def generate_vibevoice_tokenizer_files(output_dir: str, qwen_model: str = DEFAULT_QWEN_MODEL) -> None:CODE
LOWvllm_plugin/tests/test_api.py47def _get_duration_seconds_ffprobe(path: str) -> float:CODE
LOWvllm_plugin/tests/test_api.py65def _extract_audio_from_video(video_path: str) -> str:CODE
LOWvllm_plugin/tests/test_api.py86def test_transcription_with_hotwords(CODE
LOWvllm_plugin/tests/test_api_auto_recover.py64def _get_duration_seconds_ffprobe(path: str) -> float:CODE
LOWvllm_plugin/tests/test_api_auto_recover.py75def _extract_audio_from_video(video_path: str) -> str:CODE
LOWvllm_plugin/tests/test_api_auto_recover.py102def _find_last_segment_boundary(text: str) -> int:CODE
LOWvllm_plugin/tests/test_api_auto_recover.py114def _find_safe_print_boundary(text: str, max_pos: int) -> int:CODE
LOWvllm_plugin/tests/test_api_auto_recover.py463def test_transcription_with_recovery(CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py144def _get_duration_seconds_ffprobe(path: str) -> float:CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py721 def get_available_models_sync(self) -> List[str]:CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py984 def _parse_truncated_segments(self, text: str) -> Optional[List[Dict]]:CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py1054 def _recover_incomplete_segment(self, incomplete_text: str) -> Optional[Dict]:CODE
Deep Nesting41 hits · 37 pts
SeverityFileLineSnippetContext
LOWdemo/vibevoice_asr_gradio_demo.py247CODE
LOWdemo/vibevoice_asr_gradio_demo.py344CODE
LOWdemo/vibevoice_asr_gradio_demo.py518CODE
LOWdemo/vibevoice_asr_gradio_demo.py962CODE
LOWdemo/vibevoice_asr_gradio_demo.py115CODE
LOWdemo/vibevoice_asr_inference_from_file.py269CODE
LOWdemo/web/app.py367CODE
LOWvibevoice/schedule/dpm_solver.py28CODE
LOWvibevoice/schedule/dpm_solver.py203CODE
LOWvibevoice/schedule/dpm_solver.py321CODE
LOWvibevoice/schedule/dpm_solver.py528CODE
LOWvibevoice/schedule/dpm_solver.py627CODE
LOWvibevoice/schedule/dpm_solver.py696CODE
LOWvibevoice/processor/vibevoice_tokenizer_processor.py65CODE
LOWvibevoice/processor/vibevoice_tokenizer_processor.py282CODE
LOWvibevoice/processor/vibevoice_asr_processor.py267CODE
LOWvibevoice/processor/vibevoice_asr_processor.py490CODE
LOWvibevoice/modular/modeling_vibevoice.py274CODE
LOWvibevoice/modular/streamer.py216CODE
LOWvibevoice/modular/modeling_vibevoice_asr.py208CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py242CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py788CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py926CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py1079CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py1169CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py242CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py574CODE
LOWfinetuning-asr/lora_finetune.py201CODE
LOWvllm_plugin/model.py318CODE
LOWvllm_plugin/model.py988CODE
LOWvllm_plugin/model.py1010CODE
LOWvllm_plugin/tools/generate_tokenizer_files.py387CODE
LOWvllm_plugin/tools/generate_tokenizer_files.py414CODE
LOWvllm_plugin/tests/test_api.py86CODE
LOWvllm_plugin/tests/test_api_auto_recover.py220CODE
LOWvllm_plugin/tests/test_api_auto_recover.py143CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py1157CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py1596CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py776CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py923CODE
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py984CODE
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHvibevoice/modular/modeling_vibevoice.py0set the speech tokenizers used for encoding and decoding speech.STRING
HIGHvibevoice/modular/modeling_vibevoice_asr.py0set the speech tokenizers used for encoding and decoding speech.STRING
HIGHvibevoice/modular/modeling_vibevoice_streaming.py0set the speech tokenizers used for encoding and decoding speech.STRING
HIGH…oice/modular/modeling_vibevoice_streaming_inference.py0set the speech tokenizers used for encoding and decoding speech.STRING
HIGHvibevoice/modular/modeling_vibevoice.py0tie the weights between the input embeddings and the output embeddings.STRING
HIGHvibevoice/modular/modeling_vibevoice_asr.py0tie the weights between the input embeddings and the output embeddings.STRING
HIGH…oice/modular/modeling_vibevoice_streaming_inference.py0tie the weights between the input embeddings and the output embeddings.STRING
Redundant / Tautological Comments16 hits · 25 pts
SeverityFileLineSnippetContext
LOWdemo/vibevoice_asr_inference_from_file.py336 # Check if adding this chunk exceeds max_durationCOMMENT
LOWdemo/vibevoice_asr_inference_from_file.py571 # Print resultsCOMMENT
LOWdemo/realtime_model_inference_from_file.py33 # Check if voices directory existsCOMMENT
LOWdemo/realtime_model_inference_from_file.py147 # Check if txt file existsCOMMENT
LOWvibevoice/processor/vibevoice_processor.py255 # Check if it's a file pathCOMMENT
LOWvibevoice/processor/vibevoice_processor.py621 # Check if we need to normalize speaker IDs (only if all are > 0)COMMENT
LOWvibevoice/processor/vibevoice_tokenizer_processor.py161 # Check if it's a list of file pathsCOMMENT
LOWvibevoice/processor/vibevoice_tokenizer_processor.py167 # Check if it's batched audio arraysCOMMENT
LOWvibevoice/modular/modeling_vibevoice_asr.py294 # Check if this is the final segmentCOMMENT
LOW…oice/modular/modeling_vibevoice_streaming_inference.py715 # # Check if audio_streamer has been ended (stopped externally)COMMENT
LOWfinetuning-asr/inference_lora.py215 # Print resultsCOMMENT
LOWvllm_plugin/model.py404 # Check if this is the final segmentCOMMENT
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py994 # Check if text starts with arrayCOMMENT
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py1213 # Check if uploaded file is a videoCOMMENT
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py1327 # Check if stopped by userCOMMENT
LOWvllm_plugin/scripts/gradio_asr_demo_api_video.py1983 # Check if it's a recorded video that needs conversionCOMMENT
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMvibevoice/processor/vibevoice_tokenizer_processor.py182 # Create a proper batch dimension (B, T)COMMENT
MEDIUMvibevoice/modular/streamer.py37 # Create a queue for each sample in the batchCOMMENT
MEDIUMvibevoice/modular/modular_vibevoice_tokenizer.py286 # Create a unique layer ID for cache managementCOMMENT
MEDIUMvibevoice/modular/modular_vibevoice_tokenizer.py461 # Create a unique layer ID for cache managementCOMMENT
MEDIUMvibevoice/modular/modular_vibevoice_diffusion_head.py219 # Create the intermediate layersCOMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py1300 # Create a stopped result - parse whatever we have so farCOMMENT
MEDIUMvllm_plugin/scripts/gradio_asr_demo_api_video.py2011 # Create a temp VTT file for the video playerCOMMENT
Modern Structural Boilerplate18 hits · 18 pts
SeverityFileLineSnippetContext
LOWvibevoice/__init__.py11__all__ = [CODE
LOWvibevoice/processor/vibevoice_streaming_processor.py407__all__ = [CODE
LOWvibevoice/processor/vibevoice_processor.py690__all__ = [CODE
LOWvibevoice/processor/__init__.py6__all__ = [CODE
LOWvibevoice/processor/vibevoice_tokenizer_processor.py413__all__ = ["VibeVoiceTokenizerProcessor", "AudioNormalizer"]CODE
LOWvibevoice/processor/vibevoice_asr_processor.py572__all__ = ["VibeVoiceASRProcessor"]CODE
LOWvibevoice/modular/modeling_vibevoice.py490__all__ = [CODE
LOWvibevoice/modular/modular_vibevoice_text_tokenizer.py309__all__ = [CODE
LOWvibevoice/modular/configuration_vibevoice_streaming.py102__all__ = [CODE
LOWvibevoice/modular/modeling_vibevoice_asr.py518__all__ = [CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py1203__all__ = [CODE
LOWvibevoice/modular/__init__.py7__all__ = [CODE
LOWvibevoice/modular/modular_vibevoice_diffusion_head.py285__all__ = [CODE
LOWvibevoice/modular/configuration_vibevoice.py400__all__ = [CODE
LOWvibevoice/modular/modeling_vibevoice_streaming.py187__all__ = [CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py904__all__ = [CODE
LOWfinetuning-asr/lora_finetune.py41logger = logging.getLogger(__name__)CODE
LOWvllm_plugin/inputs.py15logger = logging.getLogger(__name__)CODE
AI Structural Patterns19 hits · 18 pts
SeverityFileLineSnippetContext
LOWdemo/vibevoice_asr_gradio_demo.py115CODE
LOWdemo/web/app.py237CODE
LOWvibevoice/schedule/dpm_solver.py203CODE
LOWvibevoice/processor/vibevoice_asr_processor.py193CODE
LOWvibevoice/modular/modeling_vibevoice.py170CODE
LOWvibevoice/modular/modeling_vibevoice.py333CODE
LOWvibevoice/modular/modular_vibevoice_text_tokenizer.py136CODE
LOWvibevoice/modular/modular_vibevoice_text_tokenizer.py234CODE
LOWvibevoice/modular/modeling_vibevoice_asr.py110CODE
LOWvibevoice/modular/modeling_vibevoice_asr.py341CODE
LOWvibevoice/modular/modeling_vibevoice_asr.py426CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py90CODE
LOWvibevoice/modular/modular_vibevoice_tokenizer.py259CODE
LOWvibevoice/modular/configuration_vibevoice.py34CODE
LOWvibevoice/modular/configuration_vibevoice.py97CODE
LOWvibevoice/modular/configuration_vibevoice.py151CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py338CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py401CODE
LOW…oice/modular/modeling_vibevoice_streaming_inference.py574CODE
Verbosity Indicators10 hits · 15 pts
SeverityFileLineSnippetContext
LOWvllm_plugin/tools/generate_tokenizer_files.py369 # Step 1: Download base files from Qwen2COMMENT
LOWvllm_plugin/tools/generate_tokenizer_files.py372 # Step 2: Patch tokenizer_config.jsonCOMMENT
LOWvllm_plugin/tools/generate_tokenizer_files.py375 # Step 3: Patch tokenizer.jsonCOMMENT
LOWvllm_plugin/tools/generate_tokenizer_files.py378 # Step 4: Generate added_tokens.jsonCOMMENT
LOWvllm_plugin/tools/generate_tokenizer_files.py381 # Step 5: Generate special_tokens_map.jsonCOMMENT
LOWvllm_plugin/scripts/start_server.py415 # Step 1: Install system dependenciesSTRING
LOWvllm_plugin/scripts/start_server.py419 # Step 2: Install VibeVoiceSTRING
LOWvllm_plugin/scripts/start_server.py422 # Step 3: Download modelSTRING
LOWvllm_plugin/scripts/start_server.py425 # Step 4: Generate tokenizer filesSTRING
LOWvllm_plugin/scripts/start_server.py429 # Step 5: Start serverSTRING
Structural Annotation Overuse10 hits · 15 pts
SeverityFileLineSnippetContext
LOWvllm_plugin/tools/generate_tokenizer_files.py369 # Step 1: Download base files from Qwen2COMMENT
LOWvllm_plugin/tools/generate_tokenizer_files.py372 # Step 2: Patch tokenizer_config.jsonCOMMENT
LOWvllm_plugin/tools/generate_tokenizer_files.py375 # Step 3: Patch tokenizer.jsonCOMMENT
LOWvllm_plugin/tools/generate_tokenizer_files.py378 # Step 4: Generate added_tokens.jsonCOMMENT
LOWvllm_plugin/tools/generate_tokenizer_files.py381 # Step 5: Generate special_tokens_map.jsonCOMMENT
LOWvllm_plugin/scripts/start_server.py415 # Step 1: Install system dependenciesSTRING
LOWvllm_plugin/scripts/start_server.py419 # Step 2: Install VibeVoiceSTRING
LOWvllm_plugin/scripts/start_server.py422 # Step 3: Download modelSTRING
LOWvllm_plugin/scripts/start_server.py425 # Step 4: Generate tokenizer filesSTRING
LOWvllm_plugin/scripts/start_server.py429 # Step 5: Start serverSTRING
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
LOWvibevoice/processor/vibevoice_processor.py362 # No padding, just create attention masksCOMMENT
MEDIUMvibevoice/processor/vibevoice_processor.py579 # Use regex to be more robustCOMMENT
MEDIUMvibevoice/processor/audio_utils.py129 # For stdin bytes, we don't have a cheap/robust way to probe original sr.COMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMvllm_plugin/model.py590 # Cannot exceed the model's context windowCOMMENT
MEDIUMvllm_plugin/model.py627 # Cannot exceed model context windowCOMMENT
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWvibevoice/schedule/dpm_solver.py1# Copyright 2024 TSAIL Team and The HuggingFace Team. All rights reserved.COMMENT
LOWvllm_plugin/__init__.py61# Note: This function is called via vllm.general_plugins entry pointCOMMENT