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
8 days ago
-
Latest step 414000
Verified signature20ae577 -
Latest step 412000
Verified signatureaba1af1 -
Latest step 410000
Verified signatureceb169d -
Latest step 408000
Verified signature10fdba6 -
Latest step 406000
Verified signature923f8bf -
Latest step 404000
Verified signature6d20e30 -
Latest step 402000
Verified signature1aea58c -
Latest step 400000
Verified signaturef195fcb -
Latest step 398000
Verified signature1869b00 -
Latest step 396000
Verified signatureb8bf5e2 -
Latest step 394000
Verified signaturea550124 -
Latest step 392000
Verified signature3a72fbc -
Latest step 390000
Verified signature153f4bb -
Latest step 388000
Verified signaturea93c03e -
Latest step 386000
Verified signaturef8ee71c -
Latest step 384000
Verified signaturee5fb34b -
Latest step 366000
Verified signature338119c -
Latest step 364000
Verified signature44a26e4 -
Latest step 362000
Verified signature8703796 -
Latest step 360000
Verified signature7df18a7 -
Latest step 358000
Verified signature7891296 -
Latest step 356000
Verified signatureaa2109d -
Latest step 354000
Verified signaturebc483d1 -
Latest step 352000
Verified signaturef3399eb -
Latest step 350000
Verified signature54f5b8a -
Latest step 348000
Verified signaturebb5a99d -
Latest step 346000
Verified signature78eb235 -
Latest step 344000
Verified signature38a526a -
Latest step 342000
Verified signaturea399239 -
Latest step 340000
Verified signature6bd97f3 -
Latest step 338000
Verified signature9ff9d48 -
Latest step 336000
Verified signature7f12ce5 -
Latest step 334000
Verified signature016b847 -
Latest step 332000
Verified signature235a806 -
Latest step 330000
Verified signature683566f -
Latest step 328000
Verified signature4d3ab67 -
Latest step 326000
Verified signature834b4c1 -
Latest step 324000
Verified signature2983324 -
Latest step 322000
Verified signature1d8116c -
Latest step 320000
Verified signature329b1f1 -
Latest step 318000
Verified signature6a08f24 -
Latest step 316000
Verified signature7bad119 -
Latest step 314000
Verified signaturea2c7b0c -
Latest step 312000
Verified signature7b75959 -
Latest step 310000
Verified signature1dfc7ac
9 days ago
-
Latest step 308000
Verified signature2911302 -
Latest step 306000
Verified signatured8d3d45 -
Latest step 304000
Verified signatureebd4703 -
Latest step 302000
Verified signaturec83aaba -
Latest step 300000
Verified signatureb48eb96