Skip to content

Goalie v0.4.3: a model can be the second check

Choose a tag to compare

@juwpegatron juwpegatron released this 30 Nov 09:31
4800285

Goalie v0.4.3

New, off by default: a model can be the second check on pasted text. Set GOALIE_PASTE_JUDGE_MODEL on the server. The model is only asked about messages of two or more lines that the patterns let through. No answer in time (GOALIE_JUDGE_TIMEOUT, default 8 seconds) lets the message through.

Measured on sets of 10 attacks and 12 ordinary messages written by the author (attacks blocked / ordinary blocked):

Set f Set i (new, scored once)
Patterns alone 2/10, 0/12 0/10, 0/12
+ 3B local model 2/10, 0/12 0/10, 0/12
+ 12B local model 9/10, 0/12 9/10, 2/12

The 12B model took 18 to 27 seconds per message on a laptop CPU, so it needs a GPU or a hosted model.

Short off-topic requests ("design a logo for my bakery"). When GOALIE_JUDGE_MODEL is set, these now go to the model. New set g, scored once (off-topic answered / real requests turned away): no model 4/12, 1/10; 3B model 4/12, 0/10; 12B model 1/12, 0/10. A stricter word rule with no model was tried and dropped: 1/12 answered, but 6/10 real requests turned away.

Fixed: a model answer that was cut off after a few letters was thrown away.

Not changed: without a model the gate behaves as in 0.4.2. The page in the browser has no model.

The name: Goalie is not on PyPI or npm. The packages called goalie there belong to other people. Install by cloning this repository or with the GitHub Action.

Limits: two local models, 22 messages per set, one author. Hosted models were not measured. No attack was written against the model check itself.