Instructions to use UX4567/DSA-BRO-AI-7B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Desktop
๐ค๐ฅ๐ป DSA-BRO-AI-7B-Instruct ๐ป๐ฅ๐ค
๐๐ Tera DSA Wala BRO Aa Gaya! ๐๐
๐ฃ๏ธ Pehle lagta tha DSA mushkil hai ๐ฉ๐ฉ ๐ฅ Ab BRO hai na! ๐ช๐ช๐ช
๐๐ฅ Kya Hai Ye Model? ๐ฅ๐
Ye model hai Qwen2.5-7B-Instruct ko DSA pe fine-tune karke banaya gaya! ๐ง โจ
Ye sirf answer nahi deta โ Ye aise samjhata hai jaise tera dost samjha raha ho! โ โ โ Hinglish me! ๐ Simple me! Step-by-step! ๐ฃ๐ฃ๐ฃ
๐๐ Kya-Kya Puch Sakte Ho? ๐๐
- ๐ Array, String ๐
- ๐ Linked List, Stack, Queue ๐
- ๐ณ Tree, Graph, Heap ๐ณ
- ๐ Recursion, DP, Greedy ๐
- โก Sorting, Searching โก
- โฑ๏ธ Time Complexity / Space Complexity โฑ๏ธ
- ๐ผ Interview Questions + Code ๐ผ
- ๐งโ๐ป Coding Problems ๐งโ๐ป
โกโก Unsloth Se Train Kiya Hai! โกโก
Ye model Unsloth se train kiya gaya hai! ๐ฅ๐ฅ๐ฅ
Unsloth kyu? ๐ค๐ค
- โก 2x Faster Training โก - Normal se double speed me train hua!
- ๐พ 70% Kam VRAM ๐พ - Chhote GPU pe bhi 7B train ho gaya!
- ๐ฐ Kam Cost ๐ฐ - Colab / Kaggle ke free GPU pe hi ho gaya!
- ๐ No OOM Error ๐ - Out Of Memory wala tension khatam!
Bina Unsloth ke 7B ko train karna bahut mehnga padta ๐ฉ Unsloth ke saath sab easy ho gaya ๐๐ฅ
๐ป๐ Kaise Use Kare? ๐๐ป
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "UX4567/DSA-BRO-AI-7B-Instruct"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto"
)
messages = [
{"role": "system", "content": "You are DSA-BRO, a friendly DSA teacher who explains in simple Hinglish."},
{"role": "user", "content": "Bhai Binary Search samjha de, aasan me. ๐"}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
do_sample=True
)
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
- Downloads last month
- 43
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support