diff options
Diffstat (limited to 'gpt2/cmd')
| -rw-r--r-- | gpt2/cmd/gpt2/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpt2/cmd/gpt2/main.go b/gpt2/cmd/gpt2/main.go index a832ccd..cad3333 100644 --- a/gpt2/cmd/gpt2/main.go +++ b/gpt2/cmd/gpt2/main.go @@ -10,7 +10,7 @@ import ( func main() { prompt := []int64{464, 2068, 7586, 21831} - m := gpt2.NewModel("models/base/model.onnx", "") + m := gpt2.NewModel("gpt2/models/base/model.onnx", "0", gpt2.NewDefaultConfig()) if err := m.Init(); err != nil { log.Fatal(err) |
