Downloads · 30 days
15
11% of all-time downloads
icewaterdun/Qwen2.5-72B-Instruct-PyQGIS
Qwen2.5-72B-Instruct-PyQGIS is a text generation model from icewaterdun. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
Repository: icewaterdun/Qwen2.5-72B-Instruct-PyQGIS Base model: Qwen2.5-72B-Instruct Adapter type: LoRA (PEFT) Checkpoint used: checkpoint-600 (early-stop selection)
Downloads · 30 days
15
11% of all-time downloads
All-time downloads
136
Public
Repo size
854 MB
Likes
0
Public
Click a slice to open those files.
.safetensors842 MB · 98%
From the Hugging Face model README
Repository: icewaterdun/Qwen2.5-72B-Instruct-PyQGIS
Base model: Qwen2.5-72B-Instruct
Adapter type: LoRA (PEFT)
Checkpoint used: checkpoint-600 (early-stop selection)
This repository contains a LoRA adapter that tailors Qwen2.5-72B-Instruct to PyQGIS/QGIS workflows (e.g., geoprocessing, vector/raster operations, layer styling, and common Geo/OGR tasks). The adapter focuses on instruction-following in a GIS setting, emphasizing practical coding patterns and on-tool terminology.
checkpoint-600. Later checkpoints (800+) showed a slight regression (on the same eval split), suggesting mild overfitting.Evaluated on the same held-out set (503 items). We report cross-entropy loss and the corresponding perplexity (lower is better). Perplexity is computed from the reported loss via: [ \text{PPL} = \exp(\text{loss}) ] assuming the loss is the mean token-level cross-entropy in nats (Hugging Face Transformers’ default).
| Model / Checkpoint | eval_loss | Perplexity (PPL) |
|---|---|---|
| Baseline (no LoRA) | 2.476 | 11.894 |
| ckpt-400 | 0.885 | 2.423 |
| ckpt-600 (selected) | 0.865 | 2.375 |
| ckpt-800 | 0.898 | 2.455 |
Takeaway: The LoRA adapter substantially improves the base model on this PyQGIS-focused eval set (PPL ↓ from ~11.9 → ~2.38). Among LoRA checkpoints, 600 is best (lowest loss/PPL), while 800 begins to drift upward.
dataset_dir and datasets referenced in the training YAML).qwen chat template.For exact hyperparameters (optimizer, scheduler, LoRA rank/alpha/dropout, target modules, warmup, batch sizes, etc.), consult the training YAML included in this repository.
If you use this adapter, please cite the base model and this repository.
@misc{Qwen2.5-72B-Instruct-PyQGIS,
title = {Qwen2.5-72B-Instruct-PyQGIS (LoRA)},
author = {icewaterdun},
year = {2025},
note = {LoRA adapter for PyQGIS tasks on top of Qwen2.5-72B-Instruct}
}