Instructions to use bravesoftware/Lynx-1-VL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bravesoftware/Lynx-1-VL with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-VL-4B-Instruct") model = PeftModel.from_pretrained(base_model, "bravesoftware/Lynx-1-VL") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -19,7 +19,7 @@ tags:
|
|
| 19 |
|
| 20 |
**Lynx** is a **LoRA adapter** trained on top of **[`Qwen/Qwen3-VL-4B-Instruct`](https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct)**. It is specialised for **generating 1–4 web search queries** from a **user question** (text and/or image), optimised for searches in Brave's AI Broser Assistant Leo.
|
| 21 |
|
| 22 |
-
Given a user turn, Lynx outputs **newline-separated search strings** — minimal, diverse
|
| 23 |
|
| 24 |
This checkpoint is **not** a general-purpose chat assistant. **Do not use it for open-ended dialogue, summarisation, coding, reasoning benchmarks, tool use, creative writing, agentic workflows, or any task other than search-query generation.** Always revalidate behaviour in your own serving stack.
|
| 25 |
|
|
@@ -31,8 +31,7 @@ This checkpoint is **not** a general-purpose chat assistant. **Do not use it for
|
|
| 31 |
- **Text-only** user questions wrapped in `<user_input>...</user_input>`, **or**
|
| 32 |
- **Image + task** inputs when the user message includes a screenshot or document image alongside a short task description.
|
| 33 |
- Queries should be in the **same language** as the user input (unless the user explicitly requests another language).
|
| 34 |
-
- Prefer **fewer** queries over redundant variants (weather, time, and simple lookups →
|
| 35 |
-
- **Never include PII** (names, addresses, IDs, emails, etc.) that is not needed for the search.
|
| 36 |
|
| 37 |
### Out-of-scope
|
| 38 |
|
|
@@ -191,7 +190,6 @@ Coverage: **30+ languages**, **80+ topics**, style and PII document images.
|
|
| 191 |
## Limitations and risks
|
| 192 |
|
| 193 |
- **Search query generation only:** Not for chat, summarisation, tool use, or agentic workflows.
|
| 194 |
-
- **PII:** Whilst Lynx is trained to not leak contextually irrelevant PII, this cannot be guaranteed and should always be validated against.
|
| 195 |
- **Language:** Must match user language; do not assume parity beyond what the base model supports.
|
| 196 |
- **Distribution shift:** Prompts that omit `<user_input>`, change the instruction wording, or use unrelated tasks can produce unreliable outputs.
|
| 197 |
- **Month/year:** Training randomises month/year; production should inject the **live** date.
|
|
|
|
| 19 |
|
| 20 |
**Lynx** is a **LoRA adapter** trained on top of **[`Qwen/Qwen3-VL-4B-Instruct`](https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct)**. It is specialised for **generating 1–4 web search queries** from a **user question** (text and/or image), optimised for searches in Brave's AI Broser Assistant Leo.
|
| 21 |
|
| 22 |
+
Given a user turn, Lynx outputs **newline-separated search strings** — minimal, diverse and locale-appropriate. The adapter was trained on **short, fixed prompt templates**.
|
| 23 |
|
| 24 |
This checkpoint is **not** a general-purpose chat assistant. **Do not use it for open-ended dialogue, summarisation, coding, reasoning benchmarks, tool use, creative writing, agentic workflows, or any task other than search-query generation.** Always revalidate behaviour in your own serving stack.
|
| 25 |
|
|
|
|
| 31 |
- **Text-only** user questions wrapped in `<user_input>...</user_input>`, **or**
|
| 32 |
- **Image + task** inputs when the user message includes a screenshot or document image alongside a short task description.
|
| 33 |
- Queries should be in the **same language** as the user input (unless the user explicitly requests another language).
|
| 34 |
+
- Prefer **fewer** queries over redundant variants (weather, time, and simple lookups → **one** query).
|
|
|
|
| 35 |
|
| 36 |
### Out-of-scope
|
| 37 |
|
|
|
|
| 190 |
## Limitations and risks
|
| 191 |
|
| 192 |
- **Search query generation only:** Not for chat, summarisation, tool use, or agentic workflows.
|
|
|
|
| 193 |
- **Language:** Must match user language; do not assume parity beyond what the base model supports.
|
| 194 |
- **Distribution shift:** Prompts that omit `<user_input>`, change the instruction wording, or use unrelated tasks can produce unreliable outputs.
|
| 195 |
- **Month/year:** Training randomises month/year; production should inject the **live** date.
|