Guanzheng commited on
Commit
3a3383b
1 Parent(s): 86e45fc

Update configuration_clex.py

Browse files
Files changed (1) hide show
  1. configuration_clex.py +1 -55
configuration_clex.py CHANGED
@@ -1,56 +1,3 @@
1
- Hugging Face's logo
2
- Hugging Face
3
- Search models, datasets, users...
4
- Models
5
- Datasets
6
- Spaces
7
- Posts
8
- Docs
9
- Pricing
10
-
11
-
12
-
13
-
14
- DAMO-NLP-SG
15
- /
16
- CLEX-7B-16K
17
-
18
- like
19
- 3
20
- Text Generation
21
- Transformers
22
- PyTorch
23
- English
24
- llama
25
- custom_code
26
- Inference Endpoints
27
- text-generation-inference
28
-
29
- arxiv:
30
- 2310.16450
31
-
32
- License:
33
- mit
34
- Model card
35
- Files and versions
36
- Community
37
- Settings
38
- CLEX-7B-16K
39
- /
40
- configuration_clex.py
41
- Guanzheng's picture
42
- Guanzheng
43
- Create configuration_clex.py
44
- 71d09d9
45
- VERIFIED
46
- about 1 hour ago
47
- raw
48
- history
49
- blame
50
- edit
51
- delete
52
- No virus
53
- 7.84 kB
54
  # coding=utf-8
55
  # Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved.
56
  #
@@ -190,5 +137,4 @@ class CLEXLlamaConfig(LlamaConfig):
190
  # if rope_scaling_max_factor is None or not isinstance(rope_scaling_max_factor, float) or rope_scaling_max_factor <= 1.0:
191
  # raise ValueError(f"`rope_scaling`'s factor field must be an float > 1, got {rope_scaling_max_factor}")
192
  # if rope_scaling_param_factor is None or not isinstance(rope_scaling_param_factor, float) or rope_scaling_param_factor <= 1.0:
193
- # raise ValueError(f"`rope_scaling`'s factor field must be an float > 1, got {rope_scaling_param_factor}")
194
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # coding=utf-8
2
  # Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved.
3
  #
 
137
  # if rope_scaling_max_factor is None or not isinstance(rope_scaling_max_factor, float) or rope_scaling_max_factor <= 1.0:
138
  # raise ValueError(f"`rope_scaling`'s factor field must be an float > 1, got {rope_scaling_max_factor}")
139
  # if rope_scaling_param_factor is None or not isinstance(rope_scaling_param_factor, float) or rope_scaling_param_factor <= 1.0:
140
+ # raise ValueError(f"`rope_scaling`'s factor field must be an float > 1, got {rope_scaling_param_factor}")