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
9 days ago
-
Latest step 220000
Verified signatureade4da9 -
Checkpoint step 220000
Verified signature18ef718 -
Retain two recent recovery checkpoints
Verified signature261c004 -
Latest step 218000
Verified signature4cd0cdb -
Checkpoint step 218000
Verified signaturef547c11 -
Retain two recent recovery checkpoints
Verified signaturecb4f432 -
Latest step 216000
Verified signature7e15de0 -
Checkpoint step 216000
Verified signatureba557ef -
Retain two recent recovery checkpoints
Verified signature93a6005 -
Latest step 214000
Verified signature035f14a -
Checkpoint step 214000
Verified signature99314ba -
Retain two recent recovery checkpoints
Verified signaturec55c55a -
Latest step 212000
Verified signature5d286d7 -
Checkpoint step 212000
Verified signature358ff3c -
Retain two recent recovery checkpoints
Verified signaturedd58e97 -
Latest step 210000
Verified signature14f8734 -
Checkpoint step 210000
Verified signature318cb11 -
Retain two recent recovery checkpoints
Verified signature881eaf0 -
Latest step 208000
Verified signature5d1ee87 -
Checkpoint step 208000
Verified signature4b001c2 -
Retain two recent recovery checkpoints
Verified signature14ca79b -
Latest step 206000
Verified signature41803a5 -
Checkpoint step 206000
Verified signature70e6c69 -
Retain two recent recovery checkpoints
Verified signature881d30e -
Latest step 204000
Verified signature15f8750 -
Checkpoint step 204000
Verified signature72767ec -
Retain two recent recovery checkpoints
Verified signature5e26e48 -
Latest step 202000
Verified signature7940375 -
Checkpoint step 202000
Verified signaturebbb9b1c -
Retain two recent recovery checkpoints
Verified signaturee69c081 -
Latest step 200000
Verified signatureb6e3b29 -
Checkpoint step 200000
Verified signature58d4fe7 -
Retain two recent recovery checkpoints
Verified signature6b4da11 -
Latest step 198000
Verified signature5291148 -
Checkpoint step 198000
Verified signaturedffb3bf -
Retain two recent recovery checkpoints
Verified signature214b624 -
Latest step 196000
Verified signature1704fab -
Checkpoint step 196000
Verified signature0212210 -
Retain two recent recovery checkpoints
Verified signaturebd4c85c -
Latest step 194000
Verified signaturea132c58 -
Checkpoint step 194000
Verified signatureb3a6249 -
Retain two recent recovery checkpoints
Verified signature30cbe4c -
Latest step 192000
Verified signature016cb56 -
Checkpoint step 192000
Verified signatureffce7ef -
Retain two recent recovery checkpoints
Verified signature0dc1cc7 -
Latest step 190000
Verified signature7eb92ed -
Checkpoint step 190000
Verified signature7015638 -
Retain two recent recovery checkpoints
Verified signature1c5ebb1 -
Latest step 188000
Verified signature2417d58 -
Checkpoint step 188000
Verified signature10bba0f