3DOnt NL-2-SPARQL parser — small (2B), MLX 4-bit
Qwen/Qwen3.5-2B fine-tuned with LoRA (rank 16, 1 epoch) on the NL-2-SPARQL dataset of 3DOnt (original questions + generated new logical structures + about 10,000 hand-written questions + 1,385 hand-written questions with implicit relationships): it parses a natural-language question about a 3D point cloud and its ontology into the five lists L1..L5 that the NL-2-SPARQL library of the 3DGraphExplorer turns into SPARQL.
System prompt (as in training): You will receive a natural language query by the user. you just have to parse it. do not say anything else.
Chat template of the base model with thinking disabled (enable_thinking=False).
Repositories: 3DOMFBK/3dont-nl2sparql-small (Hugging Face format), 3DOMFBK/3dont-nl2sparql-small-mlx (MLX 4-bit,
3DGraphExplorer on Apple Silicon), 3DOMFBK/3dont-nl2sparql-small-MLC (WebGPU q4f16_1, online demo).
- Downloads last month
- 22