Text Generation
Transformers
PyTorch
Safetensors
English
Māori
layoutlmv3
abteex-ai-labs
aotearoa
doc-ai
layout
layoutlm
local-first
lumynax
new-zealand
sovereign-ai
legacy
outdated
Instructions to use AbteeXAILab/lumynax-doc-layoutlmv3-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AbteeXAILab/lumynax-doc-layoutlmv3-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AbteeXAILab/lumynax-doc-layoutlmv3-base")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AbteeXAILab/lumynax-doc-layoutlmv3-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AbteeXAILab/lumynax-doc-layoutlmv3-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AbteeXAILab/lumynax-doc-layoutlmv3-base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AbteeXAILab/lumynax-doc-layoutlmv3-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AbteeXAILab/lumynax-doc-layoutlmv3-base
- SGLang
How to use AbteeXAILab/lumynax-doc-layoutlmv3-base 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 "AbteeXAILab/lumynax-doc-layoutlmv3-base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AbteeXAILab/lumynax-doc-layoutlmv3-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "AbteeXAILab/lumynax-doc-layoutlmv3-base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AbteeXAILab/lumynax-doc-layoutlmv3-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AbteeXAILab/lumynax-doc-layoutlmv3-base with Docker Model Runner:
docker model run hf.co/AbteeXAILab/lumynax-doc-layoutlmv3-base
feat: initial LumynaX scaffold (card v6 + quickstart + manifest + Modelfile + Space scaffold)
8de8952 verified | LumynaX release package — distribution scaffold | |
| This Hugging Face repository contains the LumynaX release scaffold for the | |
| upstream model identified in `release_export_manifest.json`. The model weights | |
| themselves remain governed by the upstream licence at `metadata.upstream_repo` | |
| and are fetched by the runtime via Hugging Face Hub when you execute | |
| `quickstart.py`. | |
| The scaffold (configs, manifest, quickstart, ollama Modelfile, Space app) is | |
| released under the MIT licence by AbteeX AI Labs (Aotearoa New Zealand). Your | |
| use of the *upstream weights* is governed by the *upstream licence*; this file | |
| does not relicense them. | |
| Provenance, residency and audit obligations are defined in | |
| `release_export_manifest.json` and the model card. | |