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
3 days ago
-
Latest step 940000
Verified signature3deaa97 -
Latest step 938000
Verified signature1216972 -
Latest step 936000
Verified signature75590d1 -
Latest step 934000
Verified signature2bbd861 -
Latest step 932000
Verified signature5256e00 -
Latest step 930000
Verified signature7800003 -
Latest step 928000
Verified signature3ffd3ab -
Latest step 926000
Verified signaturec07c797 -
Latest step 924000
Verified signature444e2d4 -
Latest step 922000
Verified signaturea530205 -
Latest step 920000
Verified signature3a7d970 -
Latest step 918000
Verified signature7c1e734 -
Latest step 916000
Verified signature119eb7f -
Latest step 914000
Verified signature0860cc5 -
Latest step 912000
Verified signatureb396e03 -
Latest step 910000
Verified signature88baffd -
Latest step 908000
Verified signaturefe72f31 -
Latest step 906000
Verified signature10fe01f -
Latest step 904000
Verified signature7fd066c -
Latest step 902000
Verified signature001897c -
Latest step 900000
Verified signature1884248 -
Latest step 898000
Verified signature0dbec87 -
Latest step 896000
Verified signature6d9283a -
Latest step 894000
Verified signaturec528691 -
Latest step 892000
Verified signature36dd1e6 -
Latest step 890000
Verified signaturef495426 -
Latest step 888000
Verified signaturef646316 -
Latest step 886000
Verified signature8a2d2a6 -
Latest step 884000
Verified signaturebce41cb -
Latest step 882000
Verified signature8fbfdfe -
Latest step 880000
Verified signaturebdab206 -
Latest step 878000
Verified signature93c1891
4 days ago
-
Latest step 876000
Verified signatureef0fdb7 -
Latest step 874000
Verified signature9012328 -
Latest step 872000
Verified signature813ad27 -
Latest step 870000
Verified signature421cec1 -
Latest step 868000
Verified signaturecf940f1 -
Latest step 866000
Verified signature0ea7cd1 -
Latest step 864000
Verified signature2b5c679 -
Latest step 862000
Verified signatureb7d7cf3 -
Latest step 860000
Verified signatureefbdaf9 -
Latest step 858000
Verified signature293421b -
Latest step 856000
Verified signatureb980cd3 -
Latest step 854000
Verified signaturea7edd98 -
Latest step 852000
Verified signature5d69b36 -
Latest step 850000
Verified signature75b429e -
Latest step 848000
Verified signaturecef6111 -
Latest step 846000
Verified signature64fcbdf -
Latest step 844000
Verified signature53850ce -
Latest step 842000
Verified signature37bd03e