Skip to content

Commit ea61c13

Browse files
doc: documented the change of models
1 parent 8731d8a commit ea61c13

4 files changed

Lines changed: 54 additions & 0 deletions

File tree

docs/changing-models.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# How to change the large language model (LLM)
2+
3+
## On the Questionnaire and Highlighter
4+
5+
All the responses displayed on
6+
[the questionnaire and highlighter prototypes](https://kingsdigitallab.github.io/algorithmic-justice/nlpui.html)
7+
come from the same model selected in the Settings tab.
8+
9+
![Setting tab, model drop down](settings-model.png)
10+
11+
By default the drop down is set to a particular model
12+
(`gemma3:4b` in this example).
13+
14+
You can select alternative models in the drop down
15+
then return to the Questionnaire
16+
and click the "Ask" button next to each question to see the response.
17+
18+
To save you from clicking all the Ask button
19+
you can also pre-render all the responses at once
20+
after changing a model
21+
by pressing the "Show all responses" button
22+
at the bottom of the Settings screen
23+
then return to the Questionnare tab.
24+
25+
![Settings tab, show all responses button](settings-show-all-responses.png)
26+
27+
Whenever you change a model
28+
its name is updated in the URL of the web page
29+
which is usually visible in the address bar of your browser.
30+
You can therefore bookmark, copy and share that address
31+
and the next time it is opened, that model will be pre-selected.
32+
33+
## On the integrated prototype
34+
35+
Similarly all responses displayed on
36+
[the integrated prototype](https://kingsdigitallab.github.io/algorithmic-justice/poc3.html)
37+
come from one model.
38+
39+
The model name is mentioned under the algorthm section.
40+
To get there, click "Explain algorithm" button under the question table.
41+
42+
![model in poc3 web page](poc3-model.png)
43+
44+
There is no settings tab on this prototype
45+
because it is designed for end-users or tests.
46+
An alternative model can be specified via the URL.
47+
48+
For instance, this URL [https://kingsdigitallab.github.io/algorithmic-justice/poc3.html?model=qwen3.6:27b](https://kingsdigitallab.github.io/algorithmic-justice/poc3.html?model=qwen3.6:27b)
49+
will select qwen3.6:27b and show its responses in the question table.
50+
51+
This allows you to share a link with other users or tester
52+
who will only see that particular model
53+
when the integrated prototype loads in their browser.
54+

docs/poc3-model.png

69 KB
Loading

docs/settings-model.png

50.5 KB
Loading
95.2 KB
Loading

0 commit comments

Comments
 (0)