File size: 1,165 Bytes
a1d71de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---



## 💻 Code Generation Models

These models are fine-tuned to **generate and explain code**.  
Students can use them to:
- Write Python/JavaScript/C++ functions
- Debug and fix errors
- Learn algorithms step-by-step
- Auto-complete code snippets

| Model | Best For | Example |
|-------|----------|---------|
| **CodeLlama 7B Instruct** | General coding help | “Write a Python function to sort a list of tuples by second element.” |
| **DeepSeek Coder 6.7B** | Advanced coding + explanations | “Fix this bug in my Flask app and explain the fix.” |
| **StarCoder2 7B** | Code completions (like Copilot) | “Complete this Python class definition for a CNN model.” |

---


### 🟢 How to Use
Open the Colab notebook for the model you want:  
- [CodeLlama 7B Instruct](./codellama_7b_instruct_gguf,_q4_k_m.ipynb)  
- [DeepSeek Coder 6.7B Instruct](./deepseek_coder_6.7b_instruct_gguf,_q4_k_m.ipynb)  
- [StarCoder2 7B](./starcoder2_7b_gguf,_q4_k_m.ipynb)  

Then type a coding request in the chat cell.  
For example:
```python

# User prompt:

"Write me a Python script that scrapes the first 10 titles from Hacker News."