We present HVF-SLM, the first language model specifically for maritime intelligence and data. All dataset creation and supervised fine tuning (SFT) was conducted by Hitachi Vantara Federal.
This is the third model produced by HVF for this domain; we previously used the same dataset for both Magistral (v1) and Llama (v2). More info is below. It will also be clear that this model - v3 (Qwen) - is by far the best, and is extraordinarily fast. Even at just 7B parameters, it is directly competing with much larger, more expensive models.
Less is better for domain-specific, mission critical domains.
Third and final iteration in the HVF-SLM AIS research. v3 is based on
Qwen2.5-7B.
This model successfully addresses the critical failures of v1-magistral and v2-llama, demonstrating extraordinary vessel extraction and maritime calculations without hallucination, even when provided with 100k+ tokens of structured AIS JSON data.
We highly recommend using the following settings for inference. In our case, we use
vLLM.
1payload={
2 "model": "hvf-slm-qwen",
3 "prompt": full_prompt,
4 "max_tokens": 2500,
5 "temperature": 0.7,
6 "top_p": 0.9,
7 "stop": ["<|im_end|>", "<|im_start|>"]
8},
After v1-magistral's complete failure and v2-llama's hallucination issues, v3-qwen succeeds due to:
Part of the HVF-SLM research series documenting iterative improvements in maritime AI. Full citation available upon publication.