MarineSparkLM-4B
A lightweight marine engineering domain language model based on OceanGPT-basic-4B-Instruct that uses two LoRA adapters for domain continued pretraining and instruction fine-tuning respectively, and can be trained and deployed on a single workstation.
Timeline (last 90 days)
MarineSparkLM-4B uses the 4-billion-parameter OceanGPT-basic-4B-Instruct as its base model and trained two independent LoRA adapters.
On a single NVIDIA DGX Spark, training the first adapter took 4 hours 40 minutes, while the second adapter took only 10 minutes.
The first adapter used a next-token prediction task, with a training corpus covering ten engineering topics totaling 61.6 million tokens; the corpus was built from 13,879 source documents, of which 7,069 were retained after deduplication and two-stage keyword filtering.
Over 1,500 training steps, the first adapter's validation loss dropped from 2.082 to 1.976.
When the first adapter was tested directly, the model still drifted off-topic in the face of retrieval-augmented ballast water prompts.
The second adapter was trained on 2,295 question-answer pairs, of which 114 were handwritten and 2,181 were generated by the base model from corpus paragraphs, with loss computed only on answer tokens.
On 20 held-out prompts, humans scored accuracy, topical relevance and specificity on three dimensions (out of 120); the four configurations scored as follows: base model alone 42, continuation adapter 56, instruction adapter 84, and instruction adapter plus retrieval 88.
In a factual question-answering test of 40 questions, 14 were answered correctly without retrieval and 20 with retrieval.
The authors reported two negative results: a keyword-filtering fix that was rolled back, and an instruction training run that overfit within 100 steps.
All Facts (9)
MarineSparkLM-4B uses the 4-billion-parameter OceanGPT-basic-4B-Instruct as its base model and trained two independent LoRA adapters.
50%UnverifiedOn a single NVIDIA DGX Spark, training the first adapter took 4 hours 40 minutes, while the second adapter took only 10 minutes.
50%UnverifiedThe first adapter used a next-token prediction task, with a training corpus covering ten engineering topics totaling 61.6 million tokens; the corpus was built from 13,879 source documents, of which 7,069 were retained after deduplication and two-stage keyword filtering.
50%UnverifiedOver 1,500 training steps, the first adapter's validation loss dropped from 2.082 to 1.976.
50%UnverifiedWhen the first adapter was tested directly, the model still drifted off-topic in the face of retrieval-augmented ballast water prompts.
50%UnverifiedThe second adapter was trained on 2,295 question-answer pairs, of which 114 were handwritten and 2,181 were generated by the base model from corpus paragraphs, with loss computed only on answer tokens.
50%UnverifiedOn 20 held-out prompts, humans scored accuracy, topical relevance and specificity on three dimensions (out of 120); the four configurations scored as follows: base model alone 42, continuation adapter 56, instruction adapter 84, and instruction adapter plus retrieval 88.
50%UnverifiedIn a factual question-answering test of 40 questions, 14 were answered correctly without retrieval and 20 with retrieval.
50%UnverifiedThe authors reported two negative results: a keyword-filtering fix that was rolled back, and an instruction training run that overfit within 100 steps.
50%