summaryrefslogtreecommitdiff
path: root/gpt2/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'gpt2/config.go')
-rw-r--r--gpt2/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpt2/config.go b/gpt2/config.go
index b7cede5..be7db30 100644
--- a/gpt2/config.go
+++ b/gpt2/config.go
@@ -8,7 +8,7 @@ type Config struct {
nPositions int
}
-func NewDefaultConfig() Config {
+func DefaultConfig() Config {
return Config{
vocabSize: 50257,
nLayers: 12,