Skip to content

Instantly share code, notes, and snippets.

View StarKnightt's full-sized avatar
🎯
Focusing

Prasenjit StarKnightt

🎯
Focusing
View GitHub Profile
@StarKnightt
StarKnightt / liquid-effect-animation-prompt.md
Created February 19, 2026 15:01
Prompt to build an interactive liquid distortion effect component for React/Next.js using shadcn, Tailwind CSS & Three.js

You are given a task to integrate an existing React component in the codebase.

The codebase should support:

  • shadcn project structure
  • Tailwind CSS
  • TypeScript

If it doesn't, provide instructions on how to setup the project via shadcn CLI, install Tailwind or TypeScript.

@StarKnightt
StarKnightt / grpo_demo.py
Created February 2, 2025 12:11 — forked from willccbb/grpo_demo.py
GRPO Llama-1B
# train_grpo.py
import re
import torch
from datasets import load_dataset, Dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import LoraConfig
from trl import GRPOConfig, GRPOTrainer
# Load and prep dataset