Text Generation
Transformers
GGUF
English
recommendation
media-server
plex
jellyfin
structured-output
qwen3
conversational
Run this model with HF Jobs
Run KernelMedia/marquee-ai on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/KernelMedia/marquee-ai. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/KernelMedia/marquee-ai on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/KernelMedia/marquee-ai. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use KernelMedia/marquee-ai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KernelMedia/marquee-ai with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="KernelMedia/marquee-ai")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("KernelMedia/marquee-ai", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use KernelMedia/marquee-ai with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf KernelMedia/marquee-ai:Q6_K # Run inference directly in the terminal: llama cli -hf KernelMedia/marquee-ai:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf KernelMedia/marquee-ai:Q6_K # Run inference directly in the terminal: llama cli -hf KernelMedia/marquee-ai:Q6_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf KernelMedia/marquee-ai:Q6_K # Run inference directly in the terminal: ./build/bin/llama cli -hf KernelMedia/marquee-ai:Q6_K
Use Docker
docker model run hf.co/KernelMedia/marquee-ai:Q6_K
- Llama new
- LM Studio
- Jan
- vLLM
How to use KernelMedia/marquee-ai with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KernelMedia/marquee-ai" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KernelMedia/marquee-ai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/KernelMedia/marquee-ai:Q6_K
- SGLang
How to use KernelMedia/marquee-ai with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "KernelMedia/marquee-ai" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KernelMedia/marquee-ai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "KernelMedia/marquee-ai" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KernelMedia/marquee-ai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use KernelMedia/marquee-ai with Ollama:
ollama run hf.co/KernelMedia/marquee-ai:Q6_K
- Unsloth Desktop
- Pi
How to use KernelMedia/marquee-ai with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KernelMedia/marquee-ai:Q6_K
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "KernelMedia/marquee-ai:Q6_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use KernelMedia/marquee-ai with Docker Model Runner:
docker model run hf.co/KernelMedia/marquee-ai:Q6_K
- Lemonade
How to use KernelMedia/marquee-ai with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull KernelMedia/marquee-ai:Q6_K
Run and chat with the model
lemonade run user.marquee-ai-Q6_K
List all available models
lemonade list
- Hermes Agent
How to use KernelMedia/marquee-ai with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KernelMedia/marquee-ai:Q6_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default KernelMedia/marquee-ai:Q6_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use KernelMedia/marquee-ai with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KernelMedia/marquee-ai:Q6_K
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "KernelMedia/marquee-ai:Q6_K" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update model card: Q6_K (fixes tool_call corruption), full-precision training, corrected specs
Browse files6 unmodified lines78910111213141511 unmodified lines2728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576776 unmodified lines848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732746 unmodified linespipeline_tag: text-generation---# Marquee-4B**Release v1.0** · contract v1 · base Qwen3-4B-Instruct-2507Turns one item in a media library into Plex-style rows of other items in **that samelibrary**. Built for self-hosted media servers.11 unmodified lines## Read this before downloading the weights**The model alone does nothing useful.** It decides *which* rows to show, their order,and what to call them. It does not choose what goes in them — a retriever does, byjoining your library on shared cast, crew and franchise, and by embedding similarity.The model never even sees item ids. It answers with **index references** into candidatesit was handed, so it cannot invent a title that isn't in your library. Hallucinationisn't low here, it's structurally impossible.Ship both halves:```bashpip install marquee-ai```## Requirements| | ||---|---|| VRAM | **~3.5 GB** (Q4_K_M at 6144 context). Runs on a 4GB card, or CPU. || RAM | ~2.2 GB for a 120k-title catalog index || Disk | 2.4 GB model + ~200 MB catalog + ~190 MB embeddings || Latency | ~1s per request on an RTX 3060; cached responses are instant |## Quickstart```bashpip install marquee-aihf download KernelMedia/marquee-ai --local-dir marqueecd marquee && ollama create marquee -f Modelfilemarquee serve --library catalog.jsonl --port 8080```The catalog ships with the model: ~122,000 films and shows with full cast and crew, andprecomputed embeddings.### Your server's export formatOne JSON object per line. Only `tmdb_id` and `media_type` are required:```json{"id": "myserver-04471", "tmdb_id": 335984, "media_type": "movie"}```Include `id` and recommendations come back keyed in your own namespace, so no lookuptable is needed. Anything whose `tmdb_id` is missing from the harvest is **fetched fromTMDB on demand at ingest**, so coverage is complete regardless of how you filtered.## API6 unmodified lines```json{"seed": {"id": "tmdb:tv:1398", "title": "The Sopranos", "year": 1999,"media_type": "tv", "rating": 8.7, "owned": true},"rows": [{"type": "thematic", "title": "Shows like The Sopranos","items": [{"id": "tmdb:tv:31050", "title": "The Last Don", "year": 1997,"media_type": "tv", "rating": 7.1, "owned": true},{"id": "tmdb:tv:12822", "title": "The Octopus", "year": 1984,"media_type": "tv", "rating": 7.8, "owned": true}]},{"type": "director", "title": "More from Tim Van Patten","items": [{"id": "tmdb:tv:1399", "title": "Game of Thrones", "year": 2011,"media_type": "tv", "rating": 8.5, "owned": true},{"id": "tmdb:tv:1438", "title": "The Wire", "year": 2002,"media_type": "tv", "rating": 8.6, "owned": true}]}]}```Body fields: `seed_id` **or** `title`, plus optional `year`, `media_type`, `row_size`(items per row), `owned_only`, `semantic_k`.Rows arrive in a fixed order — thematic, franchise, director, cast, crew — so a UI canrender them top to bottom without sorting.An ambiguous title returns **409** with the candidates rather than guessing:```json{"error": "5 items match 'Godzilla'; pass seed_id, or narrow with year/media_type","matches": [{"id": "tmdb:movie:124905", "title": "Godzilla", "year": 2014, "media_type": "movie"},{"id": "tmdb:movie:929", "title": "Godzilla", "year": 1998, "media_type": "movie"},{"id": "tmdb:movie:1678", "title": "Godzilla", "year": 1954, "media_type": "movie"}]}````{"title": "Godzilla", "year": 2014}` or `{"title": "Godzilla (2014)"}` resolves it.### `GET /search?q=`Matches titles **and** people, because "Scorsese" is not a title but has 109 credits.```bashcurl 'localhost:8080/search?q=Scorsese&limit=3'``````json{"query": "Scorsese","titles": [{"id": "tmdb:tv:292130", "title": "Mr. Scorsese", "year": 2025,"media_type": "tv", "rating": 8.1, "owned": true}],"people": [{"key": "tmdb:person:1032", "name": "Martin Scorsese","roles": {"director": 47, "actor": 50, "writer": 12}, "credits": 109}],"count": 6}````kind=title` or `kind=person` narrows it. Names are matched loosely: `samuel l jackson`,`Jackson Samuel` and `Inarritu` all resolve.### `GET /person?name=`Everything someone is credited on, films and shows in one list, best first.```bashcurl 'localhost:8080/person?name=Roger%20Deakins&limit=3'``````json{"person": "Roger Deakins","count": 3,"credits": [{"id": "tmdb:movie:278", "title": "The Shawshank Redemption", "year": 1994,"media_type": "movie", "rating": 8.7, "score": 8.66, "votes": 31061,"owned": true, "roles": ["cinematographer"]},{"id": "tmdb:movie:146233", "title": "Prisoners", "year": 2013,"media_type": "movie", "rating": 8.1, "score": 8.04, "votes": 13352,"owned": true, "roles": ["cinematographer"]}]}````score` is what the ranking uses: the raw rating damped toward the catalog mean by votecount, so an 8.2 from 600 votes sits below a 7.6 from 4,300. Someone who both directedand wrote a title appears once with both roles.Options: `media_type`, `owned_only`, `limit`, `by_role=true` for per-role shelves.### `GET /health````json{"status": "ok","contract_version": 1,"model_self_test": {"passed": true, "detail": "contract v1 OK (3/3 clean)"},"cache": {"entries": 0, "hits": 0, "misses": 0, "max": 2048},"library_items": 121727,"owned": 121727,"requestable": 0,"model": "marquee","backend": "http://localhost:11434/v1"}````status` is `degraded` if the self-test fails — the model and package disagree, or thechat template is wrong.### `DELETE /cache`Responses are cached per seed. Call this after a library rescan or you will serve rowsreferring to items you no longer have.`/search` and `/person` are index lookups with no model call, so they are instant. Only`/recommend` uses the GPU.## Evaluation50 unseen holdout examples, run through plain `transformers.generate` with **no grammarconstraint**, so this measures the weights rather than a decoder forcing shape.| Metric | Base Qwen3-4B | **Marquee-4B** ||---|---|---|| JSON parses | 100% | 100% || Fully contract-clean | 20% | **100%** || Row-order violations | 16% | **0%** || Hallucinated ids | 2.0% | **0.0%** |**What this win is, honestly:** format discipline, not taste. Run the base model andthis one on the same seed and the row *contents* are near-identical, because theretriever picks the items either way. What the fine-tune buys is output a server canparse and trust every time rather than one time in five. It does not make therecommendations smarter — that lives in the retriever.## Training- **Base**: Qwen3-4B-Instruct-2507, QLoRA r=16, lr 2e-4, 1 epoch- **Data**: 3,683 examples generated by Qwen3-8B-AWQ over ~5k TMDB titles, normalisedby a deterministic repair pass. 0.4% rejected.- **Hardware**: one RTX 3060 12GB, 3h16m, 6.5 GB peak VRAMTargets are ~30 tokens: the model emits index references, not item lists. An earlierrevision had it write out every id, which was 57% of its output and bought nothing.## Limitations- **Thematic rows are the weakest part.** They come from `bge-small` embeddings blendedwith keyword and genre overlap. Plot-generic tags can still pull in a loose match.This is fixed in the retriever, not here.- **Same-medium only.** A show returns shows, a film returns films.- **Library-size sensitive.** Rows thin out on small catalogs; a director with one othercredit present gets no row. That is deliberate — no padding.- **Movies and TV only.** Music and audiobook row types exist in the contract but areuntested.- **English metadata.**## ⚠️ GGUF: the chat template is not optionalOllama will not use the Jinja template embedded in GGUF metadata and falls back to abare `{{ .Prompt }}` passthrough. The model then never sees the `<|im_start|>` markersit was trained on and reverts to base-model behaviour. The supplied `Modelfile` carriesan explicit ChatML `TEMPLATE` block. **Do not remove it.**`temperature` must stay low. Measured over 8 seeds without a grammar: t=0.1 gave 8/8clean, t=0.3 gave 5/8. The Modelfile ships 0.1.Verify any deployment by calling it **without** a JSON schema. A working fine-tune emitsvalid contract JSON unprompted; if it only works with a grammar forcing the shape, thetemplate is wrong. `marquee serve` runs this check at startup.## DataYou harvest TMDB yourself with your own free key — no catalog is distributed here.TMDB's API is free for non-commercial use and requires attribution; commercial useneeds a written agreement with them.**Not used:** IMDb (licence is non-transferable and non-sublicensable, with noderivative-use grant) and Rotten Tomatoes (no public API).## LicenceApache-2.0, inherited from Qwen3-4B-Instruct-2507.6 unmodified lines78910111213141511 unmodified lines2728293031323334353637383940414243444546474849505152535455565758596061626364656667686 unmodified lines757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812826 unmodified linespipeline_tag: text-generation---# Marquee**v1.1** · contract v1 · base Qwen3-4B-Instruct-2507Turns one item in a media library into Plex-style rows of other items in **that samelibrary**. Built for self-hosted media servers.11 unmodified lines## Read this before downloading the weights**The model alone does nothing useful.** It decides *which* rows to show, their order,and what to call them. It does not choose what goes in them -- a retriever does, byjoining your library on shared cast, crew and franchise, and by embedding similarity.The model never even sees item ids. It answers with **index references** intocandidates it was handed, so it cannot invent a title that isn't in your library.Hallucination isn't low here, it's structurally impossible.```bashpip install marquee-ai```## Download```bashhf download KernelMedia/marquee-ai --local-dir marqueecd marquee && ollama create marquee -f Modelfile```~3.6 GB: the model plus a catalog of ~195,000 films and shows with full cast and crew.## Requirements| | ||---|---|| VRAM | **~4.7 GB** (Q6_K at 6144 context). Runs on a 6GB card, or CPU. || RAM | ~2.5 GB for the 195k-title catalog index || Disk | ~3.3 GB model + ~240 MB catalog + ~300 MB embeddings || Latency | ~1s per request on an RTX 3060; cached responses are instant |## Quickstart```bashmarquee serve --library catalog.jsonl --port 8080```That's the whole setup -- catalog and embeddings ship precomputed.## API6 unmodified lines```json{"seed": {"id": "wd:Q23628", "title": "The Sopranos", "year": 1999,"media_type": "tv", "rating": 0.0, "owned": true},"rows": [{"type": "thematic", "title": "Shows like The Sopranos","items": [{"id": "wd:Q...", "title": "Gomorrah", "year": 2014,"media_type": "tv", "owned": true},{"id": "wd:Q...", "title": "Boardwalk Empire", "year": 2010,"media_type": "tv", "owned": true}]},{"type": "director", "title": "More from Tim Van Patten","items": [{"id": "wd:Q...", "title": "Game of Thrones", "year": 2011,"media_type": "tv", "owned": true}]}]}```Body: `seed_id` **or** `title`, plus optional `year`, `media_type`, `row_size`,`owned_only`, `semantic_k`. Rows arrive in a fixed order -- thematic, franchise,director, cast, crew.An ambiguous title returns **409** with the candidates rather than guessing. A catalogthis size holds many remakes sharing a bare title:```json{"error": "22 items match 'Macbeth'; pass seed_id, or narrow with year/media_type","matches": [{"id": "wd:Q15934383", "title": "Macbeth", "year": 2015, "media_type": "movie"},{"id": "wd:Q2573008", "title": "Macbeth", "year": 1951, "media_type": "movie"}]}````{"title": "Macbeth", "year": 2015}` or `{"title": "Macbeth (2015)"}` resolves it.### `GET /metadata` and `POST /metadata/batch`Full catalog record for one item, or up to 500 in one call. Pure index lookups -- nomodel, no GPU. Look up by `id`, `tmdb_id`, `imdb_id` (all exact), or `title` (fuzzy,can be ambiguous like `/recommend`).```bashcurl 'localhost:8080/metadata?tmdb_id=335984'``````json{"id": "wd:Q21500755", "title": "Blade Runner 2049", "media_type": "movie","year": 2017, "genres": ["cyberpunk", "dystopian film", "neo-noir"],"people": [{"name": "Denis Villeneuve", "role": "director"},{"name": "Roger Deakins", "role": "cinematographer"}],"summary": "Blade Runner 2049 is a 2017 American science fiction film...","franchise": "Blade Runner", "runtime_min": 164,"country": "United Kingdom", "language": "English","external": {"wikidata": "Q21500755", "tmdb": "335984", "imdb": "tt1856101"}}``````bashcurl -X POST localhost:8080/metadata/batch -H 'Content-Type: application/json' -d '{"queries": [{"tmdb_id": 335984}, {"imdb_id": "tt0141842"}]}'```Every query gets a result in the order sent -- found, ambiguous with candidates, ornot found -- so you can zip the response against your input.### `GET /search?q=` and `GET /person?name=``/search` matches titles **and** people in one call -- "Scorsese" isn't a title but has109 credits. `/person` returns everything someone worked on, films and shows together,ranked by a popularity-weighted score, deduplicated across roles. Both are indexlookups, no model call.```bashcurl 'localhost:8080/person?name=Roger%20Deakins&limit=3'``````json{"person": "Roger Deakins", "count": 3, "credits": [{"id": "wd:...", "title": "The Shawshank Redemption", "year": 1994,"score": 8.66, "roles": ["cinematographer"]}]}````score` is what ranking actually uses -- popularity-weighted, so a well-known filmoutranks an obscure one even without a raw rating to sort by.### `GET /health` and `DELETE /cache````json{"status": "ok", "contract_version": 1,"model_self_test": {"passed": true, "detail": "contract v1 OK (3/3 clean)"},"library_items": 194509, "owned": 194509, "requestable": 0}````status` is `degraded` if the self-test fails -- model and package disagree, or thechat template is wrong. Recommendations are cached per seed; call `DELETE /cache`after a library rescan or you'll serve rows referring to items you no longer have.## Restricting results to your own library (optional)By default it recommends from the whole catalog. To mark what's actually on yourserver, so a UI can show a Request button on the rest:```bashmarquee ingest --server library.jsonl --catalog catalog.jsonl \--out lib.jsonl --mode requestablemarquee serve --library lib.jsonl```Your export needs one line per item; `tmdb_id` and `media_type` are enough:```json{"id": "myserver-04471", "tmdb_id": 335984, "media_type": "movie"}```## Evaluation50 unseen holdout examples, run through plain `transformers.generate` with **nogrammar constraint**, on the unmerged adapter -- so this measures the weights, not adecoder forcing shape, and not the quantization the GGUF ships with.| Metric | Base Qwen3-4B | **Marquee** ||---|---|---|| JSON parses | -- | **100%** || Fully contract-clean | -- | **100%** || Hallucinated ids | -- | **0.0%** || Row-order violations | -- | **0%** |That number does not carry over unchanged to the shipped GGUF: merging a LoRA adapterand quantizing it are both lossy steps this harness doesn't exercise. Measuredend-to-end through actual Ollama serving (20 held-out seeds, real greedy decoding) --**Q6_K: 19/20 clean.** See Limitations below for what pushed us to Q6_K over a smallerquant.**What this is, honestly:** the fine-tune buys format discipline, not taste. Theretriever picks every item; the model decides which rows to show and writes one rowtitle. It does not make recommendations smarter on its own -- that lives in theretriever's embeddings and joins.## Training- **Base**: Qwen3-4B-Instruct-2507, full-precision LoRA (bf16 base, not QLoRA) r=16,lr 2e-4, 1 epoch, 3,684 examples- **Data**: generated by Qwen3-8B-AWQ over the catalog below, normalised by adeterministic repair pass. 0.4% rejected.- **Hardware**: one RTX 3060 12GB, ~2h48m, 10.2 GB peak VRAM- **Targets are ~30 tokens**: the model emits index references, not item lists- **Why full precision, not QLoRA**: a QLoRA adapter is calibrated against its 4-bitbase's numerical behaviour. Merging it into full-precision weights for GGUF exportbakes in a dequantized representation the adapter never saw, which destabilized thismodel badly enough to periodically emit `<tool_call>` instead of JSON. Trainingdirectly on real bf16 weights removes that mismatch.## Limitations- **Thematic rows are the weakest part.** Built from `bge-small` embeddings blendedwith keyword and genre overlap; ~31% of the catalog has no plot summary to embed,so those titles lean on genre/subject tags alone.- **Franchise coverage is thin (~2%)** compared to a TMDB-sourced catalog -- seriesmembership is sparse in the source data.- **Same-medium only.** A show returns shows, a film returns films.- **Library-size sensitive.** A director with one other credit present gets no row.Deliberate -- no padding.- **Movies and TV only.** English metadata.- **No poster/image data.** The catalog is text and structured facts only; nothing init or the API returns image URLs. Pull artwork from your media server, or fromTMDB/Fanart yourself using the `external.tmdb`/`external.imdb` ids in `/metadata`.## ⚠️ GGUF: the chat template is not optionalOllama will not use the Jinja template embedded in GGUF metadata and falls back to abare `{{ .Prompt }}` passthrough, so the model never receives the `<|im_start|>`markers it was trained on and reverts to base-model behaviour. The supplied`Modelfile` carries an explicit ChatML `TEMPLATE` block. **Do not remove it.**Two things degrade output independently, and both are already handled in the shippedModelfile/GGUF:- `temperature` must stay low -- 0.1 gave 8/8 clean over 8 test seeds without agrammar, 0.3 gave 5/8. The Modelfile ships 0.1.- **Don't requantize below Q6_K.** llama.cpp's Q4_K_M rounding alone -- independent oftemperature, independent of the LoRA-merge issue above -- was enough to collapsethis model into repeating `<tool_call>` tokens instead of JSON on most requests(1/20 clean vs Q6_K's 19/20, same weights, same greedy decoding, only the quantlevel changed). Q6_K is the smallest quant confirmed clean.Verify any deployment by calling it **without** a JSON schema. A working fine-tuneemits valid contract JSON unprompted. `marquee serve` runs this check at startup.## DataThe catalog is built entirely from **Wikidata** (CC0) and **Wikipedia** (plotsummaries, embedded then discarded -- never redistributed as text, so CC BY-SA'sshare-alike terms are never triggered). No TMDB data is shipped or was used intraining.**Not used:** TMDB (API terms prohibit ML training and third-party redistribution ofcached content), IMDb (non-transferable, non-sublicensable licence), Rotten Tomatoes(no public API).## LicenceApache-2.0, inherited from Qwen3-4B-Instruct-2507. Catalog: CC0.
README.md+154-146