From b5de54cfc298c696fcd090bb7d12e8a6b9a8bfe1 Mon Sep 17 00:00:00 2001 From: Jonas Knobloch Date: Wed, 8 Apr 2026 21:58:01 +0200 Subject: Rename default config constructor --- gpt2/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpt2/config.go') 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, -- cgit v1.3.1