Run this model with HF Jobs
Run CodeStrux-Tech/tac-1-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/CodeStrux-Tech/tac-1-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/CodeStrux-Tech/tac-1-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/CodeStrux-Tech/tac-1-lora. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/CodeStrux-Tech/tac-1-lora. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use CodeStrux-Tech/tac-1-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CodeStrux-Tech/tac-1-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "CodeStrux-Tech/tac-1-lora") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
tac-1-lora β QLoRA adapter for tac-1
Overview
This is the QLoRA adapter that produced CodeStrux-Tech/tac-1. Most users want the merged tac-1 repo, not these adapter weights. Use this repo only if you need to inspect or extend the adapter directly.
Loading with PEFT
PEFT loading requires the base model unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit.
Training configuration
- Base model: Qwen/Qwen3-4B-Instruct-2507
- Method: QLoRA (r=16, Ξ±=32)
- Learning rate: 2e-4
- Epochs: 2
- Max sequence length: 4096
- Steps: 692
- Final train loss: 0.043
- Hardware: ~2 h 50 m on an RTX 4080 16 GB
- Stack: unsloth 2025.11.1 / transformers 4.57.2 / trl 0.23.0
Training data
The adapter was trained on the tac-1 corpus: 5,532 examples (seed 0), 805 heldout (seed 1); --max-legs 4; 22 districts ingested, 19,042 POIs, 11 griddable; holdout districts grecia, curridabat, go-guadalupe excluded from training. See CodeStrux-Tech/tac-1-corpus.
Training data attribution
Contains information from OpenStreetMap (https://www.openstreetmap.org/copyright), which is made available under the Open Database License (ODbL) 1.0. Β© OpenStreetMap contributors.
For full architecture, evaluation, and limitations, see CodeStrux-Tech/tac-1.
tac-1 is a derivative work of Qwen/Qwen3-4B-Instruct-2507, Copyright 2024 Alibaba Cloud, licensed under the Apache License, Version 2.0. The upstream LICENSE is included in this repository.
- Downloads last month
- 12