Instructions to use d4rkninja/tanpo-product-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use d4rkninja/tanpo-product-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/LFM2.5-1.2B-Instruct") model = PeftModel.from_pretrained(base_model, "d4rkninja/tanpo-product-LoRA") - Notebooks
- Google Colab
- Kaggle
Tanpo Product (LoRA)
PEFT LoRA adapter that specializes LiquidAI/LFM2.5-1.2B-Instruct for product workflows (trained via Unsloth hub id unsloth/LFM2.5-1.2B-Instruct).
Creator: d4rkninja
Collection: Tanpo — Domain Specialists
Tanpo is a family of compact domain-specialized business models for local / edge / inexpensive deployment. Different specialists cover different workflows.
Original upstream: LiquidAI/LFM2.5-1.2B-Instruct (~1.17B parameters, 32,768-token context, designed for edge/on-device deployment).
Fine-tuning: Unsloth-compatible loading of that checkpoint via hub id unsloth/LFM2.5-1.2B-Instruct (LoRA / PEFT).
Full eval, examples, and responsible-use notes: d4rkninja/tanpo-product.
Adapter settings (from adapter_config.json)
| Field | Value |
|---|---|
| Base (adapter_config) | unsloth/LFM2.5-1.2B-Instruct (Unsloth-compatible of LiquidAI/LFM2.5-1.2B-Instruct) |
| PEFT type | LORA |
Rank r |
16 |
lora_alpha |
16 |
lora_dropout |
0 |
bias |
none |
| Target modules | q_proj, k_proj, v_proj, out_proj, in_proj, w1, w2, w3 |
Evaluation (summary)
| Model | Rubric overall |
|---|---|
| Base | 92.6% |
| Fine-tune | 99.4% |
| Delta | +6.8 percentage points |
Internal DarkLab automated domain evaluation on the product fine-tune (directional). Held-out product tasks (~20). Same prompts and generation config for base vs fine-tune. Not an industry benchmark. Source: DarkLab COMPARE_BASE results. See the merged card evaluation/ for artifacts and methodology.
Load with PEFT
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = "unsloth/LFM2.5-1.2B-Instruct" # Unsloth-compatible of LiquidAI/LFM2.5-1.2B-Instruct
tokenizer = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(
base, torch_dtype="auto", device_map="auto"
)
model = PeftModel.from_pretrained(model, "d4rkninja/tanpo-product-LoRA")
Related
- Merged: d4rkninja/tanpo-product
- GGUF: d4rkninja/tanpo-product-GGUF — prefer
Q4_K_M - Dataset: d4rkninja/tanpo-product-sft
License
license: other / license_name: lfm-1.0
This repository provides a LoRA adapter for use with LiquidAI/LFM2.5-1.2B-Instruct. The adapter does not waive the upstream LFM Open License v1.0 (including the commercial Threshold of approximately $10M annual revenue). See the base model card and its LICENSE file. Credit: LiquidAI.
Tanpo Family
Tanpo is a family of compact domain-specialized models for focused business workflows.
This specialist is available as:
- Merged:
d4rkninja/tanpo-product - LoRA:
d4rkninja/tanpo-product-LoRA - GGUF:
d4rkninja/tanpo-product-GGUF
Browse all Tanpo specialists: Tanpo — Domain Specialists
- Downloads last month
- 66
Model tree for d4rkninja/tanpo-product-LoRA
Base model
LiquidAI/LFM2.5-1.2B-Base