minato-ryan
commited on
Commit
•
2618a43
1
Parent(s):
c65c668
Update config.py
Browse files
config.py
CHANGED
@@ -12,8 +12,9 @@ class DSIRConfig(PretrainedConfig):
|
|
12 |
n: int = 2,
|
13 |
num_buckets: int = 10_000,
|
14 |
laplace_smoothing: float = 1e-4,
|
|
|
15 |
):
|
16 |
-
super().__init__()
|
17 |
self.n = n
|
18 |
self.num_buckets = num_buckets
|
19 |
self.laplace_smoothing = laplace_smoothing
|
|
|
12 |
n: int = 2,
|
13 |
num_buckets: int = 10_000,
|
14 |
laplace_smoothing: float = 1e-4,
|
15 |
+
**kwargs
|
16 |
):
|
17 |
+
super().__init__(**kwargs)
|
18 |
self.n = n
|
19 |
self.num_buckets = num_buckets
|
20 |
self.laplace_smoothing = laplace_smoothing
|