Spaces:
Configuration error
Configuration error
Create README.md
Browse files
README.md
CHANGED
|
@@ -1,15 +1,58 @@
|
|
| 1 |
---
|
| 2 |
title: Llama 3.2 1B Codex
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
python_version: '3.13'
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
-
license:
|
| 12 |
-
short_description: 'Testing publicly my finetune of Llama 3.2 1B '
|
| 13 |
---
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: Llama 3.2 1B Codex
|
| 3 |
+
emoji: 🤖
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.0.0
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: llama3.2
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# 🤖 Llama 3.2 1B Codex
|
| 14 |
+
|
| 15 |
+
## AI Coding Assistant with Thinking Mode
|
| 16 |
+
|
| 17 |
+
This Space hosts **Llama-3.2-1B-Codex**, a fine-tuned version of Meta's Llama 3.2 1B Instruct model specialized for code generation with explicit reasoning capabilities.
|
| 18 |
+
|
| 19 |
+
### Features
|
| 20 |
+
|
| 21 |
+
- 🧠 **Thinking Mode**: Model shows its reasoning process before writing code
|
| 22 |
+
- ⚡ **Fast Mode**: Direct code generation for simple tasks
|
| 23 |
+
- 💻 **Multi-language Support**: Python, JavaScript, Java, C++, and more
|
| 24 |
+
- 🔍 **Chain-of-Thought**: Alternative reasoning strategy for complex problems
|
| 25 |
+
- 🎛️ **Adjustable Parameters**: Control creativity and response length
|
| 26 |
+
|
| 27 |
+
### How to Use
|
| 28 |
+
|
| 29 |
+
1. Type your coding question in the chat box
|
| 30 |
+
2. Enable/disable Thinking Mode based on task complexity
|
| 31 |
+
3. Adjust temperature for creative vs precise responses
|
| 32 |
+
4. Get code with explanations!
|
| 33 |
+
|
| 34 |
+
### Examples
|
| 35 |
+
|
| 36 |
+
- "Write a Python function to find the longest common prefix"
|
| 37 |
+
- "Implement a binary search tree with insert and search"
|
| 38 |
+
- "Create a decorator that measures function execution time"
|
| 39 |
+
- "Explain recursion with a practical example"
|
| 40 |
+
|
| 41 |
+
### Built With
|
| 42 |
+
|
| 43 |
+
- **Base Model**: Meta Llama 3.2 1B Instruct
|
| 44 |
+
- **Fine-tuned on**: Code datasets (The Stack, StarCoderData, CodeFeedback)
|
| 45 |
+
- **Framework**: Transformers + PEFT + Gradio
|
| 46 |
+
|
| 47 |
+
### License
|
| 48 |
+
|
| 49 |
+
This model is governed by the **Llama 3.2 Community License**.
|
| 50 |
+
See [LICENSE.txt](./LICENSE.txt) for full terms.
|
| 51 |
+
|
| 52 |
+
### Attribution
|
| 53 |
+
|
| 54 |
+
Built with Llama - Meta's open-source AI model.
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
*Fast, thoughtful code assistance for developers*
|