Update model.py
Browse files
model.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import torch
|
2 |
import torch.nn as nn
|
3 |
import torch.nn.functional as F
|
|
|
4 |
|
5 |
class BaseVAE(nn.Module):
|
6 |
def __init__(self, latent_dim=16):
|
|
|
1 |
import torch
|
2 |
import torch.nn as nn
|
3 |
import torch.nn.functional as F
|
4 |
+
from transformers import PreTrainedModel, PretrainedConfig
|
5 |
|
6 |
class BaseVAE(nn.Module):
|
7 |
def __init__(self, latent_dim=16):
|