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 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 -
Latest step 414000
Verified signature20ae577 -
Latest step 412000
Verified signatureaba1af1 -
Latest step 410000
Verified signatureceb169d -
Latest step 408000
Verified signature10fdba6 -
Latest step 406000
Verified signature923f8bf -
Latest step 404000
Verified signature6d20e30 -
Latest step 402000
Verified signature1aea58c -
Latest step 400000
Verified signaturef195fcb -
Latest step 398000
Verified signature1869b00 -
Latest step 396000
Verified signatureb8bf5e2 -
Latest step 394000
Verified signaturea550124 -
Latest step 392000
Verified signature3a72fbc -
Latest step 390000
Verified signature153f4bb -
Latest step 388000
Verified signaturea93c03e -
Latest step 386000
Verified signaturef8ee71c -
Latest step 384000
Verified signaturee5fb34b -
Latest step 366000
Verified signature338119c -
Latest step 364000
Verified signature44a26e4 -
Latest step 362000
Verified signature8703796 -
Latest step 360000
Verified signature7df18a7 -
Latest step 358000
Verified signature7891296 -
Latest step 356000
Verified signatureaa2109d -
Latest step 354000
Verified signaturebc483d1