Update README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,3 @@
|
|
| 1 |
-
---
|
| 2 |
-
pipeline_tag: text2text-generation
|
| 3 |
-
library_name: transformers
|
| 4 |
-
tags:
|
| 5 |
-
- flan-t5
|
| 6 |
-
- text2text-generation
|
| 7 |
-
license: apache-2.0
|
| 8 |
-
---
|
| 9 |
-
|
| 10 |
---
|
| 11 |
license: apache-2.0
|
| 12 |
language: en
|
|
@@ -19,7 +10,6 @@ tags:
|
|
| 19 |
- natural-language-generation
|
| 20 |
- query2nl
|
| 21 |
- ERP
|
| 22 |
-
- flan-t5
|
| 23 |
- seq2seq
|
| 24 |
- text2text-generation
|
| 25 |
- Frappe
|
|
@@ -30,29 +20,3 @@ model-index:
|
|
| 30 |
- name: Query2NL-flan
|
| 31 |
results: []
|
| 32 |
---
|
| 33 |
-
|
| 34 |
-
---
|
| 35 |
-
# Query2NL-flan
|
| 36 |
-
|
| 37 |
-
**Query2NL-flan** is a fine-tuned [`google/flan-t5-base`](https://huggingface.co/google/flan-t5-base) model that converts structured ERP/Frappe-style query responses into **clear, natural English**. It is useful for transforming API or database responses into user-friendly summaries, especially for business users in ERP systems like **ERPNext**.
|
| 38 |
-
---
|
| 39 |
-
---
|
| 40 |
-
## 🔧 Intended Use
|
| 41 |
-
|
| 42 |
-
This model is designed to:
|
| 43 |
-
|
| 44 |
-
- Convert structured JSON data (e.g. `frappe.db.get_value`, `frappe.get_all`, SQL responses) into natural language.
|
| 45 |
-
- Be embedded in ERP assistants or dashboards to explain query outputs.
|
| 46 |
-
- Help non-technical users understand system responses.
|
| 47 |
-
|
| 48 |
-
---
|
| 49 |
-
|
| 50 |
-
## 📥 Example Input/Output
|
| 51 |
-
|
| 52 |
-
### ➤ Input Prompt:
|
| 53 |
-
Convert the following data into a user-friendly sentence:
|
| 54 |
-
Input: {"invoice_id": "INV-9001", "client": "GreenTech", "due_date": "2025-08-01"}
|
| 55 |
-
|
| 56 |
-
**Output:**
|
| 57 |
-
The invoice INV-9001 is issued to GreenTech and is due on August 1, 2025.
|
| 58 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
language: en
|
|
|
|
| 10 |
- natural-language-generation
|
| 11 |
- query2nl
|
| 12 |
- ERP
|
|
|
|
| 13 |
- seq2seq
|
| 14 |
- text2text-generation
|
| 15 |
- Frappe
|
|
|
|
| 20 |
- name: Query2NL-flan
|
| 21 |
results: []
|
| 22 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|