CodeMate-v0.1 is an intelligent programming assistant developed by
CodeMate.
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.
-
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.
This model accepts prompts in the Alpaca/Vicuna instruction format. For example:
1### System Prompt
2You are an intelligent programming assistant.
3
4### User Message
5Implement a linked list in C++
6
7### Assistant
8...
1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3# Initialize the model
4model_path = "codemateai/CodeMate-v0.1"
5model = AutoModelForCausalLM.from_pretrained(model_path, device_map="auto")
6tokenizer = AutoTokenizer.from_pretrained(model_path)
7
8# ... generate response ...
9
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.
Detailed results can be found
here