Text Generation
Transformers
Safetensors
Russian
English
aurora2
mixture-of-experts
russian
continued-pretraining
custom_code
Instructions to use AdminHugging/aurora2-ru-400m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AdminHugging/aurora2-ru-400m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AdminHugging/aurora2-ru-400m", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("AdminHugging/aurora2-ru-400m", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AdminHugging/aurora2-ru-400m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AdminHugging/aurora2-ru-400m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AdminHugging/aurora2-ru-400m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AdminHugging/aurora2-ru-400m
- SGLang
How to use AdminHugging/aurora2-ru-400m 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 "AdminHugging/aurora2-ru-400m" \ --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": "AdminHugging/aurora2-ru-400m", "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 "AdminHugging/aurora2-ru-400m" \ --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": "AdminHugging/aurora2-ru-400m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AdminHugging/aurora2-ru-400m with Docker Model Runner:
docker model run hf.co/AdminHugging/aurora2-ru-400m
Upload logs/metrics.csv with huggingface_hub
Browse files- logs/metrics.csv +50 -0
logs/metrics.csv
CHANGED
|
@@ -399,3 +399,53 @@ step,tokens,loss,lr,tok_s,vram_gb,elapsed_h
|
|
| 399 |
7940,146368512,1.91682,5.84e-05,5256,13.14,8.35
|
| 400 |
7960,146737152,1.92989,5.79e-05,5222,13.14,8.37
|
| 401 |
7980,147105792,2.13920,5.73e-05,5213,13.14,8.39
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 399 |
7940,146368512,1.91682,5.84e-05,5256,13.14,8.35
|
| 400 |
7960,146737152,1.92989,5.79e-05,5222,13.14,8.37
|
| 401 |
7980,147105792,2.13920,5.73e-05,5213,13.14,8.39
|
| 402 |
+
8000,147474432,1.70589,5.68e-05,5388,13.14,8.43
|
| 403 |
+
8020,147843072,1.51328,5.63e-05,5178,13.14,8.45
|
| 404 |
+
8040,148211712,1.63951,5.58e-05,5222,13.14,8.47
|
| 405 |
+
8060,148580352,1.92312,5.53e-05,5216,13.14,8.49
|
| 406 |
+
8080,148948992,2.01763,5.48e-05,5215,13.14,8.51
|
| 407 |
+
8100,149317632,1.76464,5.43e-05,5184,13.14,8.52
|
| 408 |
+
8120,149686272,1.94109,5.38e-05,5215,13.14,8.54
|
| 409 |
+
8140,150054912,1.90541,5.33e-05,5244,13.14,8.56
|
| 410 |
+
8160,150423552,2.21466,5.28e-05,5210,13.14,8.58
|
| 411 |
+
8180,150792192,1.84866,5.23e-05,5206,13.14,8.60
|
| 412 |
+
8200,151160832,1.72650,5.19e-05,5294,13.14,8.63
|
| 413 |
+
8220,151529472,1.97257,5.14e-05,5256,13.14,8.65
|
| 414 |
+
8240,151898112,1.81688,5.09e-05,5202,13.14,8.66
|
| 415 |
+
8260,152266752,1.80376,5.05e-05,5197,13.14,8.68
|
| 416 |
+
8280,152635392,2.17451,5.00e-05,5243,13.14,8.70
|
| 417 |
+
8300,153004032,2.05332,4.96e-05,5245,13.14,8.72
|
| 418 |
+
8320,153372672,1.96128,4.91e-05,5186,13.14,8.74
|
| 419 |
+
8340,153741312,1.97584,4.87e-05,5198,13.14,8.76
|
| 420 |
+
8360,154109952,1.58332,4.82e-05,5156,13.14,8.78
|
| 421 |
+
8380,154478592,1.91493,4.78e-05,5173,13.14,8.80
|
| 422 |
+
8400,154847232,2.19176,4.74e-05,5445,13.14,8.82
|
| 423 |
+
8420,155215872,1.60594,4.69e-05,5195,13.14,8.84
|
| 424 |
+
8440,155584512,1.63701,4.65e-05,5206,13.14,8.86
|
| 425 |
+
8460,155953152,1.54898,4.61e-05,5202,13.14,8.88
|
| 426 |
+
8480,156321792,1.60357,4.57e-05,5215,13.14,8.90
|
| 427 |
+
8500,156690432,1.55600,4.53e-05,5411,13.14,8.93
|
| 428 |
+
8520,157059072,1.67183,4.49e-05,5179,13.14,8.95
|
| 429 |
+
8540,157427712,1.92197,4.45e-05,5203,13.14,8.97
|
| 430 |
+
8560,157796352,1.84422,4.41e-05,5214,13.14,8.99
|
| 431 |
+
8580,158164992,2.16902,4.37e-05,5310,13.14,9.01
|
| 432 |
+
8600,158533632,2.15103,4.34e-05,5293,13.14,9.03
|
| 433 |
+
8620,158902272,2.23766,4.30e-05,5217,13.14,9.05
|
| 434 |
+
8640,159270912,1.63940,4.26e-05,5196,13.14,9.07
|
| 435 |
+
8660,159639552,1.44302,4.23e-05,5200,13.14,9.09
|
| 436 |
+
8680,160008192,1.98103,4.19e-05,5197,13.14,9.11
|
| 437 |
+
8700,160376832,1.67816,4.16e-05,5174,13.14,9.13
|
| 438 |
+
8720,160745472,1.85483,4.12e-05,5221,13.14,9.15
|
| 439 |
+
8740,161114112,1.89289,4.09e-05,5201,13.14,9.17
|
| 440 |
+
8760,161482752,1.70455,4.05e-05,5162,13.14,9.19
|
| 441 |
+
8780,161851392,2.12028,4.02e-05,5205,13.14,9.21
|
| 442 |
+
8800,162220032,1.73497,3.99e-05,5273,13.14,9.23
|
| 443 |
+
8820,162588672,1.86439,3.95e-05,5207,13.14,9.25
|
| 444 |
+
8840,162957312,1.78656,3.92e-05,5205,13.14,9.27
|
| 445 |
+
8860,163325952,1.81448,3.89e-05,5200,13.14,9.29
|
| 446 |
+
8880,163694592,2.03027,3.86e-05,5217,13.14,9.31
|
| 447 |
+
8900,164063232,1.93709,3.83e-05,5259,13.14,9.33
|
| 448 |
+
8920,164431872,1.57532,3.80e-05,5196,13.14,9.35
|
| 449 |
+
8940,164800512,1.82602,3.77e-05,5180,13.14,9.37
|
| 450 |
+
8960,165169152,1.94016,3.74e-05,5216,13.14,9.39
|
| 451 |
+
8980,165537792,1.40947,3.72e-05,5189,13.14,9.41
|