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
5 days ago
-
Latest step 690000
Verified signatureef2ee70 -
Latest step 688000
Verified signaturef0ab0ad -
Latest step 686000
Verified signaturedda3237 -
Latest step 684000
Verified signature4273bcb -
Latest step 682000
Verified signature86c00c6 -
Latest step 680000
Verified signature4d44d02 -
Latest step 678000
Verified signature27add39 -
Latest step 676000
Verified signature0536f3a -
Latest step 674000
Verified signature2fadfe6 -
Latest step 672000
Verified signatureef6f1a0 -
Latest step 670000
Verified signaturefb93e27 -
Latest step 668000
Verified signaturedc4e203 -
Latest step 666000
Verified signaturee15a925 -
Latest step 664000
Verified signature430dbfb -
Latest step 662000
Verified signature81e52d0 -
Latest step 660000
Verified signaturea0d0706 -
Latest step 658000
Verified signature6d5fec1 -
Latest step 656000
Verified signature11d50e4 -
Latest step 654000
Verified signature0eede61 -
Latest step 652000
Verified signature376443a -
Latest step 650000
Verified signature9fdcd11 -
Latest step 648000
Verified signature859a9a8 -
Latest step 646000
Verified signature67ae8e6 -
Latest step 644000
Verified signatureb3d88dd -
Latest step 642000
Verified signatureb21b049 -
Latest step 640000
Verified signature8622714 -
Latest step 638000
Verified signature11b6319 -
Latest step 636000
Verified signature75bff98 -
Latest step 634000
Verified signature9523ddc -
Latest step 632000
Verified signaturede05970 -
Latest step 630000
Verified signature3d36c0d -
Latest step 628000
Verified signature12d3df1 -
Latest step 626000
Verified signaturede555c0 -
Latest step 624000
Verified signature00b5bd1 -
Latest step 622000
Verified signature023dea0
6 days ago
-
Latest step 620000
Verified signature2bc9d27 -
Latest step 618000
Verified signature3caf1da -
Latest step 616000
Verified signaturea2c88e2 -
Latest step 614000
Verified signature915b813 -
Latest step 612000
Verified signature83682fa -
Latest step 610000
Verified signatureced99a3 -
Latest step 608000
Verified signature4a0a18a -
Latest step 606000
Verified signature86a9516 -
Latest step 604000
Verified signature6a10600 -
Latest step 602000
Verified signature959d073 -
Latest step 600000
Verified signature8741097 -
Latest step 598000
Verified signaturebf9b8e5 -
Latest step 596000
Verified signature75fd687 -
Latest step 594000
Verified signaturea2dfe76 -
Latest step 592000
Verified signature382f6c0