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 2400
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:0d88f77e4a87cc041aa9d6410a7c3932f25432a2324da66d2e415d6ecef2d021
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -228,3 +228,13 @@
|
|
| 228 |
{"current_steps": 2280, "total_steps": 3236, "loss": 0.0053, "lr": 4.872859609346733e-06, "epoch": 1.409336837223682, "percentage": 70.46, "elapsed_time": "1 day, 17:26:24", "remaining_time": "17:22:32"}
|
| 229 |
{"current_steps": 2290, "total_steps": 3236, "loss": 0.0053, "lr": 4.780534639568651e-06, "epoch": 1.4155201731334055, "percentage": 70.77, "elapsed_time": "1 day, 17:37:06", "remaining_time": "17:11:33"}
|
| 230 |
{"current_steps": 2300, "total_steps": 3236, "loss": 0.0055, "lr": 4.68881715934037e-06, "epoch": 1.4217035090431287, "percentage": 71.08, "elapsed_time": "1 day, 17:47:49", "remaining_time": "17:00:34"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
{"current_steps": 2280, "total_steps": 3236, "loss": 0.0053, "lr": 4.872859609346733e-06, "epoch": 1.409336837223682, "percentage": 70.46, "elapsed_time": "1 day, 17:26:24", "remaining_time": "17:22:32"}
|
| 229 |
{"current_steps": 2290, "total_steps": 3236, "loss": 0.0053, "lr": 4.780534639568651e-06, "epoch": 1.4155201731334055, "percentage": 70.77, "elapsed_time": "1 day, 17:37:06", "remaining_time": "17:11:33"}
|
| 230 |
{"current_steps": 2300, "total_steps": 3236, "loss": 0.0055, "lr": 4.68881715934037e-06, "epoch": 1.4217035090431287, "percentage": 71.08, "elapsed_time": "1 day, 17:47:49", "remaining_time": "17:00:34"}
|
| 231 |
+
{"current_steps": 2310, "total_steps": 3236, "loss": 0.0054, "lr": 4.597717843588708e-06, "epoch": 1.4278868449528521, "percentage": 71.38, "elapsed_time": "1 day, 18:00:13", "remaining_time": "16:50:16"}
|
| 232 |
+
{"current_steps": 2320, "total_steps": 3236, "loss": 0.0055, "lr": 4.5072472952928015e-06, "epoch": 1.4340701808625753, "percentage": 71.69, "elapsed_time": "1 day, 18:10:53", "remaining_time": "16:39:15"}
|
| 233 |
+
{"current_steps": 2330, "total_steps": 3236, "loss": 0.0057, "lr": 4.417416044250026e-06, "epoch": 1.4402535167722987, "percentage": 72.0, "elapsed_time": "1 day, 18:21:42", "remaining_time": "16:28:19"}
|
| 234 |
+
{"current_steps": 2340, "total_steps": 3236, "loss": 0.0052, "lr": 4.328234545850441e-06, "epoch": 1.446436852682022, "percentage": 72.31, "elapsed_time": "1 day, 18:32:25", "remaining_time": "16:17:20"}
|
| 235 |
+
{"current_steps": 2350, "total_steps": 3236, "loss": 0.0053, "lr": 4.239713179859901e-06, "epoch": 1.4526201885917454, "percentage": 72.62, "elapsed_time": "1 day, 18:43:06", "remaining_time": "16:06:20"}
|
| 236 |
+
{"current_steps": 2360, "total_steps": 3236, "loss": 0.0054, "lr": 4.151862249211953e-06, "epoch": 1.4588035245014686, "percentage": 72.93, "elapsed_time": "1 day, 18:53:53", "remaining_time": "15:55:23"}
|
| 237 |
+
{"current_steps": 2370, "total_steps": 3236, "loss": 0.0053, "lr": 4.064691978808699e-06, "epoch": 1.4649868604111917, "percentage": 73.24, "elapsed_time": "1 day, 19:04:35", "remaining_time": "15:44:24"}
|
| 238 |
+
{"current_steps": 2380, "total_steps": 3236, "loss": 0.0053, "lr": 3.978212514330703e-06, "epoch": 1.4711701963209152, "percentage": 73.55, "elapsed_time": "1 day, 19:15:21", "remaining_time": "15:33:27"}
|
| 239 |
+
{"current_steps": 2390, "total_steps": 3236, "loss": 0.0053, "lr": 3.892433921056184e-06, "epoch": 1.4773535322306384, "percentage": 73.86, "elapsed_time": "1 day, 19:26:05", "remaining_time": "15:22:29"}
|
| 240 |
+
{"current_steps": 2400, "total_steps": 3236, "loss": 0.0052, "lr": 3.8073661826894837e-06, "epoch": 1.4835368681403618, "percentage": 74.17, "elapsed_time": "1 day, 19:36:46", "remaining_time": "15:11:30"}
|