Rename modeling_deepseek.py to modeling_timaai.py
Browse files
modeling_deepseek.py → modeling_timaai.py
RENAMED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# coding=utf-8
|
| 2 |
-
# Copyright 2023
|
| 3 |
#
|
| 4 |
# This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX
|
| 5 |
# and OPT implementations in this library. It has been modified from its
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
# See the License for the specific language governing permissions and
|
| 19 |
# limitations under the License.
|
| 20 |
-
""" PyTorch
|
| 21 |
import math
|
| 22 |
import warnings
|
| 23 |
from typing import List, Optional, Tuple, Union
|
|
@@ -54,7 +54,7 @@ from transformers.utils import (
|
|
| 54 |
replace_return_docstrings,
|
| 55 |
)
|
| 56 |
from transformers.utils.import_utils import is_torch_fx_available
|
| 57 |
-
from .
|
| 58 |
import torch.distributed as dist
|
| 59 |
import numpy as np
|
| 60 |
|
|
|
|
| 1 |
# coding=utf-8
|
| 2 |
+
# Copyright 2023 timaai-AI and The HuggingFace Inc. team. All rights reserved.
|
| 3 |
#
|
| 4 |
# This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX
|
| 5 |
# and OPT implementations in this library. It has been modified from its
|
|
|
|
| 17 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
# See the License for the specific language governing permissions and
|
| 19 |
# limitations under the License.
|
| 20 |
+
""" PyTorch timaai model."""
|
| 21 |
import math
|
| 22 |
import warnings
|
| 23 |
from typing import List, Optional, Tuple, Union
|
|
|
|
| 54 |
replace_return_docstrings,
|
| 55 |
)
|
| 56 |
from transformers.utils.import_utils import is_torch_fx_available
|
| 57 |
+
from .configuration_timaai import timaaiV3Config
|
| 58 |
import torch.distributed as dist
|
| 59 |
import numpy as np
|
| 60 |
|