/ Модель

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

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

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

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

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

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

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

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

Модель рассчитана на ответы по туристическим путеводителям без подключения к сети, а не на роль универсального чат-бота или самостоятельного источника знаний. В тестировании на вопросах по странам и городам она часто отказывалась отвечать, когда контекст был пустым, не по теме или не содержал нужной информации. Репозиторий помечен авторами как устаревший и оставленный для старых версий приложения и сравнения; модель заменена более новой версией. Для указанной конфигурации приложения с контекстом 4096 токенов рекомендовано устройство с 8 ГБ оперативной памяти или больше. Лицензия — CC BY-SA 4.0.

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

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

Ограничения

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

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

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

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

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

Источники: 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-it-GGUF

Outdated model, for tests only. This is the previous 4B model of Pocket Travel. It has been replaced by qwen3.5-4b-travel-it-GGUF, fine-tuned from Qwen3.5 4B on a newer dataset, which wrongly refuses fewer of the questions it could answer. This repository stays only because Pocket Travel 0.13 and earlier download it, and to compare the two models; it will not be updated. For anything else use the new repository.

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

In italiano: assistente di viaggio sul dispositivo per l'app Pocket Travel. Risponde in italiano, in massimo 3 frasi, solo con le informazioni della guida passate nel CONTESTO, e dice chiaramente quando mancano.

FileSizeQuantizationMemory in useSuggested device RAM
qwen3-4b-instruct-2507-travel-it-Q4_K_M.gguf2,382 MiBQ4_K_M with importance matrix3,037 MiB8 GB or more

Memory in use: weights, KV cache and compute buffers, measured with llama.cpp on an x86 CPU with the app's settings (context 4096 tokens, batch 512, f16 KV cache). llama.cpp copies the Q4_K weights into a faster layout at load time; the file pages it copied from stay only as cache that the system can free, and they are not counted. With about 0.4 GB for the app itself, model and app take about 42% of the suggested device RAM.

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

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

Sei una guida turistica offline.
Rispondi in massimo 3 frasi, in italiano, usando solo le informazioni nel CONTESTO.
Se il contesto non basta, dillo esplicitamente.

CONTESTO: <guide sections>

DOMANDA: <question>

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

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

Evaluation

Held-out test set of 508 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: 160 answerable questions on the countries' guides, 44 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 questions99.1%95.5%
Refuses paraphrased country questions whose topic is missing from the context97.7%70.5%
Refuses city questions whose topic is missing from the page90%70%
Refuses city history or climate questions the context does not cover100%100%
Refuses "what is near me" questions with no matching place nearby100%90%
Refuses departure questions with no matching departure100%60%
Wrongly refuses answerable country questions2.5%13.1%
Wrongly refuses answerable city questions2%10%
Wrongly refuses answerable city history or climate questions0%4.2%
Wrongly refuses answerable "what is near me" questions21.4%0%
Wrongly refuses answerable departure questions0%21.4%

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: 32,685 synthetic question/answer pairs with extractive answers, about 22% of them refusal examples, built from the Wikimedia dumps of Oct 1, 2026: Italian Wikivoyage (country and city pages, cleaned with the same code as the app's guides), Italian Wikipedia (country articles on cuisine, culture, telecommunications and media; history and climate of cities), sections of English Wikivoyage machine-translated into Italian where the Italian page has none (MarianMT Helsinki-NLP/opus-mt-tc-big-en-it, CC BY 4.0, marked as such in ATTRIBUTION.tsv), 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), machine-translated into Italian; off-topic questions from truthful_qa_italian (Apache 2.0) and alpaca-cleaned-italian (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 Italian; questions in other languages get Italian 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 Italian, some English 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.
  • 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…

Ревизия весов
5ce7fcb

0 моделей