Instructions to use appvoid/linear with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use appvoid/linear with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="appvoid/linear")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("appvoid/linear", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use appvoid/linear with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "appvoid/linear" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "appvoid/linear", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/appvoid/linear
- SGLang
How to use appvoid/linear 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 "appvoid/linear" \ --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": "appvoid/linear", "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 "appvoid/linear" \ --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": "appvoid/linear", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use appvoid/linear with Docker Model Runner:
docker model run hf.co/appvoid/linear
Commit History
6 days ago
-
Latest step 590000
Verified signature51e4c77 -
Latest step 588000
Verified signature5ed05ca -
Latest step 586000
Verified signature816225e -
Latest step 584000
Verified signaturecf63681 -
Latest step 582000
Verified signature40ca639 -
Latest step 580000
Verified signaturea113f80 -
Latest step 578000
Verified signature037e523 -
Latest step 576000
Verified signature836efe0 -
Latest step 574000
Verified signature8df545c -
Latest step 572000
Verified signatureddddb7a -
Latest step 570000
Verified signaturee2b5dab -
Latest step 568000
Verified signaturee90a4a1 -
Latest step 566000
Verified signature6005450 -
Latest step 564000
Verified signature92a61de -
Latest step 562000
Verified signature97a628c -
Latest step 560000
Verified signature2757322 -
Latest step 558000
Verified signature69f7e49 -
Latest step 556000
Verified signature8ddd200 -
Latest step 554000
Verified signatureb0909ef -
Latest step 552000
Verified signature87f3488 -
Latest step 550000
Verified signatured06a1b8 -
Latest step 548000
Verified signatured47b0d8 -
Latest step 546000
Verified signaturea800456 -
Latest step 544000
Verified signature29bf77f -
Latest step 542000
Verified signature7ee384e -
Latest step 540000
Verified signature03ef4a9 -
Latest step 538000
Verified signature3e1fb90
7 days ago
-
Latest step 514000
Verified signatureefd7a99 -
Latest step 512000
Verified signature8f8dcd5 -
Latest step 510000
Verified signaturee9125ab -
Latest step 508000
Verified signaturea258293 -
Latest step 506000
Verified signature4f45f45 -
Latest step 504000
Verified signature7461b16 -
Latest step 502000
Verified signature734cea5 -
Latest step 500000
Verified signature66fb0fc -
Latest step 498000
Verified signature4b77932 -
Latest step 496000
Verified signatureaf74170 -
Latest step 494000
Verified signaturec75b3ec -
Latest step 492000
Verified signature45e06db -
Latest step 490000
Verified signature476a167 -
Latest step 488000
Verified signatured9fb7ae -
Latest step 486000
Verified signature4e1f0f9 -
Latest step 484000
Verified signature8a1c543 -
Latest step 482000
Verified signature824de83 -
Latest step 480000
Verified signature973cafd -
Latest step 478000
Verified signature22e07bf -
Latest step 476000
Verified signatureb0a7301 -
Latest step 474000
Verified signature3785db3 -
Latest step 472000
Verified signatureb0b14cf -
Latest step 470000
Verified signature99bee27