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 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 -
Retain two recent recovery checkpoints
Verified signaturecd080f5 -
Latest step 688000
Verified signaturef0ab0ad -
Checkpoint step 688000
Verified signature50ed692 -
Retain two recent recovery checkpoints
Verified signature0f3f2b4 -
Latest step 686000
Verified signaturedda3237 -
Checkpoint step 686000
Verified signaturedb35dbe -
Retain two recent recovery checkpoints
Verified signaturecee8625 -
Latest step 684000
Verified signature4273bcb -
Checkpoint step 684000
Verified signature38d7029 -
Retain two recent recovery checkpoints
Verified signature3675f7b -
Latest step 682000
Verified signature86c00c6 -
Checkpoint step 682000
Verified signature497c810 -
Retain two recent recovery checkpoints
Verified signature7418c3e -
Latest step 680000
Verified signature4d44d02 -
Checkpoint step 680000
Verified signature487af2e -
Retain two recent recovery checkpoints
Verified signaturec56fd1a -
Latest step 678000
Verified signature27add39 -
Checkpoint step 678000
Verified signatureed1e8c0 -
Retain two recent recovery checkpoints
Verified signature99db8c9 -
Latest step 676000
Verified signature0536f3a -
Checkpoint step 676000
Verified signature77c2344 -
Retain two recent recovery checkpoints
Verified signature8e46011 -
Latest step 674000
Verified signature2fadfe6 -
Checkpoint step 674000
Verified signature871a4eb -
Retain two recent recovery checkpoints
Verified signatureb844c8d -
Latest step 672000
Verified signatureef6f1a0 -
Checkpoint step 672000
Verified signaturef8ea5e7