Downloads · 30 days
20
9% of all-time downloads
codemateai/cac-v0.1
cac-v0.1 is a text generation model from codemateai. Use it when you need the model to write or continue text. It is set up for transformers.
CAC is a large language model with 6.7B parameters specifically finetuned for code completions. CAC, although trained for code autocompletion, can also be used for other code related tasks such as: - Generation - Summ…
Downloads · 30 days
20
9% of all-time downloads
All-time downloads
211
Public
Parameters
6.7B
13.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
From the Hugging Face model README
CAC is a large language model with 6.7B parameters specifically finetuned for code completions. CAC, although trained for code autocompletion, can also be used for other code related tasks such as:
This is the very first version of CAC (0.1) and is still under development. For this version, we chose to go ahead with DeepSeek-Coder-6.7B as the base model.
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.
A sequence length of 8096 tokens was used during training.
Multilingual Support: CAC-v0.1 is proficient in multiple programming languages, including Python, C/C++, TypeScript, Java, and more.
Make sure to install Transformers from the main git branch:
pip install git+https://github.com/huggingface/transformers.git
This model accepts prompts in the Alpaca/Vicuna instruction format. For example:
### System Prompt
You are an intelligent programming assistant.
### User Message
Implement a linked list in C++
### Assistant
...
You can also use the Mistral chat template for conversations:
<s>[INST] .... [/INST] ... </s>
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 ...
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.