Instructions to use Luna777/model_output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Luna777/model_output with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Luna777/model_output")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("Luna777/model_output") model = AutoModelForImageTextToText.from_pretrained("Luna777/model_output") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Luna777/model_output with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Luna777/model_output" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Luna777/model_output", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Luna777/model_output
- SGLang
How to use Luna777/model_output 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 "Luna777/model_output" \ --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": "Luna777/model_output", "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 "Luna777/model_output" \ --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": "Luna777/model_output", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Luna777/model_output with Docker Model Runner:
docker model run hf.co/Luna777/model_output
End of training
Browse files- README.md +1 -0
- runs/Feb14_19-53-00_3145a4bd5469/events.out.tfevents.1739562780.3145a4bd5469.202.1 +2 -2
- runs/Feb14_19-53-32_3145a4bd5469/events.out.tfevents.1739562918.3145a4bd5469.202.2 +3 -0
- runs/Feb14_19-56-35_3145a4bd5469/events.out.tfevents.1739562996.3145a4bd5469.202.3 +3 -0
- runs/Feb14_20-15-55_3145a4bd5469/events.out.tfevents.1739564165.3145a4bd5469.9607.0 +3 -0
- runs/Feb14_20-25-24_3145a4bd5469/events.out.tfevents.1739564731.3145a4bd5469.9607.1 +3 -0
- runs/Feb14_20-27-57_3145a4bd5469/events.out.tfevents.1739564879.3145a4bd5469.9607.2 +3 -0
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -45,4 +45,5 @@ The following hyperparameters were used during training:
|
|
| 45 |
|
| 46 |
- Transformers 4.48.3
|
| 47 |
- Pytorch 2.5.1+cu124
|
|
|
|
| 48 |
- Tokenizers 0.21.0
|
|
|
|
| 45 |
|
| 46 |
- Transformers 4.48.3
|
| 47 |
- Pytorch 2.5.1+cu124
|
| 48 |
+
- Datasets 3.3.0
|
| 49 |
- Tokenizers 0.21.0
|
runs/Feb14_19-53-00_3145a4bd5469/events.out.tfevents.1739562780.3145a4bd5469.202.1
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b81b623759ede1e18529338c6c9e019f9d76a9de4904f40e6a73cba930df60a7
|
| 3 |
+
size 5124
|
runs/Feb14_19-53-32_3145a4bd5469/events.out.tfevents.1739562918.3145a4bd5469.202.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67afb02b6327c37df35cd8ed243c3cb6e7c629b45f8949a50def10e56e37af87
|
| 3 |
+
size 5124
|
runs/Feb14_19-56-35_3145a4bd5469/events.out.tfevents.1739562996.3145a4bd5469.202.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82d3ed0816e9bc97bb08a87f3717dd351ae8475c37b8a68fab85d354e3c3cc2b
|
| 3 |
+
size 5124
|
runs/Feb14_20-15-55_3145a4bd5469/events.out.tfevents.1739564165.3145a4bd5469.9607.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81d88b6a275c940cfd278f3ddd471519dccdf645289e5103a71f49e61389c061
|
| 3 |
+
size 5164
|
runs/Feb14_20-25-24_3145a4bd5469/events.out.tfevents.1739564731.3145a4bd5469.9607.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c10e80716be2177a665fd121ecc91dcd6aee8f69a40015c0b4bdf4992da8bcc
|
| 3 |
+
size 5164
|
runs/Feb14_20-27-57_3145a4bd5469/events.out.tfevents.1739564879.3145a4bd5469.9607.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d34023f6fe803b222b2c8cf7dad1da60e950154766440a218b625609d6b3b16
|
| 3 |
+
size 4184
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5304
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c7efa2386939ed8b9aaf8044ad900f43b267eeb1ff992179bcef19ec190842b
|
| 3 |
size 5304
|