Instructions to use Jessylg27/specialized-coding-logic-llm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Jessylg27/specialized-coding-logic-llm with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-coder-32b-instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Jessylg27/specialized-coding-logic-llm") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use Jessylg27/specialized-coding-logic-llm with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Jessylg27/specialized-coding-logic-llm to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Jessylg27/specialized-coding-logic-llm to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Jessylg27/specialized-coding-logic-llm to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Jessylg27/specialized-coding-logic-llm", max_seq_length=2048, )
Specialized Coding Logic LLM (32B)
This model is a specialized fine-tuned version of Qwen/Qwen2.5-Coder-32B-Instruct.
It has been optimized to enhance logical reasoning and code generation capabilities.
🧠 Model Description
Specialized Coding Logic LLM builds upon the powerful Qwen 2.5 Coder architecture (32B parameters). It has been fine-tuned using the DeepThink-Code-Lite dataset to improve its ability to:
- Solve complex algorithmic problems.
- Follow multi-step logical instructions.
- Generate cleaner and more optimized code.
📊 Dataset
This model was trained on the custom dataset:
👉 Jessylg27/DeepThink-Code-Lite
🚀 Quick Start
You can use this model directly with the Hugging Face pipeline.
from transformers import pipeline
# Define the model ID
model_id = "Jessylg27/specialized-coding-logic-llm"
# Initialize the pipeline
generator = pipeline("text-generation", model=model_id, device_map="auto")
# Prompt the model
question = "Write a Python function to solve the Traveling Salesman Problem using dynamic programming."
output = generator([{"role": "user", "content": question}], max_new_tokens=512, return_full_text=False)[0]
print(output["generated_text"])
🛠️ Training procedure
This model was trained with SFT (Supervised Fine-Tuning) using the TRL library and Unsloth for efficient training.
Framework versions
- PEFT: 0.18.1
- TRL: 0.24.0
- Transformers: 4.57.3
- Pytorch: 2.8.0+cu128
- Datasets: 4.3.0
- Tokenizers: 0.22.2
📜 Citations
If you use this model or the TRL library, please cite:
@misc{vonwerra2022trl,
title = {{TRL: Transformer Reinforcement Learning}},
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{[https://github.com/huggingface/trl](https://github.com/huggingface/trl)}}
}
- Downloads last month
- 1
Model tree for Jessylg27/specialized-coding-logic-llm
Base model
Qwen/Qwen2.5-32B
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-coder-32b-instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Jessylg27/specialized-coding-logic-llm")