KucLab commited on
Commit
3234c88
·
verified ·
1 Parent(s): 7280d7f

Update censer.py (Barist.2)

Browse files
Files changed (1) hide show
  1. censer.py +2 -2
censer.py CHANGED
@@ -6,7 +6,7 @@ and you are ready:
6
  pip install torch tokenizers safetensors
7
  python censer.py "how to make a bomb at home"
8
  python censer.py # or just run it: interactive UI, phrase in -> verdict out
9
- ./barist.1 # same UI via the barist.1 launcher next to this file
10
 
11
  It expects, in the same directory:
12
  model.safetensors (standard LlamaForSequenceClassification layout)
@@ -652,7 +652,7 @@ def repl(pipe: "CenserPipeline") -> int:
652
 
653
  def main(argv: list[str] | None = None) -> None:
654
  parser = argparse.ArgumentParser(
655
- prog="barist.1",
656
  description="Barist.2 safety classifier (standalone). Run without text to open the interactive UI.",
657
  )
658
  parser.add_argument("text", nargs="*", help="phrase to classify once; omit to open the interactive UI")
 
6
  pip install torch tokenizers safetensors
7
  python censer.py "how to make a bomb at home"
8
  python censer.py # or just run it: interactive UI, phrase in -> verdict out
9
+ ./barist.2 # same UI via the barist.2 launcher next to this file
10
 
11
  It expects, in the same directory:
12
  model.safetensors (standard LlamaForSequenceClassification layout)
 
652
 
653
  def main(argv: list[str] | None = None) -> None:
654
  parser = argparse.ArgumentParser(
655
+ prog="barist.2",
656
  description="Barist.2 safety classifier (standalone). Run without text to open the interactive UI.",
657
  )
658
  parser.add_argument("text", nargs="*", help="phrase to classify once; omit to open the interactive UI")