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)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("adpretko/train-armv8-O2_epoch3_AMD") model = AutoModelForCausalLM.from_pretrained("adpretko/train-armv8-O2_epoch3_AMD", device_map="auto") 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=256) 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 1200
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:db71e2e05e8483a99c1b1b3ab2fae079915efc473495d05c92ad54f7b08d6022
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -108,3 +108,13 @@
|
|
| 108 |
{"current_steps": 1080, "total_steps": 3236, "loss": 0.0077, "lr": 1.6862125735275675e-05, "epoch": 0.6678002782501159, "percentage": 33.37, "elapsed_time": "19:37:49", "remaining_time": "1 day, 15:11:16"}
|
| 109 |
{"current_steps": 1090, "total_steps": 3236, "loss": 0.0078, "lr": 1.6783252718581296e-05, "epoch": 0.6739836141598392, "percentage": 33.68, "elapsed_time": "19:48:39", "remaining_time": "1 day, 15:00:13"}
|
| 110 |
{"current_steps": 1100, "total_steps": 3236, "loss": 0.0073, "lr": 1.6703590204331967e-05, "epoch": 0.6801669500695625, "percentage": 33.99, "elapsed_time": "19:59:24", "remaining_time": "1 day, 14:49:02"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
{"current_steps": 1080, "total_steps": 3236, "loss": 0.0077, "lr": 1.6862125735275675e-05, "epoch": 0.6678002782501159, "percentage": 33.37, "elapsed_time": "19:37:49", "remaining_time": "1 day, 15:11:16"}
|
| 109 |
{"current_steps": 1090, "total_steps": 3236, "loss": 0.0078, "lr": 1.6783252718581296e-05, "epoch": 0.6739836141598392, "percentage": 33.68, "elapsed_time": "19:48:39", "remaining_time": "1 day, 15:00:13"}
|
| 110 |
{"current_steps": 1100, "total_steps": 3236, "loss": 0.0073, "lr": 1.6703590204331967e-05, "epoch": 0.6801669500695625, "percentage": 33.99, "elapsed_time": "19:59:24", "remaining_time": "1 day, 14:49:02"}
|
| 111 |
+
{"current_steps": 1110, "total_steps": 3236, "loss": 0.0075, "lr": 1.6623147464386324e-05, "epoch": 0.6863502859792858, "percentage": 34.3, "elapsed_time": "20:11:42", "remaining_time": "1 day, 14:40:48"}
|
| 112 |
+
{"current_steps": 1120, "total_steps": 3236, "loss": 0.0073, "lr": 1.6541933861412848e-05, "epoch": 0.6925336218890091, "percentage": 34.61, "elapsed_time": "20:22:27", "remaining_time": "1 day, 14:29:34"}
|
| 113 |
+
{"current_steps": 1130, "total_steps": 3236, "loss": 0.0076, "lr": 1.645995884780019e-05, "epoch": 0.6987169577987324, "percentage": 34.92, "elapsed_time": "20:33:09", "remaining_time": "1 day, 14:18:14"}
|
| 114 |
+
{"current_steps": 1140, "total_steps": 3236, "loss": 0.0073, "lr": 1.637723196455699e-05, "epoch": 0.7049002937084557, "percentage": 35.23, "elapsed_time": "20:43:53", "remaining_time": "1 day, 14:07:00"}
|
| 115 |
+
{"current_steps": 1150, "total_steps": 3236, "loss": 0.0075, "lr": 1.629376284020143e-05, "epoch": 0.7110836296181791, "percentage": 35.54, "elapsed_time": "20:54:36", "remaining_time": "1 day, 13:55:45"}
|
| 116 |
+
{"current_steps": 1160, "total_steps": 3236, "loss": 0.0074, "lr": 1.620956118964053e-05, "epoch": 0.7172669655279023, "percentage": 35.85, "elapsed_time": "21:05:25", "remaining_time": "1 day, 13:44:40"}
|
| 117 |
+
{"current_steps": 1170, "total_steps": 3236, "loss": 0.0073, "lr": 1.6124636813039502e-05, "epoch": 0.7234503014376256, "percentage": 36.16, "elapsed_time": "21:16:07", "remaining_time": "1 day, 13:33:24"}
|
| 118 |
+
{"current_steps": 1180, "total_steps": 3236, "loss": 0.0072, "lr": 1.6038999594681074e-05, "epoch": 0.7296336373473489, "percentage": 36.46, "elapsed_time": "21:26:51", "remaining_time": "1 day, 13:22:11"}
|
| 119 |
+
{"current_steps": 1190, "total_steps": 3236, "loss": 0.0073, "lr": 1.5952659501815073e-05, "epoch": 0.7358169732570722, "percentage": 36.77, "elapsed_time": "21:37:36", "remaining_time": "1 day, 13:11:00"}
|
| 120 |
+
{"current_steps": 1200, "total_steps": 3236, "loss": 0.0073, "lr": 1.5865626583498355e-05, "epoch": 0.7420003091667955, "percentage": 37.08, "elapsed_time": "21:48:18", "remaining_time": "1 day, 12:59:44"}
|