kreimben commited on
Commit
c9bd0d4
1 Parent(s): 151d8eb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +66 -0
README.md CHANGED
@@ -1,3 +1,69 @@
1
  ---
 
 
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
  license: mit
5
+ library_name: transformers
6
+ tags:
7
+ - code
8
+ base_model:
9
+ - google/gemma-1.1-2b-it
10
+ datasets:
11
+ - kreimben/leetcode_with_youtube_captions
12
+ - kreimben/leetcode_user_submissions
13
+ widget:
14
+ - text: explain about two sum problem. from brute force approach to the most advanced
15
+ algorithms.
16
+ example_title: two sum example
17
+ - text: explain about leetcode 72 edit distance. i don't get even the approach.
18
+ example_title: edit distance example
19
+ - text: explain about leetcode 139 Word Break. please give me the approach.
20
+ example_title: word break example
21
+ inference:
22
+ parameters:
23
+ max_new_tokens: 250
24
+ temperature: 0.1
25
+ pipeline_tag: text-generation
26
  ---
27
+
28
+ # CodeMind
29
+ Coding Test Explanatory LLM Model.
30
+
31
+ ## Model Details
32
+ - **Model Name**: CodeMind
33
+ - **Base Model**: gemma-1.1-7b-it
34
+ - **Fine-tuning Datasets**:
35
+ - [kreimben/leetcode_user_submissions_only_python](https://huggingface.co/datasets/kreimben/leetcode_user_submissions_only_python)
36
+ - [kreimben/leetcode_with_youtube_captions](https://huggingface.co/datasets/kreimben/leetcode_with_youtube_captions)
37
+ - **Model Type**: Language Model
38
+ - **Language**: English
39
+ - **License**: gemma
40
+ - **Model Size**: 8.54B
41
+
42
+ ## Intended Use
43
+ CodeMind is a fine-tuned language model specifically designed to assist users with coding test questions and provide programming education. It leverages the knowledge from LeetCode user submissions in Python and YouTube video captions related to LeetCode problems to offer guidance, explanations, and code examples.
44
+
45
+ ## Training Data
46
+ The model was fine-tuned using the following datasets:
47
+ 1. **kreimben/leetcode_user_submissions_only_python**: This dataset contains a collection of LeetCode user submissions written in Python. It provides a wide range of coding solutions to various algorithmic problems commonly encountered in coding interviews.
48
+ 2. **kreimben/leetcode_with_youtube_captions**: This dataset combines LeetCode problems with corresponding YouTube video captions. The captions provide explanations, thought processes, and step-by-step guidance for solving the coding problems.
49
+
50
+ ## Training Procedure
51
+ The model was fine-tuned using the Hugging Face Transformer library. The base model, gemma-1.1-2b-it, was further trained on the combined dataset of LeetCode user submissions and YouTube video captions. The fine-tuning process aimed to enhance the model's understanding of coding concepts, problem-solving strategies, and its ability to generate relevant code snippets and explanations.
52
+
53
+ ## Evaluation
54
+ []
55
+
56
+ ## Bias and Limitations
57
+ - The model's knowledge is primarily based on the LeetCode user submissions and YouTube video captions used for fine-tuning. It may have limitations in handling coding problems or concepts that are not well-represented in the training data.
58
+ - The model's responses are generated based on patterns and information learned from the training data. It may sometimes produce incorrect or suboptimal solutions. Users should always review and verify the generated code before using it in practice.
59
+ - The model may exhibit biases present in the training data, such as favoring certain programming styles, algorithms, or approaches. It is important to consider alternative solutions and best practices when using the model's outputs.
60
+
61
+ ## Ethical Considerations
62
+ - The model should be used as a supportive tool for learning and problem-solving, not as a substitute for human expertise and critical thinking.
63
+ - Users should be aware that the model's responses are generated based on patterns in the training data and may not always be accurate, complete, or up to date.
64
+ - The model should not be relied upon for making critical decisions or solving real-world problems without thorough validation and testing.
65
+
66
+ ## Usage
67
+ To use the CodeMind model, you can access it through the Hugging Face model hub or by integrating it into your own applications using the provided API. Provide a coding problem or a question related to programming concepts, and the model will generate relevant explanations, code snippets, or guidance based on its training.
68
+
69
+ Please refer to the documentation and examples for detailed instructions on how to integrate and use the CodeMind model effectively.