Instructions to use arise-sustech/llm4decompile-6.7b-uo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arise-sustech/llm4decompile-6.7b-uo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="arise-sustech/llm4decompile-6.7b-uo")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("arise-sustech/llm4decompile-6.7b-uo") model = AutoModelForMultimodalLM.from_pretrained("arise-sustech/llm4decompile-6.7b-uo") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use arise-sustech/llm4decompile-6.7b-uo with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "arise-sustech/llm4decompile-6.7b-uo" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "arise-sustech/llm4decompile-6.7b-uo", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/arise-sustech/llm4decompile-6.7b-uo
- SGLang
How to use arise-sustech/llm4decompile-6.7b-uo 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 "arise-sustech/llm4decompile-6.7b-uo" \ --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": "arise-sustech/llm4decompile-6.7b-uo", "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 "arise-sustech/llm4decompile-6.7b-uo" \ --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": "arise-sustech/llm4decompile-6.7b-uo", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use arise-sustech/llm4decompile-6.7b-uo with Docker Model Runner:
docker model run hf.co/arise-sustech/llm4decompile-6.7b-uo
- Xet hash:
- 5125faeb63f0662d69119914a24e9ec132917bef0094fe8182e6e7b6fb4dd0cc
- Size of remote file:
- 9.98 GB
- SHA256:
- 31ac2b5e7fe9a95e43cc231723fe5e759d511cdc39643a8437c3cbf9a7aca0f5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.