summaryrefslogtreecommitdiff
path: root/llm/causal.go
diff options
context:
space:
mode:
Diffstat (limited to 'llm/causal.go')
-rw-r--r--llm/causal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/llm/causal.go b/llm/causal.go
index 296a744..b683985 100644
--- a/llm/causal.go
+++ b/llm/causal.go
@@ -2,4 +2,5 @@ package llm
type Causal interface {
Generate(prompt []int64, steps int64, logits *[][]float32) ([]int64, error)
+ Score(tokens []int64, logProbs *[]float32) error
}