Upload CubeLM
Browse files
CubeLM.py
CHANGED
|
@@ -2,7 +2,7 @@ from dataclasses import dataclass
|
|
| 2 |
from typing import Optional
|
| 3 |
import torch
|
| 4 |
import torch.nn as nn
|
| 5 |
-
from
|
| 6 |
from transformers import (
|
| 7 |
GPT2Model,
|
| 8 |
GenerationMixin,
|
|
|
|
| 2 |
from typing import Optional
|
| 3 |
import torch
|
| 4 |
import torch.nn as nn
|
| 5 |
+
from .CubeConfig import CubeConfig
|
| 6 |
from transformers import (
|
| 7 |
GPT2Model,
|
| 8 |
GenerationMixin,
|