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 3000
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:3488f4c53fbaebee5adba690d7a37688d7eb0963aceb98fb9cb9e7c4e411a7be
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -48,3 +48,13 @@
|
|
| 48 |
{"current_steps": 2880, "total_steps": 3236, "loss": 0.0044, "lr": 7.325685076144795e-07, "epoch": 1.78033699180708, "percentage": 89.0, "elapsed_time": "8:43:26", "remaining_time": "1:04:42"}
|
| 49 |
{"current_steps": 2890, "total_steps": 3236, "loss": 0.0046, "lr": 6.925769349024459e-07, "epoch": 1.7865203277168034, "percentage": 89.31, "elapsed_time": "8:54:09", "remaining_time": "1:03:57"}
|
| 50 |
{"current_steps": 2900, "total_steps": 3236, "loss": 0.0044, "lr": 6.536686459861918e-07, "epoch": 1.7927036636265266, "percentage": 89.62, "elapsed_time": "9:05:01", "remaining_time": "1:03:08"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
{"current_steps": 2880, "total_steps": 3236, "loss": 0.0044, "lr": 7.325685076144795e-07, "epoch": 1.78033699180708, "percentage": 89.0, "elapsed_time": "8:43:26", "remaining_time": "1:04:42"}
|
| 49 |
{"current_steps": 2890, "total_steps": 3236, "loss": 0.0046, "lr": 6.925769349024459e-07, "epoch": 1.7865203277168034, "percentage": 89.31, "elapsed_time": "8:54:09", "remaining_time": "1:03:57"}
|
| 50 |
{"current_steps": 2900, "total_steps": 3236, "loss": 0.0044, "lr": 6.536686459861918e-07, "epoch": 1.7927036636265266, "percentage": 89.62, "elapsed_time": "9:05:01", "remaining_time": "1:03:08"}
|
| 51 |
+
{"current_steps": 2910, "total_steps": 3236, "loss": 0.0045, "lr": 6.158481693714735e-07, "epoch": 1.7988869995362498, "percentage": 89.93, "elapsed_time": "9:17:27", "remaining_time": "1:02:27"}
|
| 52 |
+
{"current_steps": 2920, "total_steps": 3236, "loss": 0.0043, "lr": 5.791199069544074e-07, "epoch": 1.805070335445973, "percentage": 90.23, "elapsed_time": "9:28:08", "remaining_time": "1:01:29"}
|
| 53 |
+
{"current_steps": 2930, "total_steps": 3236, "loss": 0.0047, "lr": 5.434881335091458e-07, "epoch": 1.8112536713556964, "percentage": 90.54, "elapsed_time": "9:38:53", "remaining_time": "1:00:27"}
|
| 54 |
+
{"current_steps": 2940, "total_steps": 3236, "loss": 0.0048, "lr": 5.089569961903318e-07, "epoch": 1.8174370072654198, "percentage": 90.85, "elapsed_time": "9:49:44", "remaining_time": "0:59:22"}
|
| 55 |
+
{"current_steps": 2950, "total_steps": 3236, "loss": 0.0044, "lr": 4.755305140504185e-07, "epoch": 1.823620343175143, "percentage": 91.16, "elapsed_time": "10:00:29", "remaining_time": "0:58:13"}
|
| 56 |
+
{"current_steps": 2960, "total_steps": 3236, "loss": 0.0044, "lr": 4.432125775718965e-07, "epoch": 1.8298036790848662, "percentage": 91.47, "elapsed_time": "10:11:18", "remaining_time": "0:57:00"}
|
| 57 |
+
{"current_steps": 2970, "total_steps": 3236, "loss": 0.0045, "lr": 4.120069482144773e-07, "epoch": 1.8359870149945896, "percentage": 91.78, "elapsed_time": "10:22:04", "remaining_time": "0:55:42"}
|
| 58 |
+
{"current_steps": 2980, "total_steps": 3236, "loss": 0.0045, "lr": 3.8191725797730897e-07, "epoch": 1.842170350904313, "percentage": 92.09, "elapsed_time": "10:32:47", "remaining_time": "0:54:21"}
|
| 59 |
+
{"current_steps": 2990, "total_steps": 3236, "loss": 0.0045, "lr": 3.529470089762421e-07, "epoch": 1.8483536868140362, "percentage": 92.4, "elapsed_time": "10:43:22", "remaining_time": "0:52:55"}
|
| 60 |
+
{"current_steps": 3000, "total_steps": 3236, "loss": 0.0045, "lr": 3.2509957303622496e-07, "epoch": 1.8545370227237594, "percentage": 92.71, "elapsed_time": "10:54:06", "remaining_time": "0:51:27"}
|