~/talk

Detoxification of LLMs using TrustyAI Detoxify and HuggingFace SFTTrainer

Talkat DevConf.US 2024 · 2024-08-14..08-16· [large-language-models, machine-learning]
links:none on file
slides:none on file

Claims a no-annotator detox pipeline: TrustyAI Detoxify rephrase via token disagreement by scoring next-token probability differences between two T‑models, masking top‑disagreement tokens and replacing them with non‑toxic alternatives; then applies supervised finetuning using HuggingFace SFTTrainer with PEFT LoRA + 4‑bit quantization to avoid catastrophic forgetting and cut storage/compute. Evaluation shows the detoxified model has lower mean and standard deviation toxicity scores than a conventionally fine‑tuned model and produces non‑toxic generations for sensitive prompts; code and examples are linked in the repo.

AI-written summary · about

  1. 0:00Intro
  2. 0:18Motivation
  3. 1:59Objectives
  4. 3:39PFT
  5. 7:01Solution
  6. 7:43Evaluation
  7. 9:09Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.