ivanasp's picture
Update README.md
14e2c52 verified
---
license: apache-2.0
base_model: unsloth/Llama-3.2-1B-instruct-bnb-4bit
tags:
- text-to-json
- unsloth
- llama-3
- fine-tuned
- extraction
language:
- en
- es
colorFrom: blue
colorTo: indigo
library_name: transformers
---
# ๐Ÿš€ Llama-3.2-1B-JSON-Extractor
![Portada](./portada.png)
This model is a professional fine-tuned version of **Llama 3.2 1B Instruct**, specialized in converting **Natural Language into structured JSON objects**.
## ๐ŸŽฏ Project Goal
The system interprets human intent and extracts key entities into a machine-readable format. It is designed to be the bridge between human communication and database systems.
### Extracted Fields:
- `product`: Name or description of the item.
- `price`: Numerical value (currency independent).
- `category`: Market segment or classification.
## ๐Ÿ› ๏ธ Technical Specifications
- **Architecture**: Llama 3.2 1B
- **Optimization**: QLoRA (4-bit)
- **Rank (r)**: 16
- **Alpha**: 32
- **Learning Rate**: 2e-4
- **Final Training Loss**: ~0.013 (High precision)
## ๐Ÿ’ก Usage Example
**Input:**
> "I want to sell a Sony PlayStation 5 for 500 dollars in the gaming category."
**Output:**
```json
{
"product": "Sony PlayStation 5",
"price": 500,
"category": "gaming"
}
```
<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>
Developed by ivanasp using Unsloth.