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 3100
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:74c8696c1e93c6e578ea2c9599bf7331ce65fbc6da8aec433c40a6fd95afd1f4
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -58,3 +58,13 @@
|
|
| 58 |
{"current_steps": 2980, "total_steps": 3236, "loss": 0.0045, "lr": 3.8191725797730897e-07, "epoch": 1.842170350904313, "percentage": 92.09, "elapsed_time": "10:32:47", "remaining_time": "0:54:21"}
|
| 59 |
{"current_steps": 2990, "total_steps": 3236, "loss": 0.0045, "lr": 3.529470089762421e-07, "epoch": 1.8483536868140362, "percentage": 92.4, "elapsed_time": "10:43:22", "remaining_time": "0:52:55"}
|
| 60 |
{"current_steps": 3000, "total_steps": 3236, "loss": 0.0045, "lr": 3.2509957303622496e-07, "epoch": 1.8545370227237594, "percentage": 92.71, "elapsed_time": "10:54:06", "remaining_time": "0:51:27"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
{"current_steps": 2980, "total_steps": 3236, "loss": 0.0045, "lr": 3.8191725797730897e-07, "epoch": 1.842170350904313, "percentage": 92.09, "elapsed_time": "10:32:47", "remaining_time": "0:54:21"}
|
| 59 |
{"current_steps": 2990, "total_steps": 3236, "loss": 0.0045, "lr": 3.529470089762421e-07, "epoch": 1.8483536868140362, "percentage": 92.4, "elapsed_time": "10:43:22", "remaining_time": "0:52:55"}
|
| 60 |
{"current_steps": 3000, "total_steps": 3236, "loss": 0.0045, "lr": 3.2509957303622496e-07, "epoch": 1.8545370227237594, "percentage": 92.71, "elapsed_time": "10:54:06", "remaining_time": "0:51:27"}
|
| 61 |
+
{"current_steps": 3010, "total_steps": 3236, "loss": 0.0044, "lr": 2.983781912988604e-07, "epoch": 1.8607203586334826, "percentage": 93.02, "elapsed_time": "11:06:33", "remaining_time": "0:50:02"}
|
| 62 |
+
{"current_steps": 3020, "total_steps": 3236, "loss": 0.0044, "lr": 2.727859738451721e-07, "epoch": 1.866903694543206, "percentage": 93.33, "elapsed_time": "11:17:15", "remaining_time": "0:48:26"}
|
| 63 |
+
{"current_steps": 3030, "total_steps": 3236, "loss": 0.0042, "lr": 2.4832589933361907e-07, "epoch": 1.8730870304529295, "percentage": 93.63, "elapsed_time": "11:28:00", "remaining_time": "0:46:46"}
|
| 64 |
+
{"current_steps": 3040, "total_steps": 3236, "loss": 0.0043, "lr": 2.2500081465341993e-07, "epoch": 1.8792703663626527, "percentage": 93.94, "elapsed_time": "11:38:38", "remaining_time": "0:45:02"}
|
| 65 |
+
{"current_steps": 3050, "total_steps": 3236, "loss": 0.0044, "lr": 2.0281343459319868e-07, "epoch": 1.8854537022723759, "percentage": 94.25, "elapsed_time": "11:49:17", "remaining_time": "0:43:15"}
|
| 66 |
+
{"current_steps": 3060, "total_steps": 3236, "loss": 0.0043, "lr": 1.8176634152501816e-07, "epoch": 1.8916370381820993, "percentage": 94.56, "elapsed_time": "12:00:02", "remaining_time": "0:41:24"}
|
| 67 |
+
{"current_steps": 3070, "total_steps": 3236, "loss": 0.0045, "lr": 1.618619851038161e-07, "epoch": 1.8978203740918227, "percentage": 94.87, "elapsed_time": "12:10:52", "remaining_time": "0:39:31"}
|
| 68 |
+
{"current_steps": 3080, "total_steps": 3236, "loss": 0.0044, "lr": 1.4310268198229115e-07, "epoch": 1.904003710001546, "percentage": 95.18, "elapsed_time": "12:21:40", "remaining_time": "0:37:33"}
|
| 69 |
+
{"current_steps": 3090, "total_steps": 3236, "loss": 0.0043, "lr": 1.2549061554127494e-07, "epoch": 1.910187045911269, "percentage": 95.49, "elapsed_time": "12:32:23", "remaining_time": "0:35:32"}
|
| 70 |
+
{"current_steps": 3100, "total_steps": 3236, "loss": 0.0046, "lr": 1.0902783563560226e-07, "epoch": 1.9163703818209923, "percentage": 95.8, "elapsed_time": "12:43:06", "remaining_time": "0:33:28"}
|