Text Generation
Transformers
English
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="LCM-Lab/nsa_qwen3-4b")
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("LCM-Lab/nsa_qwen3-4b", dtype="auto")
Quick Links