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 152000
Verified signaturee7edea2 -
Latest step 148000
Verified signature28b7a19 -
Latest step 144000
Verified signature8e6caeb -
Latest step 140000
Verified signatured90edd6 -
Latest step 136000
Verified signature0ed6933 -
Latest step 132000
Verified signature0ab0f39 -
Latest step 128000
Verified signature47d3350 -
Latest step 124000
Verified signaturef46840e -
Latest step 120000
Verified signatured1f60e7 -
Latest step 116000
Verified signature9fd745b -
Latest step 112000
Verified signature3a5783a -
Latest step 108000
Verified signatured577175 -
Latest step 104000
Verified signature2edb049 -
Latest step 100000
Verified signature45ed7e8 -
Latest step 96000
Verified signature24f8332 -
Latest step 92000
Verified signature6f7ee13 -
Latest step 88000
Verified signature2fc7a0d -
Latest step 84000
Verified signature12cb65c -
Latest step 80000
Verified signature6c99acc -
Latest step 78000
Verified signature152b87d -
Latest step 76000
Verified signature3f8daa8 -
Latest step 74000
Verified signatureedc9029 -
Latest step 72000
Verified signature75ab6a1 -
Latest step 70000
Verified signatureb095232 -
Latest step 68000
Verified signature904df7d -
Latest step 66000
Verified signature3bea999 -
Latest step 64000
Verified signature05001e0 -
Latest step 62000
Verified signaturea15f836 -
Latest step 60000
Verified signature3289b89 -
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