izambasiron/qwen3-0.6b-markdown-review
057
qwen3-0.6b-markdown-review
Fine-tuned Qwen3 0.6B for automated Markdown document review — catches missing alt text, broken links, stale filenames, and formatting issues.
Model details
Usage
transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"izambasiron/qwen3-0.6b-markdown-review",
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("izambasiron/qwen3-0.6b-markdown-review")
messages = [
{"role": "system", "content": "You are a Markdown document reviewer..."},
{"role": "user", "content": "# My Doc\n\n"}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
outputs = model.generate(inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))Ollama / llama.cpp
Download qwen3-0.6b.Q4_K_M.gguf and use with the included Modelfile:
ollama create qwen3-markdown-review -f Modelfile
ollama run qwen3-markdown-reviewOr directly with llama.cpp:
llama-cli -m qwen3-0.6b.Q4_K_M.gguf -p "<system prompt>" -f input.mdLimitations
- Trained on 168 examples — may overfit
- English only
- Not suitable for general chat — task-specific fine-tune
- Requires ~400 MB RAM for Q4KM GGUF; ~1.4 GB for fp16 transformers
Training
Fine-tuned with Unsloth using the notebook at `colab_finetune_qwen3_clean.ipynb`.
