--- license: apache-2.0 base_model: Qwen/Qwen3-0.6B base_model_relation: finetune language: - en library_name: gguf pipeline_tag: text-classification datasets: - bengsoon/volve_daily_drilling_report tags: - gguf - llama.cpp - drilling - oil-and-gas - text-classification - offline --- # FieldMind classifiers Two small classifiers for daily drilling report entries, fine-tuned from Qwen3-0.6B (0.6 billion parameters) and converted to GGUF Q8_0 for llama.cpp. They are the models of [FieldMind](https://github.com/My-Hackathon-Projects/fieldmind), which labels drilling report entries and answers questions about past reports fully offline, on a laptop and in the phone's browser. | File | Task | Output | SHA-256 | | --- | --- | --- | --- | | `fm-activity-q8_0.gguf` | Activity code of an entry | one of 16 labels, such as `drilling_trip` or `interruption_repair` | `bb362a1634046cfbc28e9ca79f0b3d7a69692007ea720a309844159097054ad8` | | `fm-problem-q8_0.gguf` | Whether the entry belongs to a problem | `problem` or `ok` | `994f65799f742eea7227bcb3faee1c14bc9d0c978715c6ca10dd4543189efd39` | Each file is 639,446,880 bytes (610 MiB). ## Training - **Data.** Volve daily drilling reports: 22,528 crew-labelled entries after cleaning, split by whole wells. 19,490 entries from the training wells; 3,038 from the test wells F-10 and F-11 (with its sidetracks), which no model trained on. Each entry is read with the two entries before it in the same report. - **Labels.** The crews' own activity codes, mapped to 16 labels, and the crews' own problem flags. - **Platform.** [distil labs](https://www.distillabs.ai), with GLM-5.3 (low thinking) as teacher. distil labs trains a LoRA adapter (rank 64, attention query and value projections), which is merged into Qwen3-0.6B, converted to F16 GGUF and quantised to Q8_0. - **Activity model.** Every real training entry plus 500 teacher-written rows (19,990 rows). - **Problem model.** Every real training entry (19,490 rows). It never saw a teacher-written row. ## Results Scored against the crews' own labels on the test wells, with these Q8_0 files on a laptop. Brackets are 95% bootstrap intervals. MCC is the Matthews correlation coefficient: 0 for any constant or random guess, 1 for perfect. **On the 2,638 test-well entries that informed no choice.** These are the clean figures. | Method | Activity accuracy | Activity macro-F1 | Problem MCC | | --- | --- | --- | --- | | Qwen3-0.6B before training | 0.331 [0.313, 0.349] | 0.092 | 0.014 [-0.024, 0.046] | | TF-IDF and logistic regression | 0.562 [0.543, 0.580] | 0.527 | 0.347 [0.293, 0.401] | | **These models** | **0.605 [0.588, 0.623]** | **0.578** | **0.395 [0.339, 0.450]** | **Against the teacher and large models, on the other 400 test-well entries.** distil labs scores on this fixed sample, and the choices of teacher prompt, synthetic top-up and student size followed those scores. No model trained on these rows, but read the figures as optimistic. They are the only rows the teacher and the cloud models were scored on, all zero-shot with the same prompt. | Method | Activity accuracy | Problem MCC | | --- | --- | --- | | Qwen3-0.6B before training | 0.325 [0.280, 0.375] | -0.028 [-0.144, 0.072] | | GLM-5.3, the teacher (mean of 2 runs) | 0.505 | 0.271 | | GPT-6.1 Terra | 0.520 [0.470, 0.573] | 0.293 [0.184, 0.405] | | Kimi K3.1 Pro | 0.495 [0.445, 0.545] | 0.350 [0.231, 0.455] | | **These models** | **0.655 [0.608, 0.700]** | **0.351 [0.186, 0.488]** | The activity model beats every large model, by +0.135 [+0.083, +0.188] over GPT-6.1 Terra (exact McNemar p = 1.1e-6). The problem model ties the best of them, with higher precision. **Problem events.** Crews flag a whole stretch of time, so the problem model is also scored per event, on all 3,038 test-well entries (131 crew problem events over 244 report-days): | Detector | Events caught | False-alarm events per report-day | | --- | --- | --- | | Problem model alone, probability at least 0.5 | 83 of 131 (63%) [55%, 72%] | 0.193 [0.135, 0.258] | | Problem model alone, probability at least 0.25 | 89 of 131 (68%) [60%, 76%] | 0.303 [0.234, 0.377] | | FieldMind's alert: probability at least 0.25, or a curated safety term | 93 of 131 (71%) [63%, 79%] | 0.488 [0.389, 0.586] | **On the laptop.** One request at a time: activity median 43 ms, problem median 29 ms, on an Apple M5 Pro. The Q8_0 files keep the F16 label on 97.0% of activity rows and every problem row, and agree with distil labs' own predictions on 90.0% (activity) and 98.75% (problem) of the 400 rows; neither difference in accuracy is significant. Method, intervals and every comparison: [Dataset and models](https://github.com/My-Hackathon-Projects/fieldmind/blob/main/docs/DATASET_AND_MODELS.md). Every number is recomputed by `make evaluate` into [results/metrics.json](https://github.com/My-Hackathon-Projects/fieldmind/blob/main/results/metrics.json), and every file in the build chain is recorded by sha256 in [distil/provenance.json](https://github.com/My-Hackathon-Projects/fieldmind/blob/main/distil/provenance.json). ## Use The models only perform as evaluated with the exact system prompt they were trained with: the `task_description` in `distil/activity/job_description.json` and `distil/problem/job_description.json` in the GitHub repository. The user message must follow the training format, with up to two earlier entries from the same report, oldest first: ```text Earlier entries in this report: 1. 2. Entry to classify: ``` Write `none` in place of the numbered lines when there are no earlier entries. FieldMind takes the most likely label under a grammar that allows only the labels, and reads the problem probability against the threshold in `config/problem_threshold.json`. The easiest way to run the models is FieldMind itself, which builds the prompts and serves both files with llama-server. ## Limits - **One field, one convention.** All data is from Volve. The problem model learned the Volve crews' convention, which logs many overpulls and kicks as ok; FieldMind's safety terms complement it. - **Optimistic 400-row figures.** They guided choices; the 2,638-entry figures are the clean ones. - **Noisy labels.** A one-reader review found the crew's activity code plainly wrong on about 4% of 50 random test entries. - **In-sample threshold.** The 0.25 problem threshold was chosen on training wells the model had seen. - **Labels can be steered by the text.** An instruction written into an entry changed the label in 2 of 10 crafted entries for each classifier. The answer always stays inside the label set. ## Licence and credit The weights are released under Apache 2.0, the licence of the Qwen3-0.6B base model. Training data: Volve data (c) Equinor and the Volve licence partners, licensed under the [Equinor Open Data Licence](https://www.equinor.com/en/energy/volve-data-sharing), through the Hugging Face dataset [bengsoon/volve_daily_drilling_report](https://huggingface.co/datasets/bengsoon/volve_daily_drilling_report), whose card lists CC BY 4.0. The data may not be sold.