File tree Expand file tree Collapse file tree 7 files changed +101
-0
lines changed
wiki_maykeye_tinyllama_v0_numsamp2_seqlen2048 Expand file tree Collapse file tree 7 files changed +101
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright The FMS Model Optimizer Authors
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
Original file line number Diff line number Diff line change 1+ {
2+ "accelerate_launch_args" : {
3+ "main_process_port" : 1234
4+ },
5+ "model_name_or_path" : " Maykeye/TinyLLama-v0" ,
6+ "training_data_path" : " data_train" ,
7+ "quant_method" : " gptq" ,
8+ "bits" : 4 ,
9+ "group_size" : 128 ,
10+ "output_dir" : " models/Maykeye/TinyLLama-v0-GPTQ" ,
11+ "log_level" :" DEBUG"
12+ }
Original file line number Diff line number Diff line change 1+ # Copyright The FMS Model Optimizer Authors
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ """Helpful datasets for configuring individual unit tests.
16+ """
17+ # Standard
18+ import os
19+
20+ ### Constants used for data
21+ MODEL_NAME = "Maykeye/TinyLLama-v0"
22+ DATA_DIR = os .path .join (os .path .dirname (__file__ ))
23+
24+ WIKITEXT_TOKENIZED_DATA_JSON = os .path .join (
25+ DATA_DIR , "wiki_maykeye_tinyllama_v0_numsamp2_seqlen2048"
26+ )
27+ EMPTY_DATA = os .path .join (DATA_DIR , "empty_data.json" )
28+ MALFORMATTED_DATA = os .path .join (DATA_DIR , "malformatted_data.json" )
Original file line number Diff line number Diff line change 1+ {
2+ "citation" : " " ,
3+ "description" : " " ,
4+ "features" : {
5+ "input_ids" : {
6+ "feature" : {
7+ "dtype" : " int32" ,
8+ "_type" : " Value"
9+ },
10+ "_type" : " Sequence"
11+ },
12+ "attention_mask" : {
13+ "feature" : {
14+ "dtype" : " int8" ,
15+ "_type" : " Value"
16+ },
17+ "_type" : " Sequence"
18+ }
19+ },
20+ "homepage" : " " ,
21+ "license" : " "
22+ }
Original file line number Diff line number Diff line change 1+ {
2+ "_data_files" : [
3+ {
4+ "filename" : " data-00000-of-00001.arrow"
5+ }
6+ ],
7+ "_fingerprint" : " 27301518aea394cd" ,
8+ "_format_columns" : null ,
9+ "_format_kwargs" : {},
10+ "_format_type" : null ,
11+ "_output_all_columns" : false ,
12+ "_split" : null
13+ }
Original file line number Diff line number Diff line change 1+ # Copyright The FMS Model Optimizer Authors
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
You can’t perform that action at this time.
0 commit comments