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
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 -
Latest step 468000
Verified signature3911c5d -
Latest step 466000
Verified signature2540514 -
Latest step 464000
Verified signature5d80ed0 -
Latest step 462000
Verified signature5932a38 -
Latest step 460000
Verified signature1d461c9 -
Latest step 458000
Verified signature6701510 -
Latest step 456000
Verified signatured0adbb4 -
Latest step 454000
Verified signature576f084 -
Latest step 452000
Verified signatureb533857 -
Latest step 450000
Verified signature2b50a21 -
Latest step 448000
Verified signature18f5acf -
Latest step 446000
Verified signaturedc1797c -
Latest step 444000
Verified signaturef323bf8 -
Latest step 442000
Verified signature33de053 -
Latest step 440000
Verified signature4064092
8 days ago
-
Latest step 438000
Verified signature6dc4351 -
Latest step 436000
Verified signature4e4d0a2 -
Latest step 434000
Verified signaturefc30734 -
Latest step 432000
Verified signatureb336f3d -
Latest step 430000
Verified signature2561b97 -
Latest step 428000
Verified signature571362a -
Latest step 426000
Verified signature487c9d7 -
Latest step 424000
Verified signatureca6971a -
Latest step 422000
Verified signature047903f -
Latest step 420000
Verified signature0909542 -
Latest step 418000
Verified signaturee09a5ff -
Latest step 416000
Verified signature665dc0d