Instructions to use temporary0-0name/run_4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use temporary0-0name/run_4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="temporary0-0name/run_4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("temporary0-0name/run_4") model = AutoModelForCausalLM.from_pretrained("temporary0-0name/run_4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use temporary0-0name/run_4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "temporary0-0name/run_4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "temporary0-0name/run_4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/temporary0-0name/run_4
- SGLang
How to use temporary0-0name/run_4 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 "temporary0-0name/run_4" \ --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": "temporary0-0name/run_4", "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 "temporary0-0name/run_4" \ --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": "temporary0-0name/run_4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use temporary0-0name/run_4 with Docker Model Runner:
docker model run hf.co/temporary0-0name/run_4
Commit History
-
Training in progress, step 800
e78d7fc -
Training in progress, step 750
f0bf3a7 -
Training in progress, step 700
09564f9 -
Training in progress, step 650
624bd32 -
Training in progress, step 600
80eeccd -
Training in progress, step 550
2a4d12b -
Training in progress, step 500
7cbe3ec -
Training in progress, step 450
d31d8c0 -
Training in progress, step 400
cb83598 -
Training in progress, step 300
7ba9eb4 -
Training in progress, step 200
81673ba -
Training in progress, step 100
550eb7e -
Training in progress, step 50
1642de2 -
End of training
96fa43c -
Training in progress, step 900
fb499d0 -
Training in progress, step 800
39cf4df -
Training in progress, step 700
186248b -
Training in progress, step 600
ce96965 -
Training in progress, step 500
c761de5 -
Training in progress, step 450
e7c4e13 -
Training in progress, step 350
280a73d -
Training in progress, step 250
7cfef96 -
Training in progress, step 150
c3550be -
Training in progress, step 50
057d93f -
End of training
74430d5 -
Training in progress, step 900
05a35af -
Training in progress, step 850
1a4a3b4 -
Training in progress, step 800
f2e97b9 -
Training in progress, step 750
40495af -
Training in progress, step 700
7b1a0c2 -
Training in progress, step 650
5d564bb -
Training in progress, step 600
f55630d -
Training in progress, step 550
eb5833c -
Training in progress, step 500
5a70481 -
Training in progress, step 450
abe31f7 -
Training in progress, step 400
7151956 -
Training in progress, step 350
8950095 -
Training in progress, step 300
6978ae5 -
Training in progress, step 250
ff5c8ff -
Training in progress, step 200
5c3a803 -
Training in progress, step 150
d8adcc7 -
Training in progress, step 100
e1c2f54 -
Training in progress, step 50
829b51a -
End of training
3893249 -
Training in progress, step 900
06f6f89 -
Training in progress, step 850
1f1dc1c -
Training in progress, step 800
1f1cf51 -
Training in progress, step 750
28fc310 -
Training in progress, step 700
679f680 -
Training in progress, step 650
5438058