/ Модель

Характеристики

Лицензия
CC BY-SA 4.0
Базовая модель
Qwen3-4B-Instruct-2507
Библиотека
gguf
Опубликована
11 окт 2026

qwen3-4b-instruct-2507-travel-en-GGUF

Генерация текстаТекст → текст3 профессии
33скачиваний за 30 дней0лайковвеса обновлены15 окт 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Англоязычная модель для офлайн-ответов на вопросы путешественников по переданным фрагментам путеводителя.

Pocket Travel — специализированная англоязычная модель для офлайн-помощника путешественника в Android-приложении Pocket Travel. Она дообучена методом LoRA на базе Qwen/Qwen3-4B-Instruct-2507, затем объединена с базовыми весами и представлена в формате GGUF с квантизацией Q4_K_M. В приложении модель отвечает на вопросы по фрагментам загруженного путеводителя, найденным поиском SQLite FTS; рассчитанный для неё контекст в приложении — 4096 токенов.

Модель должна отвечать по-английски не более чем в трёх предложениях и опираться только на переданный контекст, явно сообщая, если в нём недостаточно информации. Она предназначена для ответов о странах и городах, достопримечательностях и других сведениях, включённых в путеводитель, а не для общего чата или самостоятельного источника знаний. В тестировании на 584 вопросах модель чаще базовой отказывалась отвечать на вопросы вне контекста и на вопросы с пустым контекстом.

По данным карточки, файл Q4_K_M занимает около 2,3 ГиБ, а работа модели на CPU с настройками приложения требует около 4,6 ГиБ памяти; рекомендовано устройство как минимум с 12 ГБ ОЗУ. Модель обучена отвечать на английском, поэтому на вопросы на других языках может ответить по-английски. Ответы зависят от полноты и актуальности путеводителя, а иногда модель может ответить на вопрос о городе, тема которого отсутствует в его контексте, или дословно воспроизвести источник. Лицензия модели — CC BY-SA 4.0.

Сценарии применения

  • ответы на вопросы о стране по загруженному путеводителю
  • поиск сведений о городе в офлайн-гиде
  • ответы о достопримечательностях по найденным разделам путеводителя
  • отказ от ответа, если в предоставленном контексте нет нужных сведений

Ограничения

Модель отвечает на английском, а точность и актуальность ответов зависят от переданного путеводителя; для цен, расписаний, въездных требований и безопасности следует сверяться с официальными источниками. Иногда она отвечает на вопросы о городе, тема которых отсутствует в контексте, и может дословно воспроизводить исходные тексты.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

qwen3-4b-instruct-2507-travel-en-GGUF

On-device travel assistant for the Pocket Travel Android app: a LoRA fine-tune of Qwen/Qwen3-4B-Instruct-2507, merged and quantized to GGUF Q4_K_M, that answers in English, in at most 3 sentences, using only the travel-guide CONTEXT it is given, and says so explicitly when the context does not contain the answer.

FileSizeQuantizationMemory in useSuggested device RAM
qwen3-4b-instruct-2507-travel-en-Q4_K_M.gguf2,382 MiBQ4_K_M with importance matrixabout 4.6 GiB12 GB or more

Memory in use: weights, the CPU copy of repacked weights, KV cache and compute buffers, measured with llama.cpp on CPU with the app's settings (context 4096 tokens, batch 512, f16 KV cache). With about 0.4 GB for the app itself, model and app take about 45% of the suggested device RAM or less, leaving the rest to the system and other apps.

Intended use

Retrieval-augmented answers on a phone, fully offline: the app searches the downloaded Wikivoyage guide of a region (SQLite FTS), puts 1 to 3 sections in the prompt and asks the question. The model is not meant as a general chatbot or knowledge source: without a context it should refuse. The app uses this model when its interface is in English.

