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 2800
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:3cb1b597a8820c68ad31b3d747c8e0ce48dfc9a2ef1546ee35e4a2ee7a1b4efe
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -28,3 +28,13 @@
|
|
| 28 |
{"current_steps": 2680, "total_steps": 3236, "loss": 0.0045, "lr": 1.7518188864275498e-06, "epoch": 1.656670273612614, "percentage": 82.82, "elapsed_time": "5:05:12", "remaining_time": "1:03:19"}
|
| 29 |
{"current_steps": 2690, "total_steps": 3236, "loss": 0.0047, "lr": 1.6913024486385733e-06, "epoch": 1.6628536095223372, "percentage": 83.13, "elapsed_time": "5:15:53", "remaining_time": "1:04:07"}
|
| 30 |
{"current_steps": 2700, "total_steps": 3236, "loss": 0.0047, "lr": 1.6317530537527148e-06, "epoch": 1.6690369454320606, "percentage": 83.44, "elapsed_time": "5:26:42", "remaining_time": "1:04:51"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
{"current_steps": 2680, "total_steps": 3236, "loss": 0.0045, "lr": 1.7518188864275498e-06, "epoch": 1.656670273612614, "percentage": 82.82, "elapsed_time": "5:05:12", "remaining_time": "1:03:19"}
|
| 29 |
{"current_steps": 2690, "total_steps": 3236, "loss": 0.0047, "lr": 1.6913024486385733e-06, "epoch": 1.6628536095223372, "percentage": 83.13, "elapsed_time": "5:15:53", "remaining_time": "1:04:07"}
|
| 30 |
{"current_steps": 2700, "total_steps": 3236, "loss": 0.0047, "lr": 1.6317530537527148e-06, "epoch": 1.6690369454320606, "percentage": 83.44, "elapsed_time": "5:26:42", "remaining_time": "1:04:51"}
|
| 31 |
+
{"current_steps": 2710, "total_steps": 3236, "loss": 0.0047, "lr": 1.5731776326781435e-06, "epoch": 1.675220281341784, "percentage": 83.75, "elapsed_time": "5:39:07", "remaining_time": "1:05:49"}
|
| 32 |
+
{"current_steps": 2720, "total_steps": 3236, "loss": 0.0045, "lr": 1.5155830029629614e-06, "epoch": 1.6814036172515072, "percentage": 84.05, "elapsed_time": "5:49:51", "remaining_time": "1:06:22"}
|
| 33 |
+
{"current_steps": 2730, "total_steps": 3236, "loss": 0.0047, "lr": 1.4589758680017263e-06, "epoch": 1.6875869531612304, "percentage": 84.36, "elapsed_time": "6:00:35", "remaining_time": "1:06:50"}
|
| 34 |
+
{"current_steps": 2740, "total_steps": 3236, "loss": 0.0044, "lr": 1.403362816255236e-06, "epoch": 1.6937702890709536, "percentage": 84.67, "elapsed_time": "6:11:23", "remaining_time": "1:07:13"}
|
| 35 |
+
{"current_steps": 2750, "total_steps": 3236, "loss": 0.005, "lr": 1.3487503204837182e-06, "epoch": 1.699953624980677, "percentage": 84.98, "elapsed_time": "6:22:06", "remaining_time": "1:07:31"}
|
| 36 |
+
{"current_steps": 2760, "total_steps": 3236, "loss": 0.0046, "lr": 1.2951447369934544e-06, "epoch": 1.7061369608904005, "percentage": 85.29, "elapsed_time": "6:32:51", "remaining_time": "1:07:45"}
|
| 37 |
+
{"current_steps": 2770, "total_steps": 3236, "loss": 0.0048, "lr": 1.2425523048969835e-06, "epoch": 1.7123202968001237, "percentage": 85.6, "elapsed_time": "6:43:39", "remaining_time": "1:07:54"}
|
| 38 |
+
{"current_steps": 2780, "total_steps": 3236, "loss": 0.0046, "lr": 1.190979145386939e-06, "epoch": 1.7185036327098469, "percentage": 85.91, "elapsed_time": "6:54:22", "remaining_time": "1:07:58"}
|
| 39 |
+
{"current_steps": 2790, "total_steps": 3236, "loss": 0.0045, "lr": 1.1404312610235968e-06, "epoch": 1.7246869686195703, "percentage": 86.22, "elapsed_time": "7:05:08", "remaining_time": "1:07:57"}
|
| 40 |
+
{"current_steps": 2800, "total_steps": 3236, "loss": 0.0046, "lr": 1.0909145350362516e-06, "epoch": 1.7308703045292937, "percentage": 86.53, "elapsed_time": "7:15:50", "remaining_time": "1:07:51"}
|