Text Generation
Transformers
PyTorch
English
Māori
m2m_100
text2text-generation
abteex-ai-labs
aotearoa
languages
local-first
lumynax
new-zealand
nllb
sovereign-ai
te-reo
translation
vllm
vllm-compatible
vllm-candidate
nvidia-nim
nim-compatible
nim-candidate
nvidia-nemo
nem
nvidia-nemo-compatible
nem-compatible
nemo-candidate
Instructions to use AbteeXAILab/lumynax-translate-nllb-200-3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AbteeXAILab/lumynax-translate-nllb-200-3b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AbteeXAILab/lumynax-translate-nllb-200-3b")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("AbteeXAILab/lumynax-translate-nllb-200-3b") model = AutoModelForMultimodalLM.from_pretrained("AbteeXAILab/lumynax-translate-nllb-200-3b") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AbteeXAILab/lumynax-translate-nllb-200-3b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AbteeXAILab/lumynax-translate-nllb-200-3b" # 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-translate-nllb-200-3b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AbteeXAILab/lumynax-translate-nllb-200-3b
- SGLang
How to use AbteeXAILab/lumynax-translate-nllb-200-3b 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-translate-nllb-200-3b" \ --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-translate-nllb-200-3b", "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-translate-nllb-200-3b" \ --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-translate-nllb-200-3b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AbteeXAILab/lumynax-translate-nllb-200-3b with Docker Model Runner:
docker model run hf.co/AbteeXAILab/lumynax-translate-nllb-200-3b
| 601956b52f7e59484c150ec4b1e9b1186adc331bf92c4a7127834ba2ff70a968 LICENSE.txt | |
| d0b4f9120ba026c00fa23cb84b4e1620a2e6436592e58155a5151653179572c0 VERSION.txt | |
| 617636e393c88b6aaf6869276149e1f917a376bb4480e87d88351b2e93537c31 ollama/Modelfile | |
| b78bf971207a51c9d6cbeeddd5dec67f3e64007b5561bea060fa1ba7747c0c66 quickstart.py | |
| a35821bafbf1296fcbafd281abec6780b493d9957525ec81e877c1f9f87f1502 release_export_manifest.json | |
| dd873da1e34bee536b535b05ffe41bbeeacaa9d106db9463ae0f4abe2f07dff8 requirements.txt | |
| f4ecbdb6b316cb5296d872b78a0631208b2fc92a3293f9123558622d8ccf2a9f README.md | |
| 85cde000eaf4ee5276786313308ed24743bce35d2d154aa43937ecbb13896bc8 docs/lumynax-release-overview.svg | |
| 434ab8998d36a24b292d5b1bf14d461a729382e8479332bc4bc6dc42603a4798 docs/lumynax-runtime-flow.svg | |