Instructions to use larabe/testt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use larabe/testt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="larabe/testt")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("larabe/testt") model = AutoModelForMultimodalLM.from_pretrained("larabe/testt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use larabe/testt with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "larabe/testt" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "larabe/testt", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/larabe/testt
- SGLang
How to use larabe/testt 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 "larabe/testt" \ --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": "larabe/testt", "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 "larabe/testt" \ --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": "larabe/testt", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use larabe/testt with Docker Model Runner:
docker model run hf.co/larabe/testt
Commit History
-
End of training
efc415e -
Training in progress, epoch 20
f55308d -
Training in progress, epoch 19
5f783f6 -
Training in progress, epoch 18
8783ff5 -
Training in progress, epoch 17
1693a3e -
Training in progress, epoch 16
f207cfd -
Training in progress, epoch 15
dc9d1c8 -
Training in progress, epoch 14
75b1319 -
Training in progress, epoch 13
60b4ea7 -
Training in progress, epoch 12
5e99b9f -
Training in progress, epoch 11
b22e721 -
Training in progress, epoch 10
25b676f -
Training in progress, epoch 9
771d7ef -
Training in progress, epoch 8
ef3df66 -
Training in progress, epoch 7
38090d8 -
Training in progress, epoch 6
fea6db2 -
Training in progress, epoch 5
3587119 -
Training in progress, epoch 4
4459e59 -
Training in progress, epoch 3
e8289ec -
Training in progress, epoch 2
e1bbc0a -
Training in progress, epoch 1
98b599c
-
Training in progress, epoch 1
2fd60f1
-
Training in progress, epoch 1
e716aba