Instructions to use blazarev/model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use blazarev/model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="blazarev/model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("blazarev/model") model = AutoModelForCausalLM.from_pretrained("blazarev/model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use blazarev/model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "blazarev/model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "blazarev/model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/blazarev/model
- SGLang
How to use blazarev/model 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 "blazarev/model" \ --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": "blazarev/model", "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 "blazarev/model" \ --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": "blazarev/model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use blazarev/model with Docker Model Runner:
docker model run hf.co/blazarev/model
Commit History
-
Training in progress, step 900
Verified signature8f7d617 -
Training in progress, step 800
Verified signature5c73382 -
Training in progress, step 700
Verified signature79e1d37 -
Training in progress, step 600
Verified signaturefd2d97b -
Training in progress, step 500
Verified signature3bde734 -
Training in progress, step 400
Verified signature35ef3b1 -
Training in progress, step 300
Verified signatureff9f87d -
Training in progress, step 200
Verified signature3dbd216 -
Training in progress, step 100
Verified signature62cd46f
-
Model save
Verified signaturef4fc65a -
Training in progress, step 1000
Verified signaturea0fa120 -
Training in progress, step 900
Verified signature569902f -
Training in progress, step 800
Verified signatured638c93 -
Training in progress, step 700
Verified signature46b592d -
Training in progress, step 600
Verified signature84ded72 -
Training in progress, step 500
Verified signaturea3112ae -
Training in progress, step 400
Verified signature37d62c5 -
Training in progress, step 300
Verified signature4a55f78 -
Training in progress, step 200
Verified signature9a29372 -
Training in progress, step 100
Verified signature3a16b2f -
initial commit
Verified signature7b83208