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 1500
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:213069366ff3ae93a7f446a82db1b0d91b40b03dd0e9c7b22a8d02a55e428257
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -138,3 +138,13 @@
|
|
| 138 |
{"current_steps": 1380, "total_steps": 3236, "loss": 0.0071, "lr": 1.41924749647355e-05, "epoch": 0.8533003555418148, "percentage": 42.65, "elapsed_time": "1 day, 1:05:17", "remaining_time": "1 day, 9:44:29"}
|
| 139 |
{"current_steps": 1390, "total_steps": 3236, "loss": 0.0069, "lr": 1.4094287694621589e-05, "epoch": 0.8594836914515381, "percentage": 42.95, "elapsed_time": "1 day, 1:16:04", "remaining_time": "1 day, 9:33:26"}
|
| 140 |
{"current_steps": 1400, "total_steps": 3236, "loss": 0.007, "lr": 1.3995623893519044e-05, "epoch": 0.8656670273612614, "percentage": 43.26, "elapsed_time": "1 day, 1:26:53", "remaining_time": "1 day, 9:22:24"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
{"current_steps": 1380, "total_steps": 3236, "loss": 0.0071, "lr": 1.41924749647355e-05, "epoch": 0.8533003555418148, "percentage": 42.65, "elapsed_time": "1 day, 1:05:17", "remaining_time": "1 day, 9:44:29"}
|
| 139 |
{"current_steps": 1390, "total_steps": 3236, "loss": 0.0069, "lr": 1.4094287694621589e-05, "epoch": 0.8594836914515381, "percentage": 42.95, "elapsed_time": "1 day, 1:16:04", "remaining_time": "1 day, 9:33:26"}
|
| 140 |
{"current_steps": 1400, "total_steps": 3236, "loss": 0.007, "lr": 1.3995623893519044e-05, "epoch": 0.8656670273612614, "percentage": 43.26, "elapsed_time": "1 day, 1:26:53", "remaining_time": "1 day, 9:22:24"}
|
| 141 |
+
{"current_steps": 1410, "total_steps": 3236, "loss": 0.0066, "lr": 1.3896495044831622e-05, "epoch": 0.8718503632709848, "percentage": 43.57, "elapsed_time": "1 day, 1:39:17", "remaining_time": "1 day, 9:13:25"}
|
| 142 |
+
{"current_steps": 1420, "total_steps": 3236, "loss": 0.0067, "lr": 1.37969126860896e-05, "epoch": 0.878033699180708, "percentage": 43.88, "elapsed_time": "1 day, 1:49:59", "remaining_time": "1 day, 9:02:14"}
|
| 143 |
+
{"current_steps": 1430, "total_steps": 3236, "loss": 0.0069, "lr": 1.3696888407606952e-05, "epoch": 0.8842170350904313, "percentage": 44.19, "elapsed_time": "1 day, 2:00:39", "remaining_time": "1 day, 8:51:00"}
|
| 144 |
+
{"current_steps": 1440, "total_steps": 3236, "loss": 0.0069, "lr": 1.3596433851132342e-05, "epoch": 0.8904003710001546, "percentage": 44.5, "elapsed_time": "1 day, 2:11:21", "remaining_time": "1 day, 8:39:50"}
|
| 145 |
+
{"current_steps": 1450, "total_steps": 3236, "loss": 0.007, "lr": 1.3495560708494167e-05, "epoch": 0.8965837069098779, "percentage": 44.81, "elapsed_time": "1 day, 2:22:10", "remaining_time": "1 day, 8:28:48"}
|
| 146 |
+
{"current_steps": 1460, "total_steps": 3236, "loss": 0.007, "lr": 1.3394280720239733e-05, "epoch": 0.9027670428196012, "percentage": 45.12, "elapsed_time": "1 day, 2:32:58", "remaining_time": "1 day, 8:17:45"}
|
| 147 |
+
{"current_steps": 1470, "total_steps": 3236, "loss": 0.0069, "lr": 1.3292605674268803e-05, "epoch": 0.9089503787293245, "percentage": 45.43, "elapsed_time": "1 day, 2:43:43", "remaining_time": "1 day, 8:06:39"}
|
| 148 |
+
{"current_steps": 1480, "total_steps": 3236, "loss": 0.007, "lr": 1.31905474044616e-05, "epoch": 0.9151337146390478, "percentage": 45.74, "elapsed_time": "1 day, 2:54:25", "remaining_time": "1 day, 7:55:29"}
|
| 149 |
+
{"current_steps": 1490, "total_steps": 3236, "loss": 0.0067, "lr": 1.3088117789301473e-05, "epoch": 0.9213170505487711, "percentage": 46.04, "elapsed_time": "1 day, 3:05:11", "remaining_time": "1 day, 7:44:24"}
|
| 150 |
+
{"current_steps": 1500, "total_steps": 3236, "loss": 0.0069, "lr": 1.298532875049237e-05, "epoch": 0.9275003864584943, "percentage": 46.35, "elapsed_time": "1 day, 3:15:54", "remaining_time": "1 day, 7:33:17"}
|