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
10 days ago
-
Latest step 58000
Verified signature433c69b -
Latest step 56000
Verified signature64e877e -
Latest step 54000
Verified signaturea1c2301 -
Latest step 52000
Verified signature1aae2f1 -
Latest step 50000
Verified signaturea2f67ee -
Latest step 48000
Verified signature697fc2a -
Latest step 46000
Verified signatureb127b4c -
Latest step 44000
Verified signature92b8630 -
Latest step 42000
Verified signaturee46c39b -
Latest step 40000
Verified signature6e1a80d -
Latest step 38000
Verified signature6205768 -
Latest step 36000
Verified signature3eb617c -
Latest step 34000
Verified signaturea883ffe -
Latest step 32000
Verified signaturedc26abb -
Latest step 30000
Verified signaturef57b742 -
Latest step 28000
Verified signaturee4416cf -
Latest step 26000
Verified signaturee58334e -
Latest step 24000
Verified signature0dd4212 -
Latest step 22000
Verified signature211f3f3 -
Latest step 20000
Verified signature5403804 -
Latest step 18000
Verified signature426c474 -
Latest step 16000
Verified signature42977e9 -
Latest step 14000
Verified signature4d97276 -
Latest step 12000
Verified signaturef67921a -
Latest step 10000
Verified signatureabceb89 -
Latest step 8000
Verified signaturea156390
11 days ago
-
Latest step 6000
Verified signatured72db17 -
Latest step 4000
Verified signature5b2af72 -
Latest step 2000
Verified signature5fc9cbf