Update modeling_custom_gpt.py
Browse files- modeling_custom_gpt.py +1 -1
modeling_custom_gpt.py
CHANGED
|
@@ -3,7 +3,7 @@ import torch.nn as nn
|
|
| 3 |
from torch.nn import functional as F
|
| 4 |
from transformers import PreTrainedModel
|
| 5 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
| 6 |
-
from configuration_custom_gpt import CustomGPTConfig
|
| 7 |
|
| 8 |
# -----------------------------------------------------------------------------
|
| 9 |
# 1. Standalone Rotary Embedding (Replacing external dependency)
|
|
|
|
| 3 |
from torch.nn import functional as F
|
| 4 |
from transformers import PreTrainedModel
|
| 5 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
| 6 |
+
from .configuration_custom_gpt import CustomGPTConfig
|
| 7 |
|
| 8 |
# -----------------------------------------------------------------------------
|
| 9 |
# 1. Standalone Rotary Embedding (Replacing external dependency)
|