Files
decompiler-v2/README.md
ModelHub XC 0ac50fe5e6 初始化项目,由ModelHub XC社区提供模型
Model: raafatabualazm/decompiler-v2
Source: Original Platform
2026-06-04 13:21:12 +08:00

29 lines
817 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
library_name: transformers
pipeline_tag: text-generation
base_model: Qwen/Qwen3-4B-Thinking-2507
tags:
- lora
- peft
- decompilation
- code
---
# decompiler-v2
This repository contains merged finetuned weights for the base model **Qwen/Qwen3-4B-Thinking-2507**.
- **Task:** idiomatic decompilation (assembly → high-level code)
- **Training:** LoRA/DoRA adapters trained with TRL SFT on custom assembly→Dart/Swift pairs
- **How to load (merged):**
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "raafatabualazm/decompiler-v2"
tok = AutoTokenizer.from_pretrained(repo_id, use_fast=True)
model = AutoModelForCausalLM.from_pretrained(repo_id, torch_dtype="bfloat16", trust_remote_code=True)
```
> Replace the repo id with your own if you fork or rename this repository.