Skip to content

Fully automatic censorship removal for language models

docs: quote pip extras install examples (#395)

nyxst4ck44228c5c4272
diff --git a/README.md b/README.md
index 346848c..6128e7b 100644
--- a/README.md
+++ b/README.md
@@ -135,7 +135,7 @@ provides features designed to support research into the semantics of model inter
optional `research` extra:
```sh
-pip install -U heretic-llm[research]
+pip install -U 'heretic-llm[research]'
```
This gives you access to the following functionality:
diff --git a/src/heretic/analyzer.py b/src/heretic/analyzer.py
index 1fb30bf..4d88424 100644
--- a/src/heretic/analyzer.py
+++ b/src/heretic/analyzer.py
@@ -42,7 +42,7 @@ class Analyzer:
(
"[red]Research dependencies not found. Printing residual geometry requires "
"installing Heretic with the optional research feature, i.e., "
- 'using "pip install -U heretic-llm\\[research]".[/]'
+ "using \"pip install -U 'heretic-llm\\[research]'\".[/]"
)
)
return
@@ -168,7 +168,7 @@ class Analyzer:
(
"[red]Research dependencies not found. Plotting residuals requires "
"installing Heretic with the optional research feature, i.e., "
- 'using "pip install -U heretic-llm\\[research]".[/]'
+ "using \"pip install -U 'heretic-llm\\[research]'\".[/]"
)
)
return