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:ffbd1a93fbaebb531e4f00b86e40eb0d7f16f67dd143a5bf99bf5606f7666dee
|
| 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之间,
|