Update README.md
Browse files
README.md
CHANGED
@@ -9,9 +9,9 @@ base_model:
|
|
9 |
- microsoft/wavecoder-ultra-6.7b
|
10 |
---
|
11 |
|
12 |
-
#
|
13 |
|
14 |
-
|
15 |
* [microsoft/wavecoder-ultra-6.7b](https://huggingface.co/microsoft/wavecoder-ultra-6.7b)
|
16 |
* [microsoft/wavecoder-ultra-6.7b](https://huggingface.co/microsoft/wavecoder-ultra-6.7b)
|
17 |
|
@@ -59,7 +59,7 @@ from transformers import AutoTokenizer
|
|
59 |
import transformers
|
60 |
import torch
|
61 |
|
62 |
-
model = "KingNish/
|
63 |
messages = [{"role": "user", "content": "What is a large language model?"}]
|
64 |
|
65 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
@@ -71,6 +71,6 @@ pipeline = transformers.pipeline(
|
|
71 |
device_map="auto",
|
72 |
)
|
73 |
|
74 |
-
outputs = pipeline(prompt, max_new_tokens=
|
75 |
print(outputs[0]["generated_text"])
|
76 |
```
|
|
|
9 |
- microsoft/wavecoder-ultra-6.7b
|
10 |
---
|
11 |
|
12 |
+
# CodeMaster v1 7b
|
13 |
|
14 |
+
CodeMaster v1 7b is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
15 |
* [microsoft/wavecoder-ultra-6.7b](https://huggingface.co/microsoft/wavecoder-ultra-6.7b)
|
16 |
* [microsoft/wavecoder-ultra-6.7b](https://huggingface.co/microsoft/wavecoder-ultra-6.7b)
|
17 |
|
|
|
59 |
import transformers
|
60 |
import torch
|
61 |
|
62 |
+
model = "KingNish/CodeMaster-v1-7b"
|
63 |
messages = [{"role": "user", "content": "What is a large language model?"}]
|
64 |
|
65 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
|
|
71 |
device_map="auto",
|
72 |
)
|
73 |
|
74 |
+
outputs = pipeline(prompt, max_new_tokens=8096, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
75 |
print(outputs[0]["generated_text"])
|
76 |
```
|