初始化项目,由ModelHub XC社区提供模型

Model: LoneStriker/CodeMate-v0.1-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-15 21:11:26 +08:00
commit bb30373237
12 changed files with 111 additions and 0 deletions

10
.gitattributes vendored Normal file
View File

@@ -0,0 +1,10 @@
CodeMate-v0.1-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
CodeMate-v0.1-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
CodeMate-v0.1-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
CodeMate-v0.1-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
CodeMate-v0.1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
CodeMate-v0.1-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
CodeMate-v0.1-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
CodeMate-v0.1-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
CodeMate-v0.1-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
CodeMate-v0.1-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text

3
CodeMate-v0.1-Q2_K.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44fcd6c1522fa9f4c0b7b3dac1be21984368b368c0a58c89a4d7ee388d4b6517
size 12505690368

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe5a74c97ed28e83e2a9682f40854634e6e7be4512958a7e64f858de09055ce0
size 17771524352

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26ee1f7f0dd6cc82f34e8239db7d56059e400c7e78b08f7cd80ee91d28512db4
size 16306139392

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f04ed9ab5cf57fd05519a67ca7ff9f45cceeb7af1b706679f785d558f54b2da2
size 14605349120

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:421d6ea43b8027be7a34303384b54f40028f01a686b8301e5be3c74bc30da7d4
size 20219900160

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7eca52072b86134e9cbf132437a13cff27cb03f9cc468b65f1a8d9bc22f4ad46
size 19191509248

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:27e7adc5f7f9b4821eb4befa2763ef2f113135c474e44ea1b0f1ab1a25234b1d
size 23838798080

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3d415951fa78d34938498886de284d8e32f3b604beabff5949c63685cccb3e0
size 23237177600

3
CodeMate-v0.1-Q6_K.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59aa46b5223d2d0f6b0d98ea9c6b4a5b1ad6862d1905cfb2c29f0fbe61a9e4f7
size 27683877120

3
CodeMate-v0.1-Q8_0.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe92d02ee1243427c4a3ba1fb11da592d7dcf36394e07a056875f4bf22106628
size 35856052480

71
README.md Normal file
View File

@@ -0,0 +1,71 @@
---
license: llama2
language:
- en
library_name: transformers
pipeline_tag: text-generation
tags:
- CodeMate
- Code
---
# **CodeMate-v0.1**
CodeMate-v0.1 is an intelligent programming assistant developed by [CodeMate](https://codemate.ai).
This model aims to assist users in generating high-quality code solutions for programming problems.
Please note that this model is currently in version 0.1.
## Model Details
- **Training Data:** Exclusively fine-tuned on a proprietary dataset of 1.8 billion tokens of high-quality programming problems and solutions.
- The dataset was generated manually and is internal to CodeMate.
- **Training Techniques:** The model was fine-tuned using Flash Attention 2, trained over 15 hours on 40 A100-80GB GPUs.
- A sequence length of 8096 tokens was used during training.
- **Multilingual Support:** CodeMate-v0.1 is proficient in multiple programming languages, including Python, C/C++, TypeScript, Java, and more.
## How to Get Started with the Model
Make sure to install Transformers from the main git branch:
```bash
pip install git+https://github.com/huggingface/transformers.git
```
## How to Prompt the Model
This model accepts prompts in the Alpaca/Vicuna instruction format. For example:
```markdown
### System Prompt
You are an intelligent programming assistant.
### User Message
Implement a linked list in C++
### Assistant
...
```
## Load the Model:
To load the model, utilize the following Python script:
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
# Initialize the model
model_path = "codemateai/CodeMate-v0.1"
model = AutoModelForCausalLM.from_pretrained(model_path, device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(model_path)
# ... generate response ...
```
## Bias, Risks, and Limitations
This model has undergone very limited testing. CodeMate recommends additional safety testing before any real-world deployments.
For more information and updates, visit the [CodeMate website](https://codemate.ai).