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 1600
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:1359176b8b6c09f763c381ac4117fc899b2b2a1b12f0b49cfad23447662a8cfa
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -148,3 +148,13 @@
|
|
| 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"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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"}
|
| 151 |
+
{"current_steps": 1510, "total_steps": 3236, "loss": 0.0068, "lr": 1.2882192251571282e-05, "epoch": 0.9336837223682176, "percentage": 46.66, "elapsed_time": "1 day, 3:28:22", "remaining_time": "1 day, 7:24:10"}
|
| 152 |
+
{"current_steps": 1520, "total_steps": 3236, "loss": 0.0068, "lr": 1.2778720296515816e-05, "epoch": 0.9398670582779409, "percentage": 46.97, "elapsed_time": "1 day, 3:39:09", "remaining_time": "1 day, 7:13:06"}
|
| 153 |
+
{"current_steps": 1530, "total_steps": 3236, "loss": 0.0067, "lr": 1.2674924928347055e-05, "epoch": 0.9460503941876642, "percentage": 47.28, "elapsed_time": "1 day, 3:49:51", "remaining_time": "1 day, 7:01:56"}
|
| 154 |
+
{"current_steps": 1540, "total_steps": 3236, "loss": 0.0068, "lr": 1.2570818227727889e-05, "epoch": 0.9522337300973875, "percentage": 47.59, "elapsed_time": "1 day, 4:00:38", "remaining_time": "1 day, 6:50:52"}
|
| 155 |
+
{"current_steps": 1550, "total_steps": 3236, "loss": 0.0068, "lr": 1.2466412311556952e-05, "epoch": 0.9584170660071109, "percentage": 47.9, "elapsed_time": "1 day, 4:11:25", "remaining_time": "1 day, 6:39:50"}
|
| 156 |
+
{"current_steps": 1560, "total_steps": 3236, "loss": 0.0068, "lr": 1.2361719331558346e-05, "epoch": 0.9646004019168342, "percentage": 48.21, "elapsed_time": "1 day, 4:22:08", "remaining_time": "1 day, 6:28:42"}
|
| 157 |
+
{"current_steps": 1570, "total_steps": 3236, "loss": 0.0067, "lr": 1.2256751472867304e-05, "epoch": 0.9707837378265575, "percentage": 48.52, "elapsed_time": "1 day, 4:32:54", "remaining_time": "1 day, 6:17:38"}
|
| 158 |
+
{"current_steps": 1580, "total_steps": 3236, "loss": 0.0067, "lr": 1.2151520952611984e-05, "epoch": 0.9769670737362808, "percentage": 48.83, "elapsed_time": "1 day, 4:43:36", "remaining_time": "1 day, 6:06:30"}
|
| 159 |
+
{"current_steps": 1590, "total_steps": 3236, "loss": 0.0066, "lr": 1.2046040018491523e-05, "epoch": 0.983150409646004, "percentage": 49.13, "elapsed_time": "1 day, 4:54:18", "remaining_time": "1 day, 5:55:23"}
|
| 160 |
+
{"current_steps": 1600, "total_steps": 3236, "loss": 0.007, "lr": 1.1940320947350532e-05, "epoch": 0.9893337455557273, "percentage": 49.44, "elapsed_time": "1 day, 5:05:05", "remaining_time": "1 day, 5:44:21"}
|