Instructions to use mapama247/test123 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mapama247/test123 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mapama247/test123")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("mapama247/test123") model = AutoModelForMultimodalLM.from_pretrained("mapama247/test123") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mapama247/test123 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mapama247/test123" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mapama247/test123", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/mapama247/test123
- SGLang
How to use mapama247/test123 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 "mapama247/test123" \ --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": "mapama247/test123", "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 "mapama247/test123" \ --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": "mapama247/test123", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use mapama247/test123 with Docker Model Runner:
docker model run hf.co/mapama247/test123
Upload all_results.json
Browse files- all_results.json +11 -0
all_results.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 20.0,
|
| 3 |
+
"eval_loss": 1.41169273853302,
|
| 4 |
+
"eval_runtime": 58.9222,
|
| 5 |
+
"eval_samples": 462,
|
| 6 |
+
"eval_samples_per_second": 7.841,
|
| 7 |
+
"perplexity": 4.102894657126741,
|
| 8 |
+
"train_runtime": 22284.2589,
|
| 9 |
+
"train_samples": 3119,
|
| 10 |
+
"train_samples_per_second": 0.35
|
| 11 |
+
}
|