Uploading folder tiny_LLaMA_1b_8k_cc_merged_v2_8k to hftyzhu/tyzhu/tiny_LLaMA_1b_8k_cc_merged_v2_8kat time 2024-05-18 06:15:31
Browse files- iter-200000-ckpt-step-25000_hf/config.json +24 -0
- iter-200000-ckpt-step-25000_hf/eval_arxiv_8k.log +1 -0
- iter-200000-ckpt-step-25000_hf/eval_book_8k.log +1 -0
- iter-200000-ckpt-step-25000_hf/eval_cc_8k.log +1 -0
- iter-200000-ckpt-step-25000_hf/eval_rpwiki_en_8k.log +1 -0
- iter-200000-ckpt-step-25000_hf/pytorch_model.bin +3 -0
- iter-200000-ckpt-step-25000_hf/results.json +116 -0
iter-200000-ckpt-step-25000_hf/config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"bos_token_id": 1,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"hidden_act": "silu",
|
8 |
+
"hidden_size": 2048,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 5632,
|
11 |
+
"max_position_embeddings": 8192,
|
12 |
+
"model_type": "llama",
|
13 |
+
"num_attention_heads": 32,
|
14 |
+
"num_hidden_layers": 22,
|
15 |
+
"num_key_value_heads": 4,
|
16 |
+
"pretraining_tp": 1,
|
17 |
+
"rms_norm_eps": 1e-05,
|
18 |
+
"rope_scaling": null,
|
19 |
+
"tie_word_embeddings": false,
|
20 |
+
"torch_dtype": "float32",
|
21 |
+
"transformers_version": "4.31.0.dev0",
|
22 |
+
"use_cache": true,
|
23 |
+
"vocab_size": 32000
|
24 |
+
}
|
iter-200000-ckpt-step-25000_hf/eval_arxiv_8k.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"val_loss": 2.349155902862549, "val_ppl": 10.476722619771667}
|
iter-200000-ckpt-step-25000_hf/eval_book_8k.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"val_loss": 2.5516607761383057, "val_ppl": 12.828391186939749}
|
iter-200000-ckpt-step-25000_hf/eval_cc_8k.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"val_loss": 2.2867138385772705, "val_ppl": 9.842540302575875}
|
iter-200000-ckpt-step-25000_hf/eval_rpwiki_en_8k.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"val_loss": 2.4309866428375244, "val_ppl": 11.370094770198614}
|
iter-200000-ckpt-step-25000_hf/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f091b4b0af5afb6819e61c4867660910ea020d133eb0e8e65c8a1895db81232
|
3 |
+
size 4400256000
|
iter-200000-ckpt-step-25000_hf/results.json
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"results": {
|
3 |
+
"lambada_openai": {
|
4 |
+
"perplexity,none": 33.885559155804046,
|
5 |
+
"perplexity_stderr,none": 1.3590630677706959,
|
6 |
+
"acc,none": 0.3293227246264312,
|
7 |
+
"acc_stderr,none": 0.006547563491030402,
|
8 |
+
"alias": "lambada_openai"
|
9 |
+
},
|
10 |
+
"hellaswag": {
|
11 |
+
"acc,none": 0.3211511651065525,
|
12 |
+
"acc_stderr,none": 0.004659644733309563,
|
13 |
+
"acc_norm,none": 0.37821151165106554,
|
14 |
+
"acc_norm_stderr,none": 0.0048394970205366235,
|
15 |
+
"alias": "hellaswag"
|
16 |
+
}
|
17 |
+
},
|
18 |
+
"group_subtasks": {
|
19 |
+
"hellaswag": [],
|
20 |
+
"lambada_openai": []
|
21 |
+
},
|
22 |
+
"configs": {
|
23 |
+
"hellaswag": {
|
24 |
+
"task": "hellaswag",
|
25 |
+
"group": [
|
26 |
+
"multiple_choice"
|
27 |
+
],
|
28 |
+
"dataset_path": "hellaswag",
|
29 |
+
"training_split": "train",
|
30 |
+
"validation_split": "validation",
|
31 |
+
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n def _process_doc(doc):\n ctx = doc[\"ctx_a\"] + \" \" + doc[\"ctx_b\"].capitalize()\n out_doc = {\n \"query\": preprocess(doc[\"activity_label\"] + \": \" + ctx),\n \"choices\": [preprocess(ending) for ending in doc[\"endings\"]],\n \"gold\": int(doc[\"label\"]),\n }\n return out_doc\n\n return dataset.map(_process_doc)\n",
|
32 |
+
"doc_to_text": "{{query}}",
|
33 |
+
"doc_to_target": "{{label}}",
|
34 |
+
"doc_to_choice": "choices",
|
35 |
+
"description": "",
|
36 |
+
"target_delimiter": " ",
|
37 |
+
"fewshot_delimiter": "\n\n",
|
38 |
+
"num_fewshot": 10,
|
39 |
+
"metric_list": [
|
40 |
+
{
|
41 |
+
"metric": "acc",
|
42 |
+
"aggregation": "mean",
|
43 |
+
"higher_is_better": true
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"metric": "acc_norm",
|
47 |
+
"aggregation": "mean",
|
48 |
+
"higher_is_better": true
|
49 |
+
}
|
50 |
+
],
|
51 |
+
"output_type": "multiple_choice",
|
52 |
+
"repeats": 1,
|
53 |
+
"should_decontaminate": false,
|
54 |
+
"metadata": {
|
55 |
+
"version": 1.0
|
56 |
+
}
|
57 |
+
},
|
58 |
+
"lambada_openai": {
|
59 |
+
"task": "lambada_openai",
|
60 |
+
"group": [
|
61 |
+
"lambada"
|
62 |
+
],
|
63 |
+
"dataset_path": "EleutherAI/lambada_openai",
|
64 |
+
"dataset_name": "default",
|
65 |
+
"test_split": "test",
|
66 |
+
"doc_to_text": "{{text.split(' ')[:-1]|join(' ')}}",
|
67 |
+
"doc_to_target": "{{' '+text.split(' ')[-1]}}",
|
68 |
+
"description": "",
|
69 |
+
"target_delimiter": " ",
|
70 |
+
"fewshot_delimiter": "\n\n",
|
71 |
+
"num_fewshot": 10,
|
72 |
+
"metric_list": [
|
73 |
+
{
|
74 |
+
"metric": "perplexity",
|
75 |
+
"aggregation": "perplexity",
|
76 |
+
"higher_is_better": false
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"metric": "acc",
|
80 |
+
"aggregation": "mean",
|
81 |
+
"higher_is_better": true
|
82 |
+
}
|
83 |
+
],
|
84 |
+
"output_type": "loglikelihood",
|
85 |
+
"repeats": 1,
|
86 |
+
"should_decontaminate": true,
|
87 |
+
"doc_to_decontamination_query": "{{text}}",
|
88 |
+
"metadata": {
|
89 |
+
"version": 1.0
|
90 |
+
}
|
91 |
+
}
|
92 |
+
},
|
93 |
+
"versions": {
|
94 |
+
"hellaswag": 1.0,
|
95 |
+
"lambada_openai": 1.0
|
96 |
+
},
|
97 |
+
"n-shot": {
|
98 |
+
"hellaswag": 10,
|
99 |
+
"lambada_openai": 10
|
100 |
+
},
|
101 |
+
"config": {
|
102 |
+
"model": "hf",
|
103 |
+
"model_args": "pretrained=/home/aiops/zhuty/tinyllama/out/tiny_LLaMA_1b_8k_cc_merged_v2_8k/iter-200000-ckpt-step-25000_hf,dtype=float,tokenizer=meta-llama/Llama-2-7b-hf",
|
104 |
+
"batch_size": "4",
|
105 |
+
"batch_sizes": [],
|
106 |
+
"device": "cuda:0",
|
107 |
+
"use_cache": null,
|
108 |
+
"limit": null,
|
109 |
+
"bootstrap_iters": 100000,
|
110 |
+
"gen_kwargs": null
|
111 |
+
},
|
112 |
+
"git_hash": null,
|
113 |
+
"pretty_env_info": "PyTorch version: 2.1.0+cu121\nIs debug build: False\nCUDA used to build PyTorch: 12.1\nROCM used to build PyTorch: N/A\n\nOS: Ubuntu 20.04.6 LTS (x86_64)\nGCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0\nClang version: Could not collect\nCMake version: version 3.26.4\nLibc version: glibc-2.31\n\nPython version: 3.8.18 (default, Sep 11 2023, 13:40:15) [GCC 11.2.0] (64-bit runtime)\nPython platform: Linux-5.4.0-88-generic-x86_64-with-glibc2.17\nIs CUDA available: True\nCUDA runtime version: 11.8.89\nCUDA_MODULE_LOADING set to: LAZY\nGPU models and configuration: GPU 0: NVIDIA A100-SXM4-40GB\nNvidia driver version: 535.129.03\ncuDNN version: Probably one of the following:\n/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.0\n/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.0\n/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.0\n/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.0\n/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.0\n/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.0\n/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.0\nHIP runtime version: N/A\nMIOpen runtime version: N/A\nIs XNNPACK available: True\n\nCPU:\nArchitecture: x86_64\nCPU op-mode(s): 32-bit, 64-bit\nByte Order: Little Endian\nAddress sizes: 48 bits physical, 48 bits virtual\nCPU(s): 96\nOn-line CPU(s) list: 0-95\nThread(s) per core: 2\nCore(s) per socket: 24\nSocket(s): 2\nNUMA node(s): 8\nVendor ID: AuthenticAMD\nCPU family: 23\nModel: 49\nModel name: AMD EPYC 7352 24-Core Processor\nStepping: 0\nCPU MHz: 2888.364\nBogoMIPS: 4591.49\nVirtualization: AMD-V\nL1d cache: 1.5 MiB\nL1i cache: 1.5 MiB\nL2 cache: 24 MiB\nL3 cache: 256 MiB\nNUMA node0 CPU(s): 0-5,48-53\nNUMA node1 CPU(s): 6-11,54-59\nNUMA node2 CPU(s): 12-17,60-65\nNUMA node3 CPU(s): 18-23,66-71\nNUMA node4 CPU(s): 24-29,72-77\nNUMA node5 CPU(s): 30-35,78-83\nNUMA node6 CPU(s): 36-41,84-89\nNUMA node7 CPU(s): 42-47,90-95\nVulnerability Itlb multihit: Not affected\nVulnerability L1tf: Not affected\nVulnerability Mds: Not affected\nVulnerability Meltdown: Not affected\nVulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp\nVulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization\nVulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling\nVulnerability Srbds: Not affected\nVulnerability Tsx async abort: Not affected\nFlags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smca\n\nVersions of relevant libraries:\n[pip3] numpy==1.22.4\n[pip3] pytorch-lightning==2.1.3\n[pip3] torch==2.1.0\n[pip3] torchmetrics==1.3.0.post0\n[pip3] triton==2.1.0\n[conda] mkl 2024.0.0 pypi_0 pypi\n[conda] mkl-fft 1.3.1 pypi_0 pypi\n[conda] mkl-service 2.4.0 pypi_0 pypi\n[conda] numpy 1.22.4 pypi_0 pypi\n[conda] pytorch-lightning 2.1.3 pypi_0 pypi\n[conda] torch 2.1.0 pypi_0 pypi\n[conda] torchmetrics 1.3.0.post0 pypi_0 pypi\n[conda] triton 2.1.0 pypi_0 pypi",
|
114 |
+
"transformers_version": "4.34.0",
|
115 |
+
"upper_git_hash": null
|
116 |
+
}
|