Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: "en"
|
| 3 |
+
library_name: "transformers"
|
| 4 |
+
pipeline_tag: "text2text-generation"
|
| 5 |
+
base_model: "google/flan-t5-base"
|
| 6 |
+
license: "apache-2.0"
|
| 7 |
+
tags:
|
| 8 |
+
- text2text
|
| 9 |
+
- property
|
| 10 |
+
- query-parser
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# 🏠 Property Query Parser
|
| 14 |
+
|
| 15 |
+
This model helps extract structured information (like BHK, location, and possession date) from natural language property queries.
|
| 16 |
+
|
| 17 |
+
Example usage:
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
from transformers import pipeline
|
| 21 |
+
|
| 22 |
+
pipe = pipeline("text2text-generation", model="baarish/property-query-parser")
|
| 23 |
+
|
| 24 |
+
query = "Show me 2BHK flats in Pune with possession in 2025"
|
| 25 |
+
result = pipe(query)
|
| 26 |
+
print(result[0]['generated_text'])
|