Files
hotel-llm-search/README.md
ModelHub XC 3edbf5d110 初始化项目,由ModelHub XC社区提供模型
Model: jarminraws/hotel-llm-search
Source: Original Platform
2026-07-29 03:59:18 +08:00

24 lines
1.0 KiB
Markdown

---
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.