初始化项目,由ModelHub XC社区提供模型

Model: raafatabualazm/decompiler-v1
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-04 13:16:22 +08:00
commit 215f9cd0a8
14 changed files with 152333 additions and 0 deletions

28
README.md Normal file
View File

@@ -0,0 +1,28 @@
---
library_name: transformers
pipeline_tag: text-generation
base_model: Qwen/Qwen3-4B-Thinking-2507
tags:
- lora
- peft
- decompilation
- code
---
# decompiler-v1
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-v1"
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.