rabbit commited on
Commit ·
6381f12
1
Parent(s): 2adbcf5
update
Browse files
README.md
CHANGED
|
@@ -31,6 +31,7 @@ This model is optimized for production usage via **vLLM serving** with an **Open
|
|
| 31 |
- Compatible with **vLLM OpenAI-style API**
|
| 32 |
- Prompting optimized for **Vietnamese instructions**
|
| 33 |
---
|
|
|
|
| 34 |
## 📌 Supported Data Types
|
| 35 |
### 1. Unstructured Information
|
| 36 |
|
|
@@ -41,6 +42,7 @@ Extract specific fields defined by the user, such as:
|
|
| 41 |
- Address
|
| 42 |
- Total amount
|
| 43 |
- Custom document attributes
|
|
|
|
| 44 |
---
|
| 45 |
### 2. Structured Table Data
|
| 46 |
|
|
@@ -50,7 +52,9 @@ Capabilities:
|
|
| 50 |
- Ignore non-product rows
|
| 51 |
- Markdown-formatted output
|
| 52 |
- Clean and deterministic structure
|
|
|
|
| 53 |
---
|
|
|
|
| 54 |
## 🔧 Deployment (vLLM)
|
| 55 |
This model is intended to be deployed using **vLLM** with an OpenAI-compatible interface.
|
| 56 |
Example:
|
|
@@ -60,8 +64,8 @@ vllm serve <model-path-or-name> \
|
|
| 60 |
--port 8000
|
| 61 |
```
|
| 62 |
## Prompt Usage
|
| 63 |
-
Unstructured Data Extraction Prompt
|
| 64 |
-
|
| 65 |
```bash
|
| 66 |
prompt = f"""QUERY Trích xuất thông tin: {field_names}.
|
| 67 |
INSTRUCTION:
|
|
@@ -81,8 +85,7 @@ If data cannot be extracted:
|
|
| 81 |
```bash
|
| 82 |
tôi không thể tìm thấy dữ liệu này
|
| 83 |
```
|
| 84 |
-
Structured Table (Column-wise) Extraction Prompt
|
| 85 |
-
Used to extract data for a specific column from a product table.
|
| 86 |
|
| 87 |
```bash
|
| 88 |
prompt = (
|
|
|
|
| 31 |
- Compatible with **vLLM OpenAI-style API**
|
| 32 |
- Prompting optimized for **Vietnamese instructions**
|
| 33 |
---
|
| 34 |
+
|
| 35 |
## 📌 Supported Data Types
|
| 36 |
### 1. Unstructured Information
|
| 37 |
|
|
|
|
| 42 |
- Address
|
| 43 |
- Total amount
|
| 44 |
- Custom document attributes
|
| 45 |
+
|
| 46 |
---
|
| 47 |
### 2. Structured Table Data
|
| 48 |
|
|
|
|
| 52 |
- Ignore non-product rows
|
| 53 |
- Markdown-formatted output
|
| 54 |
- Clean and deterministic structure
|
| 55 |
+
|
| 56 |
---
|
| 57 |
+
|
| 58 |
## 🔧 Deployment (vLLM)
|
| 59 |
This model is intended to be deployed using **vLLM** with an OpenAI-compatible interface.
|
| 60 |
Example:
|
|
|
|
| 64 |
--port 8000
|
| 65 |
```
|
| 66 |
## Prompt Usage
|
| 67 |
+
Unstructured Data Extraction Prompt Example
|
| 68 |
+
|
| 69 |
```bash
|
| 70 |
prompt = f"""QUERY Trích xuất thông tin: {field_names}.
|
| 71 |
INSTRUCTION:
|
|
|
|
| 85 |
```bash
|
| 86 |
tôi không thể tìm thấy dữ liệu này
|
| 87 |
```
|
| 88 |
+
Structured Table (Column-wise) Extraction Prompt Example
|
|
|
|
| 89 |
|
| 90 |
```bash
|
| 91 |
prompt = (
|