diff options
| author | Jonas Knobloch <jonas.knobloch@t-online.de> | 2026-02-25 13:35:42 +0100 |
|---|---|---|
| committer | Jonas Knobloch <jonas.knobloch@t-online.de> | 2026-02-28 18:06:23 +0100 |
| commit | 8103b598b73f2bac8ed3e72821998a7e4881f832 (patch) | |
| tree | 56a961d7b93069602ab4bd9d862025e40e2e78d6 | |
| parent | 65d687794f7cab5ff57ab2a129f0c83924a1538e (diff) | |
Update module paths
| -rw-r--r-- | bpc/bpc.go | 3 | ||||
| -rw-r--r-- | bpc/cmd/bpc/main.go | 5 | ||||
| -rw-r--r-- | bpc/go.mod | 2 | ||||
| -rw-r--r-- | gpt2/cmd/gpt2/main.go | 3 | ||||
| -rw-r--r-- | gpt2/go.mod | 2 | ||||
| -rw-r--r-- | gpt2/model.go | 3 | ||||
| -rw-r--r-- | llm/go.mod | 2 | ||||
| -rw-r--r-- | tensor/go.mod | 2 |
8 files changed, 13 insertions, 9 deletions
@@ -2,8 +2,9 @@ package bpc import ( "fmt" - "llm" "log" + + "github.com/jonasknobloch/x/llm" ) func Run(model llm.Causal, tokenizer llm.Tokenizer) { diff --git a/bpc/cmd/bpc/main.go b/bpc/cmd/bpc/main.go index b94357c..37e8e87 100644 --- a/bpc/cmd/bpc/main.go +++ b/bpc/cmd/bpc/main.go @@ -1,11 +1,12 @@ package main import ( - "bpc" - "gpt2" "log" "os" + "github.com/jonasknobloch/x/bpc" + "github.com/jonasknobloch/x/gpt2" + "github.com/jonasknobloch/mbpe" ) @@ -1,4 +1,4 @@ -module bpc +module github.com/jonasknobloch/x/bpc go 1.25.0 diff --git a/gpt2/cmd/gpt2/main.go b/gpt2/cmd/gpt2/main.go index b1e8611..69c7a21 100644 --- a/gpt2/cmd/gpt2/main.go +++ b/gpt2/cmd/gpt2/main.go @@ -2,8 +2,9 @@ package main import ( "fmt" - "gpt2" "log" + + "github.com/jonasknobloch/x/gpt2" ) func main() { diff --git a/gpt2/go.mod b/gpt2/go.mod index 2f58600..875375f 100644 --- a/gpt2/go.mod +++ b/gpt2/go.mod @@ -1,4 +1,4 @@ -module gpt2 +module github.com/jonasknobloch/x/gpt2 go 1.25.0 diff --git a/gpt2/model.go b/gpt2/model.go index 79a4407..48b052c 100644 --- a/gpt2/model.go +++ b/gpt2/model.go @@ -3,13 +3,14 @@ package gpt2 import ( "errors" "fmt" - _ "llm" "math" "os" "slices" "sort" "strconv" + _ "github.com/jonasknobloch/x/llm" + ort "github.com/yalue/onnxruntime_go" ) @@ -1,4 +1,4 @@ -module llm +module github.com/jonasknobloch/x/llm go 1.25.0 diff --git a/tensor/go.mod b/tensor/go.mod index 765fa4f..382c287 100644 --- a/tensor/go.mod +++ b/tensor/go.mod @@ -1,3 +1,3 @@ -module tensor +module github.com/jonasknobloch/x/tensor go 1.25.0 |
