ALBADDAWI commited on
Commit
64c7797
·
verified ·
1 Parent(s): bdfa254

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - Kukedlc/NeuralMaths-Experiment-7b
4
+ - lemon-mint/gemma-ko-7b-instruct-v0.62
5
+ - Ppoyaa/StarMonarch-7B
6
+ - automerger/YamshadowExperiment28-7B
7
+ - ichigoberry/MonarchPipe-7B-slerp
8
+ - deepseek-ai/deepseek-coder-7b-instruct-v1.5
9
+ - Kukedlc/Neural-4-Maths-7b
10
+ base_model:
11
+ - Kukedlc/NeuralMaths-Experiment-7b
12
+ - lemon-mint/gemma-ko-7b-instruct-v0.62
13
+ - Ppoyaa/StarMonarch-7B
14
+ - automerger/YamshadowExperiment28-7B
15
+ - ichigoberry/MonarchPipe-7B-slerp
16
+ - deepseek-ai/deepseek-coder-7b-instruct-v1.5
17
+ - Kukedlc/Neural-4-Maths-7b
18
+ ---
19
+
20
+ # DeepCode-7B-Aurora-v5
21
+
22
+ DeepCode-7B-Aurora-v5 is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
23
+ * [Kukedlc/NeuralMaths-Experiment-7b](https://huggingface.co/Kukedlc/NeuralMaths-Experiment-7b)
24
+ * [lemon-mint/gemma-ko-7b-instruct-v0.62](https://huggingface.co/lemon-mint/gemma-ko-7b-instruct-v0.62)
25
+ * [Ppoyaa/StarMonarch-7B](https://huggingface.co/Ppoyaa/StarMonarch-7B)
26
+ * [automerger/YamshadowExperiment28-7B](https://huggingface.co/automerger/YamshadowExperiment28-7B)
27
+ * [ichigoberry/MonarchPipe-7B-slerp](https://huggingface.co/ichigoberry/MonarchPipe-7B-slerp)
28
+ * [deepseek-ai/deepseek-coder-7b-instruct-v1.5](https://huggingface.co/deepseek-ai/deepseek-coder-7b-instruct-v1.5)
29
+ * [Kukedlc/Neural-4-Maths-7b](https://huggingface.co/Kukedlc/Neural-4-Maths-7b)
30
+
31
+ ## 🧩 Configuration
32
+
33
+ ```yaml
34
+ models:
35
+ - model: Kukedlc/NeuralMaths-Experiment-7b
36
+ parameters:
37
+ weight: 1
38
+ - model: lemon-mint/gemma-ko-7b-instruct-v0.62
39
+ parameters:
40
+ weight: 1
41
+ - model: Ppoyaa/StarMonarch-7B
42
+ parameters:
43
+ weight: 1
44
+ - model: automerger/YamshadowExperiment28-7B
45
+ parameters:
46
+ weight: 1
47
+ - model: ichigoberry/MonarchPipe-7B-slerp
48
+ parameters:
49
+ weight: 1
50
+ - model: deepseek-ai/deepseek-coder-7b-instruct-v1.5
51
+ parameters:
52
+ weight: 1
53
+ - model: Kukedlc/Neural-4-Maths-7b
54
+ parameters:
55
+ weight: 1
56
+ merge_method: model_stock
57
+ base_model: deepseek-ai/deepseek-math-7b-rl
58
+ dtype: float16
59
+ ```
60
+
61
+ ## 💻 Usage
62
+
63
+ ```python
64
+ os.system(f"pip install -qU transformers accelerate")
65
+
66
+ from transformers import AutoTokenizer
67
+ import transformers
68
+ import torch
69
+
70
+ model = "ALBADDAWI/DeepCode-7B-Aurora-v5"
71
+ messages = [{"role": "user", "content": "What is a large language model?"}]
72
+
73
+ tokenizer = AutoTokenizer.from_pretrained(model)
74
+ prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
75
+ pipeline = transformers.pipeline(
76
+ "text-generation",
77
+ model=model,
78
+ torch_dtype=torch.float16,
79
+ device_map="auto",
80
+ )
81
+
82
+ outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
83
+ print(outputs[0]["generated_text"])
84
+ ```