Instructions to use AquilaX-AI/NL-JSON-Start-Scan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AquilaX-AI/NL-JSON-Start-Scan with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AquilaX-AI/NL-JSON-Start-Scan")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("AquilaX-AI/NL-JSON-Start-Scan") model = AutoModelForSeq2SeqLM.from_pretrained("AquilaX-AI/NL-JSON-Start-Scan", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AquilaX-AI/NL-JSON-Start-Scan with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AquilaX-AI/NL-JSON-Start-Scan" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AquilaX-AI/NL-JSON-Start-Scan", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AquilaX-AI/NL-JSON-Start-Scan
- SGLang
How to use AquilaX-AI/NL-JSON-Start-Scan 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 "AquilaX-AI/NL-JSON-Start-Scan" \ --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": "AquilaX-AI/NL-JSON-Start-Scan", "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 "AquilaX-AI/NL-JSON-Start-Scan" \ --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": "AquilaX-AI/NL-JSON-Start-Scan", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AquilaX-AI/NL-JSON-Start-Scan with Docker Model Runner:
docker model run hf.co/AquilaX-AI/NL-JSON-Start-Scan
Commit History
-
Upload T5ForConditionalGeneration
Verified signature024ca6b -
Delete config.json
Verified signature5fb42ea -
Delete generation_config.json
Verified signature89c0b30 -
Delete model.safetensors
Verified signature4876ecb -
Update README.md
Verified signature46982d5
-
Upload T5ForConditionalGeneration
Verified signaturefb59825 -
Delete generation_config.json
Verified signaturef7650a2 -
Delete config.json
Verified signature5eb34ce -
Delete model.safetensors
Verified signaturea78a0dd
-
Update README.md
Verified signature1d24604
-
Update README.md
Verified signature452957d -
Update README.md
Verified signature45f315b -
Update README.md
Verified signaturecd3009f -
Update README.md
Verified signature4ab5c71 -
Update README.md
Verified signature67b0869
-
Update README.md
Verified signature5d719dd -
Update README.md
Verified signaturea54432f -
Update README.md
Verified signatured4ff9a4 -
Upload T5ForConditionalGeneration
Verified signature467be1d -
Delete model.safetensors
Verified signatureed4262c -
Delete config.json
Verified signature5e50b91 -
Delete generation_config.json
Verified signature70881a3
-
Update README.md
Verified signaturee59179c -
Upload tokenizer
Verified signaturedd330fe -
Upload T5ForConditionalGeneration
Verified signature5ac1adf -
initial commit
Verified signature3ea2299