jeffreymeetkai commited on
Commit
6fdf956
1 Parent(s): f9b715e
modeling_functionary.py CHANGED
@@ -1,26 +1,8 @@
1
  # coding=utf-8
2
- # Copyright 2022 EleutherAI 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
6
- # original forms to accommodate minor architectural differences compared
7
- # to GPT-NeoX and OPT used by the Meta AI team that trained the model.
8
- #
9
- # Licensed under the Apache License, Version 2.0 (the "License");
10
- # you may not use this file except in compliance with the License.
11
- # You may obtain a copy of the License at
12
- #
13
- # http://www.apache.org/licenses/LICENSE-2.0
14
- #
15
- # Unless required by applicable law or agreed to in writing, software
16
- # distributed under the License is distributed on an "AS IS" BASIS,
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 LLaMA model."""
21
 
22
  import json
23
- import re
24
  from typing import TYPE_CHECKING, Callable, List, Optional, Tuple, Union
25
 
26
  import torch
 
1
  # coding=utf-8
2
+ # Copyright (c) 2024, MeetKai Inc. All rights reserved.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  """PyTorch LLaMA model."""
4
 
5
  import json
 
6
  from typing import TYPE_CHECKING, Callable, List, Optional, Tuple, Union
7
 
8
  import torch
tokenization_functionary.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  from copy import deepcopy
2
  import json
3
  from typing import Any, Dict, List, Literal, Optional, Union
 
1
+ # Copyright (c) 2024, MeetKai Inc. All rights reserved.
2
+
3
  from copy import deepcopy
4
  import json
5
  from typing import Any, Dict, List, Literal, Optional, Union