Upload folder using huggingface_hub
Browse files- .ipynb_checkpoints/model-checkpoint.py +3 -1
- __pycache__/config.cpython-39.pyc +0 -0
- __pycache__/model.cpython-39.pyc +0 -0
- model.py +3 -1
- untitled.txt +0 -0
.ipynb_checkpoints/model-checkpoint.py
CHANGED
@@ -24,7 +24,9 @@ class UARScene(
|
|
24 |
config_class = LUARConfig
|
25 |
|
26 |
def __init__(self, config):
|
27 |
-
|
|
|
|
|
28 |
self.create_transformer()
|
29 |
self.linear = nn.Linear(self.hidden_size, self.config.embedding_size)
|
30 |
|
|
|
24 |
config_class = LUARConfig
|
25 |
|
26 |
def __init__(self, config):
|
27 |
+
|
28 |
+
super().__init__()
|
29 |
+
self.config = config
|
30 |
self.create_transformer()
|
31 |
self.linear = nn.Linear(self.hidden_size, self.config.embedding_size)
|
32 |
|
__pycache__/config.cpython-39.pyc
ADDED
Binary file (623 Bytes). View file
|
|
__pycache__/model.cpython-39.pyc
ADDED
Binary file (3.36 kB). View file
|
|
model.py
CHANGED
@@ -24,7 +24,9 @@ class UARScene(
|
|
24 |
config_class = LUARConfig
|
25 |
|
26 |
def __init__(self, config):
|
27 |
-
|
|
|
|
|
28 |
self.create_transformer()
|
29 |
self.linear = nn.Linear(self.hidden_size, self.config.embedding_size)
|
30 |
|
|
|
24 |
config_class = LUARConfig
|
25 |
|
26 |
def __init__(self, config):
|
27 |
+
|
28 |
+
super().__init__()
|
29 |
+
self.config = config
|
30 |
self.create_transformer()
|
31 |
self.linear = nn.Linear(self.hidden_size, self.config.embedding_size)
|
32 |
|
untitled.txt
ADDED
File without changes
|