Upload model
Browse files- model.safetensors +2 -2
- modeling_IQtransformer.py +1 -1
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59ddb6814299930ea3c647584bc2aeb3c9d3bb0cb3d8bdf4036eab6c9fac9adb
|
3 |
+
size 44272
|
modeling_IQtransformer.py
CHANGED
@@ -222,7 +222,7 @@ class transformerModel(PreTrainedModel):
|
|
222 |
config.num_heads, config.dropout))
|
223 |
|
224 |
self.l1 = nn.Linear(64, 16)
|
225 |
-
self.l2 = nn.Linear(16,
|
226 |
|
227 |
def forward(self, X, valid_lens, *args):
|
228 |
# 因为位置编码值在-1和1之间,
|
|
|
222 |
config.num_heads, config.dropout))
|
223 |
|
224 |
self.l1 = nn.Linear(64, 16)
|
225 |
+
self.l2 = nn.Linear(16, 4)
|
226 |
|
227 |
def forward(self, X, valid_lens, *args):
|
228 |
# 因为位置编码值在-1和1之间,
|