Text Generation
Transformers
Safetensors
qwen2
llama-factory
Generated from Trainer
conversational
text-generation-inference
Instructions to use adpretko/train-armv8-O2_epoch3_AMD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adpretko/train-armv8-O2_epoch3_AMD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="adpretko/train-armv8-O2_epoch3_AMD") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("adpretko/train-armv8-O2_epoch3_AMD") model = AutoModelForMultimodalLM.from_pretrained("adpretko/train-armv8-O2_epoch3_AMD") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use adpretko/train-armv8-O2_epoch3_AMD with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "adpretko/train-armv8-O2_epoch3_AMD" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "adpretko/train-armv8-O2_epoch3_AMD", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/adpretko/train-armv8-O2_epoch3_AMD
- SGLang
How to use adpretko/train-armv8-O2_epoch3_AMD 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 "adpretko/train-armv8-O2_epoch3_AMD" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "adpretko/train-armv8-O2_epoch3_AMD", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "adpretko/train-armv8-O2_epoch3_AMD" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "adpretko/train-armv8-O2_epoch3_AMD", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use adpretko/train-armv8-O2_epoch3_AMD with Docker Model Runner:
docker model run hf.co/adpretko/train-armv8-O2_epoch3_AMD
Training in progress, step 2600
Browse files- model.safetensors +1 -1
- trainer_log.jsonl +10 -0
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3554214752
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc869bdd9663868be999b720c0287430f96f18d15ed10c37015ff576bea1ed42
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -8,3 +8,13 @@
|
|
| 8 |
{"current_steps": 2480, "total_steps": 3236, "loss": 0.0048, "lr": 3.1535852662884138e-06, "epoch": 1.5330035554181483, "percentage": 76.64, "elapsed_time": "1:26:47", "remaining_time": "0:26:27"}
|
| 9 |
{"current_steps": 2490, "total_steps": 3236, "loss": 0.0048, "lr": 3.0753504616627694e-06, "epoch": 1.5391868913278715, "percentage": 76.95, "elapsed_time": "1:37:31", "remaining_time": "0:29:13"}
|
| 10 |
{"current_steps": 2500, "total_steps": 3236, "loss": 0.0048, "lr": 2.9979216116589203e-06, "epoch": 1.5453702272375947, "percentage": 77.26, "elapsed_time": "1:48:16", "remaining_time": "0:31:52"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
{"current_steps": 2480, "total_steps": 3236, "loss": 0.0048, "lr": 3.1535852662884138e-06, "epoch": 1.5330035554181483, "percentage": 76.64, "elapsed_time": "1:26:47", "remaining_time": "0:26:27"}
|
| 9 |
{"current_steps": 2490, "total_steps": 3236, "loss": 0.0048, "lr": 3.0753504616627694e-06, "epoch": 1.5391868913278715, "percentage": 76.95, "elapsed_time": "1:37:31", "remaining_time": "0:29:13"}
|
| 10 |
{"current_steps": 2500, "total_steps": 3236, "loss": 0.0048, "lr": 2.9979216116589203e-06, "epoch": 1.5453702272375947, "percentage": 77.26, "elapsed_time": "1:48:16", "remaining_time": "0:31:52"}
|
| 11 |
+
{"current_steps": 2510, "total_steps": 3236, "loss": 0.0046, "lr": 2.9213077281610336e-06, "epoch": 1.5515535631473178, "percentage": 77.56, "elapsed_time": "2:00:38", "remaining_time": "0:34:53"}
|
| 12 |
+
{"current_steps": 2520, "total_steps": 3236, "loss": 0.0048, "lr": 2.8455177281999515e-06, "epoch": 1.5577368990570413, "percentage": 77.87, "elapsed_time": "2:11:17", "remaining_time": "0:37:18"}
|
| 13 |
+
{"current_steps": 2530, "total_steps": 3236, "loss": 0.0048, "lr": 2.7705604329153434e-06, "epoch": 1.5639202349667647, "percentage": 78.18, "elapsed_time": "2:22:01", "remaining_time": "0:39:37"}
|
| 14 |
+
{"current_steps": 2540, "total_steps": 3236, "loss": 0.0048, "lr": 2.6964445665290274e-06, "epoch": 1.5701035708764879, "percentage": 78.49, "elapsed_time": "2:32:42", "remaining_time": "0:41:50"}
|
| 15 |
+
{"current_steps": 2550, "total_steps": 3236, "loss": 0.005, "lr": 2.6231787553295583e-06, "epoch": 1.576286906786211, "percentage": 78.8, "elapsed_time": "2:43:29", "remaining_time": "0:43:59"}
|
| 16 |
+
{"current_steps": 2560, "total_steps": 3236, "loss": 0.0047, "lr": 2.550771526668221e-06, "epoch": 1.5824702426959345, "percentage": 79.11, "elapsed_time": "2:54:22", "remaining_time": "0:46:02"}
|
| 17 |
+
{"current_steps": 2570, "total_steps": 3236, "loss": 0.0048, "lr": 2.47923130796655e-06, "epoch": 1.5886535786056577, "percentage": 79.42, "elapsed_time": "3:05:05", "remaining_time": "0:47:58"}
|
| 18 |
+
{"current_steps": 2580, "total_steps": 3236, "loss": 0.0047, "lr": 2.408566425735446e-06, "epoch": 1.5948369145153811, "percentage": 79.73, "elapsed_time": "3:15:56", "remaining_time": "0:49:49"}
|
| 19 |
+
{"current_steps": 2590, "total_steps": 3236, "loss": 0.0046, "lr": 2.338785104606082e-06, "epoch": 1.6010202504251043, "percentage": 80.04, "elapsed_time": "3:26:38", "remaining_time": "0:51:32"}
|
| 20 |
+
{"current_steps": 2600, "total_steps": 3236, "loss": 0.0047, "lr": 2.26989546637263e-06, "epoch": 1.6072035863348275, "percentage": 80.35, "elapsed_time": "3:37:22", "remaining_time": "0:53:10"}
|