Instructions to use ggml-org-dev/tiny-lev-for-testing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ggml-org-dev/tiny-lev-for-testing with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("ggml-org-dev/tiny-Qwen3.5-4B-for-testing") model = PeftModel.from_pretrained(base_model, "ggml-org-dev/tiny-lev-for-testing") - Notebooks
- Google Colab
- Kaggle
File size: 1,739 Bytes
d59d6cb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ---
license: apache-2.0
base_model: ggml-org-dev/tiny-Qwen3.5-4B-for-testing
library_name: peft
tags:
- testing
---
# tiny-lev-for-testing
> [!WARNING]
> This is a **modified, damaged copy** of [interfaze-ai/lev](https://huggingface.co/interfaze-ai/lev), made only to test software. Its output is gibberish. Do not use it for anything else.
lev is a LoRA adapter for [Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B). This copy is a LoRA adapter for the tiny base model [ggml-org-dev/tiny-Qwen3.5-4B-for-testing](https://huggingface.co/ggml-org-dev/tiny-Qwen3.5-4B-for-testing), a sliced copy of Qwen3.5-4B. It keeps the calibration, label readout prompt (chat template) and LoRA layout of lev, so it runs the same code paths as the real model in llama.cpp (`lev` decision type: the converter downloads the base model named in `adapter_config.json` and merges the adapter), but it is small enough for CI.
GGUF version: [ggml-org-dev/tiny-lev-for-testing-GGUF](https://huggingface.co/ggml-org-dev/tiny-lev-for-testing-GGUF)
## Changes from the original adapter
Sliced with [slice_qwen35_lora.py](slice_qwen35_lora.py), which follows the `slice-model` skill of llama.cpp:
- `base_model_name_or_path` points at ggml-org-dev/tiny-Qwen3.5-4B-for-testing
- LoRA tensors of 4 of 32 layers (0, 1, 2, 3), narrowed with the same indices as the base model: A keeps the input columns of its base weight, B its output rows (rank 32 and alpha kept)
- `mode_b_head.pt` (head for large option sets, not used by llama.cpp): the input projections are narrowed to the hidden size 32
- The README images (`assets/`) are not included
## License
Derived from lev by Interfaze AI, under the Apache License 2.0 (as is the base model Qwen3.5-4B).
|