Instructions to use Zangs3011/tester_123 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Zangs3011/tester_123 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Zangs3011/tester_123")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Zangs3011/tester_123") model = AutoModelForCausalLM.from_pretrained("Zangs3011/tester_123", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Zangs3011/tester_123 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Zangs3011/tester_123" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Zangs3011/tester_123", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Zangs3011/tester_123
- SGLang
How to use Zangs3011/tester_123 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 "Zangs3011/tester_123" \ --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": "Zangs3011/tester_123", "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 "Zangs3011/tester_123" \ --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": "Zangs3011/tester_123", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use Zangs3011/tester_123 with Docker Model Runner:
docker model run hf.co/Zangs3011/tester_123
Commit History
-
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterb5fdc11 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster5179efd
-
Upload folder using huggingface_hub
Verified signaturee22085d -
Upload tokenizer
Verified signature04e6122 -
Upload model
Verified signatureb14d008 -
Upload tokenizer
Verified signaturec9330c1 -
Upload model
Verified signatureb813a03 -
Upload tokenizer
Verified signatured8eae00 -
Upload model
Verified signature5eca5eb -
Upload tokenizer
Verified signatured8ab113 -
Upload model
Verified signatureb71fcec -
Upload tokenizer
Verified signatureb454723 -
Upload model
Verified signaturefe111e0 -
Upload tokenizer
Verified signature14980d7 -
Upload tokenizer
Verified signaturea1c1976 -
Upload model
Verified signature1de9503 -
Upload tokenizer
Verified signaturef85947f -
initial commit
Verified signatureb6455c2