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 2700
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:e07c2a4cc7b6d6e1c2812750c468a861e6a6682057b4272f3233d8ba868ef761
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -18,3 +18,13 @@
|
|
| 18 |
{"current_steps": 2580, "total_steps": 3236, "loss": 0.0047, "lr": 2.408566425735446e-06, "epoch": 1.5948369145153811, "percentage": 79.73, "elapsed_time": "3:15:56", "remaining_time": "0:49:49"}
|
| 19 |
{"current_steps": 2590, "total_steps": 3236, "loss": 0.0046, "lr": 2.338785104606082e-06, "epoch": 1.6010202504251043, "percentage": 80.04, "elapsed_time": "3:26:38", "remaining_time": "0:51:32"}
|
| 20 |
{"current_steps": 2600, "total_steps": 3236, "loss": 0.0047, "lr": 2.26989546637263e-06, "epoch": 1.6072035863348275, "percentage": 80.35, "elapsed_time": "3:37:22", "remaining_time": "0:53:10"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
{"current_steps": 2580, "total_steps": 3236, "loss": 0.0047, "lr": 2.408566425735446e-06, "epoch": 1.5948369145153811, "percentage": 79.73, "elapsed_time": "3:15:56", "remaining_time": "0:49:49"}
|
| 19 |
{"current_steps": 2590, "total_steps": 3236, "loss": 0.0046, "lr": 2.338785104606082e-06, "epoch": 1.6010202504251043, "percentage": 80.04, "elapsed_time": "3:26:38", "remaining_time": "0:51:32"}
|
| 20 |
{"current_steps": 2600, "total_steps": 3236, "loss": 0.0047, "lr": 2.26989546637263e-06, "epoch": 1.6072035863348275, "percentage": 80.35, "elapsed_time": "3:37:22", "remaining_time": "0:53:10"}
|
| 21 |
+
{"current_steps": 2610, "total_steps": 3236, "loss": 0.0048, "lr": 2.2019055290469816e-06, "epoch": 1.613386922244551, "percentage": 80.66, "elapsed_time": "3:49:55", "remaining_time": "0:55:08"}
|
| 22 |
+
{"current_steps": 2620, "total_steps": 3236, "loss": 0.0049, "lr": 2.1348232059255293e-06, "epoch": 1.6195702581542744, "percentage": 80.96, "elapsed_time": "4:00:36", "remaining_time": "0:56:34"}
|
| 23 |
+
{"current_steps": 2630, "total_steps": 3236, "loss": 0.0047, "lr": 2.0686563046681507e-06, "epoch": 1.6257535940639976, "percentage": 81.27, "elapsed_time": "4:11:20", "remaining_time": "0:57:54"}
|
| 24 |
+
{"current_steps": 2640, "total_steps": 3236, "loss": 0.0047, "lr": 2.0034125263894777e-06, "epoch": 1.6319369299737208, "percentage": 81.58, "elapsed_time": "4:22:04", "remaining_time": "0:59:09"}
|
| 25 |
+
{"current_steps": 2650, "total_steps": 3236, "loss": 0.0043, "lr": 1.9390994647625693e-06, "epoch": 1.6381202658834442, "percentage": 81.89, "elapsed_time": "4:32:43", "remaining_time": "1:00:18"}
|
| 26 |
+
{"current_steps": 2660, "total_steps": 3236, "loss": 0.0047, "lr": 1.8757246051350908e-06, "epoch": 1.6443036017931674, "percentage": 82.2, "elapsed_time": "4:43:36", "remaining_time": "1:01:24"}
|
| 27 |
+
{"current_steps": 2670, "total_steps": 3236, "loss": 0.0045, "lr": 1.813295323658103e-06, "epoch": 1.6504869377028908, "percentage": 82.51, "elapsed_time": "4:54:19", "remaining_time": "1:02:23"}
|
| 28 |
+
{"current_steps": 2680, "total_steps": 3236, "loss": 0.0045, "lr": 1.7518188864275498e-06, "epoch": 1.656670273612614, "percentage": 82.82, "elapsed_time": "5:05:12", "remaining_time": "1:03:19"}
|
| 29 |
+
{"current_steps": 2690, "total_steps": 3236, "loss": 0.0047, "lr": 1.6913024486385733e-06, "epoch": 1.6628536095223372, "percentage": 83.13, "elapsed_time": "5:15:53", "remaining_time": "1:04:07"}
|
| 30 |
+
{"current_steps": 2700, "total_steps": 3236, "loss": 0.0047, "lr": 1.6317530537527148e-06, "epoch": 1.6690369454320606, "percentage": 83.44, "elapsed_time": "5:26:42", "remaining_time": "1:04:51"}
|