Triangle104 commited on
Commit
14c2c94
1 Parent(s): 5cea5a6

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +97 -142
README.md CHANGED
@@ -1,160 +1,115 @@
1
  ---
2
- license: apache-2.0
3
  language:
4
  - en
 
 
5
  tags:
6
  - chat
7
  - llama-cpp
8
  - gguf-my-repo
9
  pipeline_tag: text-generation
10
- library_name: transformers
11
  base_model: anthracite-org/magnum-v4-12b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  # Triangle104/magnum-v4-12b-Q4_K_S-GGUF
15
  This model was converted to GGUF format from [`anthracite-org/magnum-v4-12b`](https://huggingface.co/anthracite-org/magnum-v4-12b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
16
  Refer to the [original model card](https://huggingface.co/anthracite-org/magnum-v4-12b) for more details on the model.
17
 
18
- ---
19
- Model details:
20
- -
21
- This is a series of models designed to replicate the prose quality of the Claude 3 models, specifically Sonnet and Opus.
22
-
23
- This model is fine-tuned on top of mistralai/Mistral-Nemo-Instruct-2407.
24
- Prompting
25
-
26
- A typical input would look like this:
27
-
28
- <s>[INST] SYSTEM MESSAGE
29
- USER MESSAGE[/INST] ASSISTANT MESSAGE</s>[INST] USER MESSAGE[/INST]
30
-
31
- SillyTavern templates
32
- -
33
- Below are Instruct and Context templates for use within SillyTavern.
34
- context template
35
-
36
- default SillyTavern template works fine
37
-
38
- instruct template
39
- -
40
- default SillyTavern template works fine
41
-
42
- Axolotl config
43
- -
44
- See axolotl config
45
-
46
- base_model: mistralai/Mistral-Nemo-Instruct-2407
47
- model_type: AutoModelForCausalLM
48
- tokenizer_type: AutoTokenizer
49
-
50
- hub_model_id: anthracite-org/magnum-v4-12b-r2
51
- hub_strategy: "all_checkpoints"
52
- push_dataset_to_hub:
53
- hf_use_auth_token: true
54
-
55
- plugins:
56
- - axolotl.integrations.liger.LigerPlugin
57
- liger_rope: true
58
- liger_rms_norm: true
59
- liger_swiglu: true
60
- liger_fused_linear_cross_entropy: true
61
-
62
- load_in_8bit: false
63
- load_in_4bit: false
64
- strict: false
65
-
66
- datasets:
67
- - path: anthracite-org/c2_logs_32k_llama3_qwen2_v1.2_no_system
68
- type: custommistralv3tekken
69
- - path: anthracite-org/kalo-opus-instruct-22k-no-refusal-no-system
70
- type: custommistralv3tekken
71
- - path: anthracite-org/kalo-opus-instruct-3k-filtered-no-system
72
- type: custommistralv3tekken
73
- - path: anthracite-org/nopm_claude_writing_fixed
74
- type: custommistralv3tekken
75
- - path: anthracite-org/kalo_opus_misc_240827_no_system
76
- type: custommistralv3tekken
77
- - path: anthracite-org/kalo_misc_part2_no_system
78
- type: custommistralv3tekken
79
- #chat_template: chatml
80
- shuffle_merged_datasets: true
81
- #default_system_message: "You are an assistant that responds to the user."
82
- dataset_prepared_path: /workspace/data/magnum-12b-data
83
- val_set_size: 0.0
84
- output_dir: /workspace/data/12b-fft-out
85
-
86
- sequence_len: 32768
87
- sample_packing: true
88
- pad_to_sequence_len: true
89
-
90
- adapter:
91
- lora_model_dir:
92
- lora_r:
93
- lora_alpha:
94
- lora_dropout:
95
- lora_target_linear:
96
- lora_fan_in_fan_out:
97
-
98
- wandb_project: 12b-magnum-fft
99
- wandb_entity:
100
- wandb_watch:
101
- wandb_name: v4-r2-attempt-01
102
- wandb_log_model:
103
-
104
- gradient_accumulation_steps: 2
105
- micro_batch_size: 1
106
- num_epochs: 2
107
- optimizer: adamw_bnb_8bit
108
- lr_scheduler: cosine
109
- learning_rate: 0.00001
110
-
111
- train_on_inputs: false
112
- group_by_length: false
113
- bf16: auto
114
- fp16:
115
- tf32: false
116
-
117
- gradient_checkpointing: true
118
- early_stopping_patience:
119
- resume_from_checkpoint:
120
- local_rank:
121
- logging_steps: 1
122
- xformers_attention:
123
- flash_attention: true
124
-
125
- warmup_steps: 40
126
- evals_per_epoch:
127
- eval_table_size:
128
- eval_max_new_tokens:
129
- saves_per_epoch: 2
130
- debug:
131
- deepspeed: deepspeed_configs/zero2.json
132
- weight_decay: 0.1
133
- fsdp:
134
- fsdp_config:
135
- special_tokens:
136
- pad_token: <pad>
137
-
138
-
139
- Credits
140
- -
141
- We'd like to thank Recursal / Featherless for sponsoring the compute for this train, Featherless has been hosting our Magnum models since the first 72 B and has given thousands of people access to our models and helped us grow.
142
-
143
- We would also like to thank all members of Anthracite who made this finetune possible.
144
- Datasets
145
-
146
- anthracite-org/c2_logs_32k_llama3_qwen2_v1.2_no_system
147
- anthracite-org/kalo-opus-instruct-22k-no-refusal-no-system
148
- anthracite-org/kalo-opus-instruct-3k-filtered-no-system
149
- anthracite-org/nopm_claude_writing_fixed
150
- anthracite-org/kalo_opus_misc_240827_no_system
151
- anthracite-org/kalo_misc_part2_no_system
152
-
153
- Training
154
- -
155
- The training was done for 2 epochs. We used 8xH100s GPUs graciously provided by Recursal AI / Featherless AI for the full-parameter fine-tuning of the model.
156
-
157
- ---
158
  ## Use with llama.cpp
159
  Install llama.cpp through brew (works on Mac and Linux)
160
 
 
1
  ---
 
2
  language:
3
  - en
4
+ license: apache-2.0
5
+ library_name: transformers
6
  tags:
7
  - chat
8
  - llama-cpp
9
  - gguf-my-repo
10
  pipeline_tag: text-generation
 
11
  base_model: anthracite-org/magnum-v4-12b
12
+ model-index:
13
+ - name: magnum-v4-12b
14
+ results:
15
+ - task:
16
+ type: text-generation
17
+ name: Text Generation
18
+ dataset:
19
+ name: IFEval (0-Shot)
20
+ type: HuggingFaceH4/ifeval
21
+ args:
22
+ num_few_shot: 0
23
+ metrics:
24
+ - type: inst_level_strict_acc and prompt_level_strict_acc
25
+ value: 33.93
26
+ name: strict accuracy
27
+ source:
28
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
29
+ name: Open LLM Leaderboard
30
+ - task:
31
+ type: text-generation
32
+ name: Text Generation
33
+ dataset:
34
+ name: BBH (3-Shot)
35
+ type: BBH
36
+ args:
37
+ num_few_shot: 3
38
+ metrics:
39
+ - type: acc_norm
40
+ value: 30.5
41
+ name: normalized accuracy
42
+ source:
43
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
44
+ name: Open LLM Leaderboard
45
+ - task:
46
+ type: text-generation
47
+ name: Text Generation
48
+ dataset:
49
+ name: MATH Lvl 5 (4-Shot)
50
+ type: hendrycks/competition_math
51
+ args:
52
+ num_few_shot: 4
53
+ metrics:
54
+ - type: exact_match
55
+ value: 9.82
56
+ name: exact match
57
+ source:
58
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
59
+ name: Open LLM Leaderboard
60
+ - task:
61
+ type: text-generation
62
+ name: Text Generation
63
+ dataset:
64
+ name: GPQA (0-shot)
65
+ type: Idavidrein/gpqa
66
+ args:
67
+ num_few_shot: 0
68
+ metrics:
69
+ - type: acc_norm
70
+ value: 6.15
71
+ name: acc_norm
72
+ source:
73
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
74
+ name: Open LLM Leaderboard
75
+ - task:
76
+ type: text-generation
77
+ name: Text Generation
78
+ dataset:
79
+ name: MuSR (0-shot)
80
+ type: TAUR-Lab/MuSR
81
+ args:
82
+ num_few_shot: 0
83
+ metrics:
84
+ - type: acc_norm
85
+ value: 10.36
86
+ name: acc_norm
87
+ source:
88
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
89
+ name: Open LLM Leaderboard
90
+ - task:
91
+ type: text-generation
92
+ name: Text Generation
93
+ dataset:
94
+ name: MMLU-PRO (5-shot)
95
+ type: TIGER-Lab/MMLU-Pro
96
+ config: main
97
+ split: test
98
+ args:
99
+ num_few_shot: 5
100
+ metrics:
101
+ - type: acc
102
+ value: 28.93
103
+ name: accuracy
104
+ source:
105
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-12b
106
+ name: Open LLM Leaderboard
107
  ---
108
 
109
  # Triangle104/magnum-v4-12b-Q4_K_S-GGUF
110
  This model was converted to GGUF format from [`anthracite-org/magnum-v4-12b`](https://huggingface.co/anthracite-org/magnum-v4-12b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
111
  Refer to the [original model card](https://huggingface.co/anthracite-org/magnum-v4-12b) for more details on the model.
112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  ## Use with llama.cpp
114
  Install llama.cpp through brew (works on Mac and Linux)
115