Prompt format (user turn of the model's chat template, as sent by the app):

You are an offline travel guide.
Answer in at most 3 sentences, in English, using only the information in the CONTEXT.
If the context is not enough, say so explicitly.

CONTEXT: <guide sections>

QUESTION: <question>

Example with llama.cpp (context 4096, as in the app):

llama-server -m qwen3-4b-instruct-2507-travel-en-Q4_K_M.gguf -c 4096

Evaluation

Held-out test set of 584 questions over 11 countries never seen in training (and their cities), phrased outside the training templates and with contexts shaped exactly like the app's: 239 answerable questions on the countries' guides, 41 paraphrased questions whose topic is missing from the context, 110 off-topic and 44 with an empty context, 50 answerable and 20 unanswerable city questions, and smaller groups on the history and climate of cities, nearby places and next departures. This model and its base model were evaluated as GGUF with llama.cpp (greedy decoding), on the same questions and with the same prompt; the base model is the official unsloth/Qwen3-4B-Instruct-2507-GGUF quantization (UD-Q4_K_XL) that the app offers in the same RAM tier. Refusal rates: higher is better on the first block, lower is better on the second.

MetricThis modelBase model (Qwen3-4B-Instruct-2507)
Refuses when the context is empty (no guide text found)100%100%
Refuses off-topic questions100%94.5%
Refuses paraphrased country questions whose topic is missing from the context97.6%87.8%
Refuses city questions whose topic is missing from the page90%80%
Refuses city history or climate questions the context does not cover100%100%
Refuses "what is near me" questions with no matching place nearby100%80%
Refuses departure questions with no matching departure100%70%
Wrongly refuses answerable country questions2.5%16.7%
Wrongly refuses answerable city questions0%14%
Wrongly refuses answerable city history or climate questions0%0%
Wrongly refuses answerable "what is near me" questions14.3%0%
Wrongly refuses answerable departure questions7.1%14.3%

A refusal is any recognizable "the context does not say" answer, counted with the same rule for both models (the base model words it in its own way). The base model's low rate of wrong refusals on some groups comes with few refusals overall: where it does not refuse, it often answers from its own knowledge or with text from the context that does not answer the question.

Training

  • Method: LoRA (16-bit, Unsloth) merged into the base weights, 1 epoch, loss on answer tokens only, weighted by question category.
  • Data: 40,935 synthetic question/answer pairs with extractive answers, about 21% of them refusal examples, built from the Wikimedia dumps of Oct 1, 2026: English Wikivoyage (country and city pages, cleaned with the same code as the app's guides), English Wikipedia (country articles on cuisine, culture, telecommunications and media; history and climate of cities), sections of Italian Wikivoyage machine-translated into English where the English page has none (MarianMT Helsinki-NLP/opus-mt-tc-big-it-en, CC BY 4.0, marked as such in ATTRIBUTION.tsv), the travel advice of the Government of Canada (travel.gc.ca) and of the UK Foreign, Commonwealth & Development Office (gov.uk) as published in the app's English guides, quick facts from Wikidata (capital, currency, calling code, driving side), emergency numbers and vaccination summaries. Contexts are shaped like the app's: 1 to 3 guide sections with distractor sections, up to 2000 characters, plus the blocks the app adds (nearby points of interest, next departures, distances between cities, emergency numbers, personal notes).
  • Questions only (answers are always taken from the context, or are the refusal sentence): user-style travel questions (written by a model imitating the user) from soniawmeyer/travel-conversations-finetuning (UltraChat part, MIT); off-topic questions from truthful_qa (Apache 2.0) and alpaca-cleaned (CC BY 4.0 as declared by the copy; the original Stanford Alpaca data is CC BY-NC 4.0), always with a refusal as answer.
  • Quantization: llama-quantize Q4_K_M with an importance matrix calibrated on 400 training prompts.

Limitations

  • Answers are only as good and as current as the guide text in the context: check prices, opening hours, entry requirements and safety information with official sources before traveling.
  • Trained to answer in English; questions in other languages get English answers.
  • It sometimes answers city questions whose topic is not on the city page instead of refusing (see the table), and it may refuse "what is near me" questions that name the place with a synonym of the label in the context.
  • It may reproduce sentences of the source texts verbatim (see license below).

License and attribution

  • Base model: Qwen/Qwen3-4B-Instruct-2507, Apache-2.0; its license text is included as LICENSE-base-model.
  • Training data: Wikivoyage and Wikipedia (mostly English, some Italian sections machine-translated), CC BY-SA 4.0. Because the model can reproduce that text, the fine-tuned weights are released under CC BY-SA 4.0. The full list of source pages (title, URL, license) is in ATTRIBUTION.tsv.
  • Travel advice from travel.gc.ca: contains information licensed under the Open Government Licence - Canada (OGL-Canada 2.0).
  • Travel advice from the FCDO on gov.uk: contains public sector information licensed under the Open Government Licence v3.0.
  • Vaccination summaries from Travel.gc.ca (OGL-Canada 2.0: contains information licensed under the Open Government Licence - Canada) and from TravelHealthPro (UKHSA / NaTHNaC, OGL v3.0: contains public sector information licensed under the Open Government Licence v3.0); emergency numbers from Travel.gc.ca and gov.uk (same licenses), Wikipedia, Wikivoyage and Wikidata.
  • Wikidata (quick facts, emergency numbers): CC0 1.0.
  • No content from Viaggiare Sicuri (Farnesina) is included.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

llama.cpp

Можно запустить

Подбираем GPU…

Ревизия весов
d8f1939

0 моделей