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
-
Retain two recent recovery checkpoints
Verified signature9a54cec -
Latest step 774000
Verified signature8e02b3c -
Checkpoint step 774000
Verified signatureac58aeb -
Retain two recent recovery checkpoints
Verified signature6b009a6 -
Latest step 772000
Verified signatureb540fce -
Checkpoint step 772000
Verified signature057c9e6 -
Retain two recent recovery checkpoints
Verified signature8bcd668 -
Latest step 770000
Verified signature2d7fb01 -
Checkpoint step 770000
Verified signature7c4dc0f -
Retain two recent recovery checkpoints
Verified signaturef6c9201 -
Latest step 764000
Verified signature7950785 -
Checkpoint step 764000
Verified signature07a1097 -
Retain two recent recovery checkpoints
Verified signaturea7a8b5b -
Latest step 762000
Verified signatureb309091 -
Checkpoint step 762000
Verified signatureee9007c -
Retain two recent recovery checkpoints
Verified signaturedb9fb53 -
Latest step 760000
Verified signature81b77f0 -
Checkpoint step 760000
Verified signaturee73e483 -
Retain two recent recovery checkpoints
Verified signatureb198625 -
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