初始化项目,由ModelHub XC社区提供模型
Model: jarminraws/hotel-llm-search Source: Original Platform
This commit is contained in:
23
README.md
Normal file
23
README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
license: apache-2.0
|
||||
base_model: Qwen/Qwen3-1.7B
|
||||
tags: [hotel-search, entity-extraction, lora-merged, qwen3]
|
||||
---
|
||||
|
||||
# Hotel Entity Extractor (Qwen3-1.7B, LoRA merged)
|
||||
|
||||
Fine-tuned to extract structured hotel-search params from natural-language queries
|
||||
and return strict JSON. Trained filters-free of codes: `filters` is emitted as
|
||||
human-readable PHRASES (e.g. `"swimming pool, pet friendly"`); a downstream matcher
|
||||
resolves phrases -> production codes.
|
||||
|
||||
- **Input**: a hotel-search query + `today` date (DDMMYYYY date math).
|
||||
- **Output**: JSON with destination, locality, hotelName, checkin/checkoutDate,
|
||||
adult/room/child/childAges/infantCount, sortCriteria, min/maxPrice, filters,
|
||||
deepSearch, isNearMe, resetAction.
|
||||
- **Prompt/schema contract**: bundled as `contract.py` in this repo. The serving
|
||||
layer MUST use this exact prompt (it verifies byte-parity at startup).
|
||||
|
||||
Serve with vLLM (see the entity-extraction-serving repo). Raw model output is
|
||||
exposed by the API; date validation + filter phrase->code resolution happen in
|
||||
the calling service.
|
||||
Reference in New Issue
Block a user