Python

vLLM vs TensorRT-LLM on a TTS model's LLM backbone

  • PyTorch
  • vLLM
  • TensorRT-LLM
  • Hugging Face Transformers
  • Docker

Reproducible H100 benchmark of eager PyTorch, vLLM 0.17.1 and TensorRT-LLM on the autoregressive backbone of a multi-stage TTS model. vLLM reaches about 453 tok/s against 213 for TensorRT-LLM and 21 for eager, but the LLM is only about 21% of end-to-end latency; the flow-matching stage takes about 68%, which these engines do not cover.

Python

When Likelihood Disagrees with Quality

  • PyTorch
  • Hugging Face Transformers
  • PEFT/LoRA
  • Accelerate

A diagnosis of Direct Preference Optimization on a continuous-latent flow-matching TTS model. The automatic-metric reward consistently prefers the candidate the model finds less likely, so standard DPO pushes the model the wrong way and quality degrades. Shown with a held-out benchmark, a training-free mechanistic probe and a cross-architecture replication, followed by the alignment routes that do work.

Python

DensityMap-GyralNet

  • NumPy
  • VTK
  • PyVista
  • NiBabel
  • NetworkX

Extracts the gyral net — the network of gyral crests whose three-way junctions are 3-hinge gyri — from cortical surfaces. Reads VTK surface meshes with sulcal depth (or gradient-density maps, the “DensityMap” variant), isolates and thins gyral regions, grows a skeleton tree per region and repairs missing crest links along shortest paths; run on HCP surfaces.

Python★ 1

Open-LLM De-identification

  • PyTorch
  • Hugging Face Transformers
  • Accelerate

Can open 7B LLMs strip protected health information from clinical notes, zero-shot? Runs LLaMA 1 and 2, Falcon-7B and Flan-T5 on the 514-note n2c2 2014 test set under explicit, implicit and ask-then-delete prompts. A re-read of the 2023 runs shows the rewrite scores sit at the floor of an untouched note (0.597), because the scripts saved the prompt with the output; asking Flan-T5 for the PHI and deleting its answers gave the one real gain (0.737). A synthetic worked example shows every step without the restricted data.

Jupyter

RadQNLI: radiology NLI for LLMs

  • OpenAI API
  • pandas
  • NLTK
  • Hugging Face Evaluate

Can one generic LLM read radiology reports as well as models fine-tuned on the task? Builds RadQNLI from RadQA’s MIMIC-III reports by pairing each clinician question with every report sentence and keeping the negatives that share words with the question (ROUGE-1 ≥ 0.2): 9,838 pairs, rebuilt exactly by the repository’s scripts. ChatGPT with three examples drops from 0.81 to 0.62 accuracy as the test negatives share more words with the question, but random negatives of the same count drop almost as far (0.83 to 0.64): most of the decline follows the rising share of entailment pairs. In the paper GPT-4 reaches 0.842 accuracy, against 0.847 for BERT-family models fine-tuned on all the training data. RadQA needs PhysioNet credentialing; a synthetic example shows every step.