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 722000
Verified signaturef88e4b0 -
Checkpoint step 722000
Verified signature970c0eb -
Retain two recent recovery checkpoints
Verified signature98e8db8 -
Latest step 720000
Verified signature51a5f90 -
Checkpoint step 720000
Verified signature970cad5 -
Retain two recent recovery checkpoints
Verified signature2bfc7ba -
Latest step 718000
Verified signaturee5db78b -
Checkpoint step 718000
Verified signature4043603 -
Retain two recent recovery checkpoints
Verified signaturef297c07 -
Latest step 716000
Verified signature4013134 -
Checkpoint step 716000
Verified signature900da11 -
Retain two recent recovery checkpoints
Verified signatureb88371a -
Latest step 714000
Verified signature2a738f6 -
Checkpoint step 714000
Verified signatureda48adb -
Retain two recent recovery checkpoints
Verified signature5a187fe -
Latest step 712000
Verified signaturebd01219 -
Checkpoint step 712000
Verified signature07d6e6a -
Retain two recent recovery checkpoints
Verified signaturec010346 -
Latest step 710000
Verified signaturec1bb331 -
Checkpoint step 710000
Verified signature46290d8 -
Retain two recent recovery checkpoints
Verified signature47af0df -
Latest step 708000
Verified signatured6f4c7f -
Checkpoint step 708000
Verified signature487ca52 -
Retain two recent recovery checkpoints
Verified signature4eb8683 -
Latest step 706000
Verified signature107811a -
Checkpoint step 706000
Verified signature9aedd41 -
Retain two recent recovery checkpoints
Verified signatureae041f2 -
Latest step 704000
Verified signature8729418 -
Checkpoint step 704000
Verified signature6e0f5e1 -
Retain two recent recovery checkpoints
Verified signature52b6584 -
Latest step 702000
Verified signature743ff17 -
Checkpoint step 702000
Verified signaturebb1f3de -
Retain two recent recovery checkpoints
Verified signature1b4b7ca -
Latest step 700000
Verified signature2f0856d -
Checkpoint step 700000
Verified signature41bbd9a -
Retain two recent recovery checkpoints
Verified signature5c77115 -
Latest step 698000
Verified signatureb048c64 -
Checkpoint step 698000
Verified signature7a901cc -
Retain two recent recovery checkpoints
Verified signature5065e62 -
Latest step 696000
Verified signature24c80a8 -
Checkpoint step 696000
Verified signature013a5b6 -
Retain two recent recovery checkpoints
Verified signature73d1208 -
Latest step 694000
Verified signature4b294b3 -
Checkpoint step 694000
Verified signature7bf1599 -
Retain two recent recovery checkpoints
Verified signaturee8f5a5d -
Latest step 692000
Verified signature520086f -
Checkpoint step 692000
Verified signature6743148 -
Retain two recent recovery checkpoints
Verified signature954526a -
Latest step 690000
Verified signatureef2ee70 -
Checkpoint step 690000
Verified signaturebafea14