Instructions to use CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.6-27B") model = PeftModel.from_pretrained(base_model, "CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1", max_seq_length=2048, )
Changeway-Qwen3.6-27B-V1
β οΈ Note: This repository contains the LoRA adapter weights only. It is not a standalone model. You must load it alongside the base model Qwen/Qwen3.6-27B.
This LoRA adapter is fine-tuned to enhance the model's capabilities specifically in the Cybersecurity domain. It was efficiently trained using Unsloth.
π‘οΈ Domain Focus: Cybersecurity
This fine-tuned adapter improves the base model's performance in:
- Threat intelligence analysis
- Log analysis and incident response
- General cybersecurity knowledge retrieval
π» How to Merge and Save (Unsloth)
You can easily download this LoRA adapter, merge it with the base model, and save it as a complete 16-bit model using Unsloth.
Make sure you have Unsloth installed, then run the following Python script:
from unsloth import FastLanguageModel
# 1. Point model_name directly to this Hugging Face repository!
# Unsloth will automatically read the config and load the base model together with the LoRA.
LORA_DIR = "CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1"
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = LORA_DIR,
max_seq_length = 8192,
dtype = None,
load_in_4bit = False, # Note: It is best to disable 4bit when merging, load in 16bit mode
device_map = "auto", # [!] Let it automatically take over or force allocation
)
# 2. Merge the LoRA into the Base model and save as a new full model
MERGED_DIR = "./qwen-27b-cybersec-merged"
print(f"Merging and saving to {MERGED_DIR} ...")
model.save_pretrained_merged(MERGED_DIR, tokenizer, save_method="merged_16bit")
print("Merge completed successfully!")
π Training Details
- Base Model: Qwen/Qwen3.6-27B
- Training Framework: Unsloth
- Method: LoRA (Low-Rank Adaptation)
- Downloads last month
- 15
Model tree for CTCT-CT2/Changeway-Qwen3.6-27B-LoRA-V1
Base model
Qwen/Qwen3.6-27B