LoneStriker
commited on
Commit
•
6cd3d02
1
Parent(s):
2d39574
Upload folder using huggingface_hub
Browse files- .gitattributes +8 -35
- CodeMate-v0.1-Q2_K.gguf +3 -0
- CodeMate-v0.1-Q3_K_L.gguf +3 -0
- CodeMate-v0.1-Q3_K_M.gguf +3 -0
- CodeMate-v0.1-Q3_K_S.gguf +3 -0
- CodeMate-v0.1-Q4_K_M.gguf +3 -0
- CodeMate-v0.1-Q4_K_S.gguf +3 -0
- CodeMate-v0.1-Q5_K_M.gguf +3 -0
- CodeMate-v0.1-Q5_K_S.gguf +3 -0
- README.md +71 -0
.gitattributes
CHANGED
@@ -1,35 +1,8 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
1 |
+
CodeMate-v0.1-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
2 |
+
CodeMate-v0.1-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
3 |
+
CodeMate-v0.1-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
4 |
+
CodeMate-v0.1-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
5 |
+
CodeMate-v0.1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
6 |
+
CodeMate-v0.1-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
7 |
+
CodeMate-v0.1-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
8 |
+
CodeMate-v0.1-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CodeMate-v0.1-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44fcd6c1522fa9f4c0b7b3dac1be21984368b368c0a58c89a4d7ee388d4b6517
|
3 |
+
size 12505690368
|
CodeMate-v0.1-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe5a74c97ed28e83e2a9682f40854634e6e7be4512958a7e64f858de09055ce0
|
3 |
+
size 17771524352
|
CodeMate-v0.1-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26ee1f7f0dd6cc82f34e8239db7d56059e400c7e78b08f7cd80ee91d28512db4
|
3 |
+
size 16306139392
|
CodeMate-v0.1-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f04ed9ab5cf57fd05519a67ca7ff9f45cceeb7af1b706679f785d558f54b2da2
|
3 |
+
size 14605349120
|
CodeMate-v0.1-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:421d6ea43b8027be7a34303384b54f40028f01a686b8301e5be3c74bc30da7d4
|
3 |
+
size 20219900160
|
CodeMate-v0.1-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7eca52072b86134e9cbf132437a13cff27cb03f9cc468b65f1a8d9bc22f4ad46
|
3 |
+
size 19191509248
|
CodeMate-v0.1-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27e7adc5f7f9b4821eb4befa2763ef2f113135c474e44ea1b0f1ab1a25234b1d
|
3 |
+
size 23838798080
|
CodeMate-v0.1-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3d415951fa78d34938498886de284d8e32f3b604beabff5949c63685cccb3e0
|
3 |
+
size 23237177600
|
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: transformers
|
6 |
+
pipeline_tag: text-generation
|
7 |
+
tags:
|
8 |
+
- CodeMate
|
9 |
+
- Code
|
10 |
+
---
|
11 |
+
|
12 |
+
# **CodeMate-v0.1**
|
13 |
+
|
14 |
+
CodeMate-v0.1 is an intelligent programming assistant developed by [CodeMate](https://codemate.ai).
|
15 |
+
This model aims to assist users in generating high-quality code solutions for programming problems.
|
16 |
+
Please note that this model is currently in version 0.1.
|
17 |
+
|
18 |
+
## Model Details
|
19 |
+
|
20 |
+
- **Training Data:** Exclusively fine-tuned on a proprietary dataset of 1.8 billion tokens of high-quality programming problems and solutions.
|
21 |
+
- The dataset was generated manually and is internal to CodeMate.
|
22 |
+
|
23 |
+
- **Training Techniques:** The model was fine-tuned using Flash Attention 2, trained over 15 hours on 40 A100-80GB GPUs.
|
24 |
+
- A sequence length of 8096 tokens was used during training.
|
25 |
+
|
26 |
+
- **Multilingual Support:** CodeMate-v0.1 is proficient in multiple programming languages, including Python, C/C++, TypeScript, Java, and more.
|
27 |
+
|
28 |
+
## How to Get Started with the Model
|
29 |
+
|
30 |
+
Make sure to install Transformers from the main git branch:
|
31 |
+
|
32 |
+
```bash
|
33 |
+
pip install git+https://github.com/huggingface/transformers.git
|
34 |
+
```
|
35 |
+
|
36 |
+
## How to Prompt the Model
|
37 |
+
|
38 |
+
This model accepts prompts in the Alpaca/Vicuna instruction format. For example:
|
39 |
+
|
40 |
+
```markdown
|
41 |
+
### System Prompt
|
42 |
+
You are an intelligent programming assistant.
|
43 |
+
|
44 |
+
### User Message
|
45 |
+
Implement a linked list in C++
|
46 |
+
|
47 |
+
### Assistant
|
48 |
+
...
|
49 |
+
```
|
50 |
+
|
51 |
+
## Load the Model:
|
52 |
+
|
53 |
+
To load the model, utilize the following Python script:
|
54 |
+
|
55 |
+
```python
|
56 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
57 |
+
|
58 |
+
# Initialize the model
|
59 |
+
model_path = "codemateai/CodeMate-v0.1"
|
60 |
+
model = AutoModelForCausalLM.from_pretrained(model_path, device_map="auto")
|
61 |
+
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
62 |
+
|
63 |
+
# ... generate response ...
|
64 |
+
|
65 |
+
```
|
66 |
+
|
67 |
+
## Bias, Risks, and Limitations
|
68 |
+
|
69 |
+
This model has undergone very limited testing. CodeMate recommends additional safety testing before any real-world deployments.
|
70 |
+
|
71 |
+
For more information and updates, visit the [CodeMate website](https://codemate.ai).
|