voxmenthe commited on
Commit
55a4161
1 Parent(s): c242f85

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - mlx
5
+ base_model: 01-ai/yi-34b-200k
6
+ datasets:
7
+ - ai2_arc
8
+ - allenai/ultrafeedback_binarized_cleaned
9
+ - argilla/distilabel-intel-orca-dpo-pairs
10
+ - jondurbin/airoboros-3.2
11
+ - codeparrot/apps
12
+ - facebook/belebele
13
+ - bluemoon-fandom-1-1-rp-cleaned
14
+ - boolq
15
+ - camel-ai/biology
16
+ - camel-ai/chemistry
17
+ - camel-ai/math
18
+ - camel-ai/physics
19
+ - jondurbin/contextual-dpo-v0.1
20
+ - jondurbin/gutenberg-dpo-v0.1
21
+ - jondurbin/py-dpo-v0.1
22
+ - jondurbin/truthy-dpo-v0.1
23
+ - LDJnr/Capybara
24
+ - jondurbin/cinematika-v0.1
25
+ - WizardLM/WizardLM_evol_instruct_70k
26
+ - glaiveai/glaive-function-calling-v2
27
+ - jondurbin/gutenberg-dpo-v0.1
28
+ - grimulkan/LimaRP-augmented
29
+ - lmsys/lmsys-chat-1m
30
+ - ParisNeo/lollms_aware_dataset
31
+ - TIGER-Lab/MathInstruct
32
+ - Muennighoff/natural-instructions
33
+ - openbookqa
34
+ - kingbri/PIPPA-shareGPT
35
+ - piqa
36
+ - Vezora/Tested-22k-Python-Alpaca
37
+ - ropes
38
+ - cakiki/rosetta-code
39
+ - Open-Orca/SlimOrca
40
+ - b-mc2/sql-create-context
41
+ - squad_v2
42
+ - mattpscott/airoboros-summarization
43
+ - migtissera/Synthia-v1.3
44
+ - unalignment/toxic-dpo-v0.2
45
+ - WhiteRabbitNeo/WRN-Chapter-1
46
+ - WhiteRabbitNeo/WRN-Chapter-2
47
+ - winogrande
48
+ license_name: yi-license
49
+ license_link: https://huggingface.co/01-ai/Yi-34B-200K/blob/main/LICENSE
50
+ ---
51
+
52
+ # mlx-community/bagel-dpo-34b-v0.5-4bit-mlx
53
+ This model was converted to MLX format from [`jondurbin/bagel-dpo-34b-v0.5`]() using mlx-lm version **0.6.0**.
54
+ Refer to the [original model card](https://huggingface.co/jondurbin/bagel-dpo-34b-v0.5) for more details on the model.
55
+ ## Use with mlx
56
+
57
+ ```bash
58
+ pip install mlx-lm
59
+ ```
60
+
61
+ ```python
62
+ from mlx_lm import load, generate
63
+
64
+ model, tokenizer = load("mlx-community/bagel-dpo-34b-v0.5-4bit-mlx")
65
+ response = generate(model, tokenizer, prompt="hello", verbose=True)
66
+ ```
config.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bad_words_ids": null,
9
+ "begin_suppress_tokens": null,
10
+ "bos_token_id": 1,
11
+ "chunk_size_feed_forward": 0,
12
+ "cross_attention_hidden_size": null,
13
+ "decoder_start_token_id": null,
14
+ "diversity_penalty": 0.0,
15
+ "do_sample": false,
16
+ "early_stopping": false,
17
+ "encoder_no_repeat_ngram_size": 0,
18
+ "eos_token_id": 2,
19
+ "exponential_decay_length_penalty": null,
20
+ "finetuning_task": null,
21
+ "forced_bos_token_id": null,
22
+ "forced_eos_token_id": null,
23
+ "hidden_act": "silu",
24
+ "hidden_size": 7168,
25
+ "id2label": {
26
+ "0": "LABEL_0",
27
+ "1": "LABEL_1"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 20480,
31
+ "is_decoder": false,
32
+ "is_encoder_decoder": false,
33
+ "label2id": {
34
+ "LABEL_0": 0,
35
+ "LABEL_1": 1
36
+ },
37
+ "length_penalty": 1.0,
38
+ "max_length": 20,
39
+ "max_position_embeddings": 200000,
40
+ "min_length": 0,
41
+ "model_type": "llama",
42
+ "no_repeat_ngram_size": 0,
43
+ "num_attention_heads": 56,
44
+ "num_beam_groups": 1,
45
+ "num_beams": 1,
46
+ "num_hidden_layers": 60,
47
+ "num_key_value_heads": 8,
48
+ "num_return_sequences": 1,
49
+ "output_attentions": false,
50
+ "output_hidden_states": false,
51
+ "output_scores": false,
52
+ "pad_token_id": 0,
53
+ "prefix": null,
54
+ "pretraining_tp": 1,
55
+ "problem_type": null,
56
+ "pruned_heads": {},
57
+ "quantization": {
58
+ "group_size": 64,
59
+ "bits": 4
60
+ },
61
+ "remove_invalid_values": false,
62
+ "repetition_penalty": 1.0,
63
+ "return_dict": true,
64
+ "return_dict_in_generate": false,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": null,
67
+ "rope_theta": 10000000.0,
68
+ "sep_token_id": null,
69
+ "suppress_tokens": null,
70
+ "task_specific_params": null,
71
+ "temperature": 1.0,
72
+ "tf_legacy_loss": false,
73
+ "tie_encoder_decoder": false,
74
+ "tie_word_embeddings": false,
75
+ "tokenizer_class": null,
76
+ "top_k": 50,
77
+ "top_p": 1.0,
78
+ "torch_dtype": "bfloat16",
79
+ "torchscript": false,
80
+ "transformers_version": "4.39.3",
81
+ "typical_p": 1.0,
82
+ "use_bfloat16": false,
83
+ "use_cache": true,
84
+ "vocab_size": 64000
85
+ }
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:148c154222250e82946c38c2f1725c445f7724cec94145676ce5f8a206816ea6
3
+ size 5348111210
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44313cd56cf432cb07df1a4706451e3c67f101c3e2f7e6a3cd284f8fca00f7fa
3
+ size 5363802145
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9afca1ab17fa688dd20acf41d50dcf4c6513f8c5263bf2a8601b2e4f0a64056d
3
+ size 5334900451
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd2dc20c2de9ef525f220c99a840bda0db9433f58bca0ee0a1e053e7ceecc3bb
3
+ size 3957813074
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:386c49cf943d71aa110361135338c50e38beeff0a66593480421f37b319e1a39
3
+ size 1033105
tokenizer_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "bos_token": "<s>",
31
+ "clean_up_tokenization_spaces": false,
32
+ "eos_token": "</s>",
33
+ "legacy": true,
34
+ "model_max_length": 200000,
35
+ "pad_token": "<unk>",
36
+ "sp_model_kwargs": {},
37
+ "tokenizer_class": "LlamaTokenizer",
38
+ "unk_token": "<unk>",
39
+ "use_default_system_prompt": false
40
+ }