Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5
fp8
legal
contracts
redlining
agentic
tool-calling
reasoning
long-context
litil
conversational
Run this model with HF Jobs
Run litillabs/LiTiL-One-FP8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/litillabs/LiTiL-One-FP8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/litillabs/LiTiL-One-FP8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/litillabs/LiTiL-One-FP8. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use litillabs/LiTiL-One-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use litillabs/LiTiL-One-FP8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="litillabs/LiTiL-One-FP8") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("litillabs/LiTiL-One-FP8") model = AutoModelForMultimodalLM.from_pretrained("litillabs/LiTiL-One-FP8", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use litillabs/LiTiL-One-FP8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "litillabs/LiTiL-One-FP8" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "litillabs/LiTiL-One-FP8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/litillabs/LiTiL-One-FP8
- SGLang
How to use litillabs/LiTiL-One-FP8 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 "litillabs/LiTiL-One-FP8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "litillabs/LiTiL-One-FP8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "litillabs/LiTiL-One-FP8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "litillabs/LiTiL-One-FP8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use litillabs/LiTiL-One-FP8 with Docker Model Runner:
docker model run hf.co/litillabs/LiTiL-One-FP8
Align model card voice with finalized LiTiL One release paper
Browse files34 unmodified lines35363738394041116 unmodified lines15815916016116216316434 unmodified lines# LiTiL One (27B — FP8)Fine-grained FP8 production weights for [LiTiL One](https://huggingface.co/litillabs/LiTiL-One): a 27B open-weights contracts model that beats frontier giants on finished deal work and runs ~~in a data center~~ on a single GPU or workstation.`30.9 GB FP8 · 256K Context · 149–167 tok/s × 6 ~256K Streams on 1× B300 · 291 tok/s Single Stream · Apache 2.0`116 unmodified linesEvery serious law firm, investment fund, and corporate legal team already owns something no general-purpose API provider can replicate: decades of hard-won deal judgment. Which risks your partners accept, where your fallback lines stop, how a specific counterparty pushes back, and how thousands of past deals actually closed. That institutional memory is what clients pay for.Renting closed APIs puts firms in a bad trade. You send privileged client work outside your network into a generic model that treats every firm’s risk appetite identically, collects a permanent per-token toll, and leaves your practice with zero compounding asset of its own. LiTiL One is the open-weights proof of what our post-training pipeline produces. We partner directly with law firms, enterprise legal departments, and financial institutions to turn their precedent banks, negotiation playbooks, and partner judgment into private evaluation suites, bespoke post-trained models, and sovereign contract agents deployed inside their own infrastructure.- Release paper: [litil.ai/research/litil-one](https://litil.ai/research/litil-one)- Work with LiTiL Labs: [litil.ai/contact](https://litil.ai/contact)34 unmodified lines35363738394041116 unmodified lines15815916016116216316416516634 unmodified lines# LiTiL One (27B — FP8)Fine-grained FP8 production weights for [LiTiL One](https://huggingface.co/litillabs/LiTiL-One): a Pareto frontier contracts model that you can run at home ~~in a data center~~.`30.9 GB FP8 · 256K Context · 149–167 tok/s × 6 ~256K Streams on 1× B300 · 291 tok/s Single Stream · Apache 2.0`116 unmodified linesEvery serious law firm, investment fund, and corporate legal team already owns something no general-purpose API provider can replicate: decades of hard-won deal judgment. Which risks your partners accept, where your fallback lines stop, how a specific counterparty pushes back, and how thousands of past deals actually closed. That institutional memory is what clients pay for.Renting closed APIs puts firms in a bad trade. You send privileged client work outside your network into a generic model that treats every firm’s risk appetite identically, collects a permanent per-token toll, and leaves your practice with zero compounding asset of its own. Our entire mission is focused on one bet, that the future is organizations training, owning, and running specialized models right where their work sits. We believe the future is LiTiL.LiTiL One is the open-weights proof of what our post-training pipeline produces. We partner directly with law firms, enterprise legal departments, and financial institutions to turn their precedent banks, negotiation playbooks, and partner judgment into private evaluation suites, bespoke post-trained models, and sovereign contract agents deployed inside their own infrastructure.- Release paper: [litil.ai/research/litil-one](https://litil.ai/research/litil-one)- Work with LiTiL Labs: [litil.ai/contact](https://litil.ai/contact)
README.md+4-2