Instructions to use OKoshi/stage1-02 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use OKoshi/stage1-02 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3-4B-Base-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "OKoshi/stage1-02") - Transformers
How to use OKoshi/stage1-02 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OKoshi/stage1-02") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OKoshi/stage1-02", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OKoshi/stage1-02 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OKoshi/stage1-02" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OKoshi/stage1-02", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OKoshi/stage1-02
- SGLang
How to use OKoshi/stage1-02 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "OKoshi/stage1-02" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OKoshi/stage1-02", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "OKoshi/stage1-02" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OKoshi/stage1-02", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use OKoshi/stage1-02 with Docker Model Runner:
docker model run hf.co/OKoshi/stage1-02
GENIAC-PRIZE 2026 — Stage 1 Adapter
Model Description
This repository contains the Stage 1 LoRA adapter developed for GENIAC-PRIZE 2026 Theme 2 (Mathematical LLM).
- Base model: Qwen3-4B-Base
- Training method: Supervised Fine-Tuning (SFT) with LoRA
- Training dataset: Tulu 3 Persona IF
- Dataset: allenai/tulu-3-sft-personas-instruction-following
Training Data and License
Contains information from allenai/tulu-3-sft-personas-instruction-following (https://huggingface.co/datasets/allenai/tulu-3-sft-personas-instruction-following) which is made available under the ODC Attribution License (https://opendatacommons.org/licenses/by/1-0/).
Intended Use
This adapter is intended for use in the GENIAC-PRIZE 2026 Theme 2 mathematical language model development task.
Usage
Load this adapter with a compatible base model using the PEFT library.
Notes
This repository contains the adapter weights, not a standalone merged model.
- Downloads last month
- 26
Model tree for OKoshi/stage1-02
Base model
Qwen/Qwen3-4B-Base