summaryrefslogtreecommitdiff
path: root/gpt2/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'gpt2/cmd')
-rw-r--r--gpt2/cmd/gpt2/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpt2/cmd/gpt2/main.go b/gpt2/cmd/gpt2/main.go
index b9b75a2..17dac69 100644
--- a/gpt2/cmd/gpt2/main.go
+++ b/gpt2/cmd/gpt2/main.go
@@ -28,7 +28,7 @@ func main() {
}
func generate(prompt []int64) {
- cfg := gpt2.DefaultConfig()
+ cfg := gpt2.ConfigDefault()
cfg.VocabSize = 8193
@@ -60,7 +60,7 @@ func generate(prompt []int64) {
}
func score(prompt []int64) {
- cfg := gpt2.DefaultConfig()
+ cfg := gpt2.ConfigDefault()
cfg.VocabSize = 8193