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
4 days ago
-
Latest step 758000
Verified signature1e07d07 -
Checkpoint step 758000
Verified signature018f8ac -
Retain two recent recovery checkpoints
Verified signaturee2e878d -
Latest step 756000
Verified signature97475da -
Checkpoint step 756000
Verified signature04a2ac1 -
Retain two recent recovery checkpoints
Verified signature16b95e6 -
Latest step 754000
Verified signature9d0a2e8 -
Checkpoint step 754000
Verified signature0042a2c -
Retain two recent recovery checkpoints
Verified signature15cc9dd -
Latest step 752000
Verified signatureda579ac -
Checkpoint step 752000
Verified signature03116b0 -
Retain two recent recovery checkpoints
Verified signature4eca8b7 -
Latest step 750000
Verified signatureebadd80 -
Checkpoint step 750000
Verified signature3910acc
5 days ago
-
Retain two recent recovery checkpoints
Verified signature708d023 -
Latest step 748000
Verified signaturede4eddd -
Checkpoint step 748000
Verified signature1da4b84 -
Retain two recent recovery checkpoints
Verified signature188d437 -
Latest step 746000
Verified signaturedaca6f0 -
Checkpoint step 746000
Verified signaturebc20ac8 -
Retain two recent recovery checkpoints
Verified signaturee80d208 -
Latest step 744000
Verified signature8622fa3 -
Checkpoint step 744000
Verified signaturefb32ec8 -
Retain two recent recovery checkpoints
Verified signature359a53b -
Latest step 742000
Verified signature45ce070 -
Checkpoint step 742000
Verified signaturedb9016e -
Retain two recent recovery checkpoints
Verified signaturecc67717 -
Latest step 740000
Verified signature8459ed6 -
Checkpoint step 740000
Verified signature1d30a59 -
Retain two recent recovery checkpoints
Verified signatureeeb21dd -
Latest step 738000
Verified signature7ae2c87 -
Checkpoint step 738000
Verified signature4f1bf46 -
Retain two recent recovery checkpoints
Verified signature2ceb2a8 -
Latest step 736000
Verified signature13c8e82 -
Checkpoint step 736000
Verified signature72ee1b1 -
Retain two recent recovery checkpoints
Verified signature6624a58 -
Latest step 734000
Verified signature68e2d81 -
Checkpoint step 734000
Verified signature6baad4d -
Retain two recent recovery checkpoints
Verified signatureb2883bf -
Latest step 732000
Verified signature5a41cee -
Checkpoint step 732000
Verified signaturea211f84 -
Retain two recent recovery checkpoints
Verified signature3d60fc9 -
Latest step 730000
Verified signaturef93c2eb -
Checkpoint step 730000
Verified signature893bb4b -
Retain two recent recovery checkpoints
Verified signaturebd9de07 -
Latest step 728000
Verified signaturebbb2d07 -
Checkpoint step 728000
Verified signaturec50459b -
Retain two recent recovery checkpoints
Verified signature0cfe0af -
Latest step 726000
Verified signaturee83c658 -
Checkpoint step 726000
Verified signaturec79ba5f