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 2900
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:8d2c9d57d8e59d3dda76f6e781d61062a5b101bef1ef1673f9c00e45f2417f0d
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -38,3 +38,13 @@
|
|
| 38 |
{"current_steps": 2780, "total_steps": 3236, "loss": 0.0046, "lr": 1.190979145386939e-06, "epoch": 1.7185036327098469, "percentage": 85.91, "elapsed_time": "6:54:22", "remaining_time": "1:07:58"}
|
| 39 |
{"current_steps": 2790, "total_steps": 3236, "loss": 0.0045, "lr": 1.1404312610235968e-06, "epoch": 1.7246869686195703, "percentage": 86.22, "elapsed_time": "7:05:08", "remaining_time": "1:07:57"}
|
| 40 |
{"current_steps": 2800, "total_steps": 3236, "loss": 0.0046, "lr": 1.0909145350362516e-06, "epoch": 1.7308703045292937, "percentage": 86.53, "elapsed_time": "7:15:50", "remaining_time": "1:07:51"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
{"current_steps": 2780, "total_steps": 3236, "loss": 0.0046, "lr": 1.190979145386939e-06, "epoch": 1.7185036327098469, "percentage": 85.91, "elapsed_time": "6:54:22", "remaining_time": "1:07:58"}
|
| 39 |
{"current_steps": 2790, "total_steps": 3236, "loss": 0.0045, "lr": 1.1404312610235968e-06, "epoch": 1.7246869686195703, "percentage": 86.22, "elapsed_time": "7:05:08", "remaining_time": "1:07:57"}
|
| 40 |
{"current_steps": 2800, "total_steps": 3236, "loss": 0.0046, "lr": 1.0909145350362516e-06, "epoch": 1.7308703045292937, "percentage": 86.53, "elapsed_time": "7:15:50", "remaining_time": "1:07:51"}
|
| 41 |
+
{"current_steps": 2810, "total_steps": 3236, "loss": 0.0046, "lr": 1.042434730638473e-06, "epoch": 1.7370536404390169, "percentage": 86.84, "elapsed_time": "7:28:10", "remaining_time": "1:07:56"}
|
| 42 |
+
{"current_steps": 2820, "total_steps": 3236, "loss": 0.0044, "lr": 9.949974903573223e-07, "epoch": 1.74323697634874, "percentage": 87.14, "elapsed_time": "7:38:55", "remaining_time": "1:07:41"}
|
| 43 |
+
{"current_steps": 2830, "total_steps": 3236, "loss": 0.0045, "lr": 9.486083353766262e-07, "epoch": 1.7494203122584633, "percentage": 87.45, "elapsed_time": "7:49:34", "remaining_time": "1:07:22"}
|
| 44 |
+
{"current_steps": 2840, "total_steps": 3236, "loss": 0.0047, "lr": 9.032726648943779e-07, "epoch": 1.7556036481681867, "percentage": 87.76, "elapsed_time": "8:00:23", "remaining_time": "1:06:59"}
|
| 45 |
+
{"current_steps": 2850, "total_steps": 3236, "loss": 0.0043, "lr": 8.58995755494314e-07, "epoch": 1.7617869840779101, "percentage": 88.07, "elapsed_time": "8:11:14", "remaining_time": "1:06:32"}
|
| 46 |
+
{"current_steps": 2860, "total_steps": 3236, "loss": 0.0045, "lr": 8.157827605317892e-07, "epoch": 1.7679703199876333, "percentage": 88.38, "elapsed_time": "8:21:56", "remaining_time": "1:05:59"}
|
| 47 |
+
{"current_steps": 2870, "total_steps": 3236, "loss": 0.0046, "lr": 7.736387095339748e-07, "epoch": 1.7741536558973565, "percentage": 88.69, "elapsed_time": "8:32:43", "remaining_time": "1:05:23"}
|
| 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"}
|