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 2100
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:fe7d6fd04ee9b86f16477fc13ace1535e42acea0c046941cbdd76142ad8006f0
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -198,3 +198,13 @@
|
|
| 198 |
{"current_steps": 1980, "total_steps": 3236, "loss": 0.0059, "lr": 7.869555593551277e-06, "epoch": 1.2238367599319833, "percentage": 61.19, "elapsed_time": "1 day, 11:59:29", "remaining_time": "22:49:51"}
|
| 199 |
{"current_steps": 1990, "total_steps": 3236, "loss": 0.0059, "lr": 7.764274009753796e-06, "epoch": 1.2300200958417067, "percentage": 61.5, "elapsed_time": "1 day, 12:10:09", "remaining_time": "22:38:48"}
|
| 200 |
{"current_steps": 2000, "total_steps": 3236, "loss": 0.0056, "lr": 7.659252640380876e-06, "epoch": 1.2362034317514299, "percentage": 61.8, "elapsed_time": "1 day, 12:20:50", "remaining_time": "22:27:45"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 198 |
{"current_steps": 1980, "total_steps": 3236, "loss": 0.0059, "lr": 7.869555593551277e-06, "epoch": 1.2238367599319833, "percentage": 61.19, "elapsed_time": "1 day, 11:59:29", "remaining_time": "22:49:51"}
|
| 199 |
{"current_steps": 1990, "total_steps": 3236, "loss": 0.0059, "lr": 7.764274009753796e-06, "epoch": 1.2300200958417067, "percentage": 61.5, "elapsed_time": "1 day, 12:10:09", "remaining_time": "22:38:48"}
|
| 200 |
{"current_steps": 2000, "total_steps": 3236, "loss": 0.0056, "lr": 7.659252640380876e-06, "epoch": 1.2362034317514299, "percentage": 61.8, "elapsed_time": "1 day, 12:20:50", "remaining_time": "22:27:45"}
|
| 201 |
+
{"current_steps": 2010, "total_steps": 3236, "loss": 0.0055, "lr": 7.554503708788738e-06, "epoch": 1.242386767661153, "percentage": 62.11, "elapsed_time": "1 day, 12:33:13", "remaining_time": "22:17:45"}
|
| 202 |
+
{"current_steps": 2020, "total_steps": 3236, "loss": 0.0057, "lr": 7.450039406624792e-06, "epoch": 1.2485701035708765, "percentage": 62.42, "elapsed_time": "1 day, 12:43:59", "remaining_time": "22:06:45"}
|
| 203 |
+
{"current_steps": 2030, "total_steps": 3236, "loss": 0.0056, "lr": 7.345871892408631e-06, "epoch": 1.2547534394806, "percentage": 62.73, "elapsed_time": "1 day, 12:54:37", "remaining_time": "21:55:41"}
|
| 204 |
+
{"current_steps": 2040, "total_steps": 3236, "loss": 0.0057, "lr": 7.242013290116944e-06, "epoch": 1.2609367753903231, "percentage": 63.04, "elapsed_time": "1 day, 13:05:26", "remaining_time": "21:44:42"}
|
| 205 |
+
{"current_steps": 2050, "total_steps": 3236, "loss": 0.0056, "lr": 7.138475687772381e-06, "epoch": 1.2671201113000463, "percentage": 63.35, "elapsed_time": "1 day, 13:16:10", "remaining_time": "21:33:42"}
|
| 206 |
+
{"current_steps": 2060, "total_steps": 3236, "loss": 0.0058, "lr": 7.03527113603667e-06, "epoch": 1.2733034472097697, "percentage": 63.66, "elapsed_time": "1 day, 13:26:58", "remaining_time": "21:22:44"}
|
| 207 |
+
{"current_steps": 2070, "total_steps": 3236, "loss": 0.0056, "lr": 6.9324116468080305e-06, "epoch": 1.279486783119493, "percentage": 63.97, "elapsed_time": "1 day, 13:37:41", "remaining_time": "21:11:43"}
|
| 208 |
+
{"current_steps": 2080, "total_steps": 3236, "loss": 0.0054, "lr": 6.829909191823121e-06, "epoch": 1.2856701190292164, "percentage": 64.28, "elapsed_time": "1 day, 13:48:26", "remaining_time": "21:00:43"}
|
| 209 |
+
{"current_steps": 2090, "total_steps": 3236, "loss": 0.0058, "lr": 6.727775701263666e-06, "epoch": 1.2918534549389395, "percentage": 64.59, "elapsed_time": "1 day, 13:59:12", "remaining_time": "20:49:44"}
|
| 210 |
+
{"current_steps": 2100, "total_steps": 3236, "loss": 0.006, "lr": 6.626023062367894e-06, "epoch": 1.2980367908486627, "percentage": 64.89, "elapsed_time": "1 day, 14:09:57", "remaining_time": "20:38:45"}
|