Instructions to use asolomonqa/asmgenius-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use asolomonqa/asmgenius-v1 with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Add pipeline_tag: text-generation to enable Inference API
Browse files
README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: mit
|
| 5 |
+
base_model: codellama/CodeLlama-7b-Instruct-hf
|
| 6 |
+
tags:
|
| 7 |
+
- assembly
|
| 8 |
+
- code
|
| 9 |
+
- x86-64
|
| 10 |
+
- arm64
|
| 11 |
+
- qlora
|
| 12 |
+
- peft
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# ⚙️ AsmGenius v1
|
| 17 |
+
|
| 18 |
+
A specialized assembly language AI fine-tuned on 7,167 x86-64 and ARM64 examples.
|
| 19 |
+
|
| 20 |
+
## Base Model
|
| 21 |
+
CodeLlama-7B-Instruct fine-tuned with QLoRA
|
| 22 |
+
|
| 23 |
+
## Usage
|
| 24 |
+
```python
|
| 25 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 26 |
+
|
| 27 |
+
model = AutoModelForCausalLM.from_pretrained("asolomonqa/asmgenius-v1")
|
| 28 |
+
tokenizer = AutoTokenizer.from_pretrained("asolomonqa/asmgenius-v1")
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Training
|
| 32 |
+
- Method: QLoRA (4-bit quantization + LoRA adapters)
|
| 33 |
+
- Dataset: 7,167 assembly code prompt/response pairs
|
| 34 |
+
- Architectures: x86-64 (NASM) and ARM64 (GNU AS)
|
| 35 |
+
- Platform: Google Colab T4 GPU
|