Instructions to use KRadim/Qwen2.5-Coder-3B-text2cypher-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use KRadim/Qwen2.5-Coder-3B-text2cypher-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-Coder-3B-Instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "KRadim/Qwen2.5-Coder-3B-text2cypher-LoRA") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -13,17 +13,17 @@ tags:
|
|
| 13 |
- qwen2.5
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# Qwen2.5-Coder-3B Text-to-Cypher (Neo4j) - Run #
|
| 17 |
|
| 18 |
This model is a fine-tuned version of **unsloth/Qwen2.5-Coder-3B-Instruct** optimized for translating natural language questions into accurate **Neo4j Cypher queries** using a structured database schema.
|
| 19 |
|
| 20 |
-
Number of samples used: `
|
| 21 |
|
| 22 |
## Model Details
|
| 23 |
|
| 24 |
- **Base Architecture:** Qwen2.5-Coder-3B-Instruct
|
| 25 |
- **Fine-Tuning Method:** QLoRA (Rank 16, Alpha 16)
|
| 26 |
-
- **Dataset Used:** `KRadim/multilingual-text2cypher-2025` (
|
| 27 |
- **Epochs:** 1
|
| 28 |
- **Frameworks:** Unsloth, Hugging Face TRL, PEFT, PyTorch
|
| 29 |
|
|
|
|
| 13 |
- qwen2.5
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# Qwen2.5-Coder-3B Text-to-Cypher (Neo4j) - Run #7
|
| 17 |
|
| 18 |
This model is a fine-tuned version of **unsloth/Qwen2.5-Coder-3B-Instruct** optimized for translating natural language questions into accurate **Neo4j Cypher queries** using a structured database schema.
|
| 19 |
|
| 20 |
+
Number of samples used: `245000`
|
| 21 |
|
| 22 |
## Model Details
|
| 23 |
|
| 24 |
- **Base Architecture:** Qwen2.5-Coder-3B-Instruct
|
| 25 |
- **Fine-Tuning Method:** QLoRA (Rank 16, Alpha 16)
|
| 26 |
+
- **Dataset Used:** `KRadim/multilingual-text2cypher-2025` (8074 examples)
|
| 27 |
- **Epochs:** 1
|
| 28 |
- **Frameworks:** Unsloth, Hugging Face TRL, PEFT, PyTorch
|
| 29 |
|