zwpride-iquestlab commited on
Commit
209c2ea
·
verified ·
1 Parent(s): 6d673b0

Update modeling_iquestcoder.py

Browse files
Files changed (1) hide show
  1. modeling_iquestcoder.py +25 -8
modeling_iquestcoder.py CHANGED
@@ -1,11 +1,28 @@
1
- """IQuestCoder model implementation.
2
-
3
- This implementation combines ideas from:
4
- - LLaMA: Core architecture and forward pass (for compatibility)
5
- - OLMo: QKV clipping for training stability
6
- - Qwen2: Sliding window attention support
7
-
8
- The forward pass is fully compatible with LLaMA weights.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  """
10
 
11
  from typing import Callable, List, Optional, Tuple, Union
 
1
+ """
2
+ Modified MIT License
3
+
4
+ Software Copyright© 2025 IQuest Research
5
+
6
+ Our only modification is that, if the Software (or any derivative works
7
+ thereof) is used for any of your commercial products or services, you shall
8
+ prominently display "IQuest Coder" on the user interface of such product or
9
+ service.
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
  """
27
 
28
  from typing import Callable, List, Optional, Tuple, Union