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 1100
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:1e3470e6b57806eba825096fee233bad5813df6a53d8e60013a337de9d779edf
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -98,3 +98,13 @@
|
|
| 98 |
{"current_steps": 980, "total_steps": 3236, "loss": 0.0077, "lr": 1.760546078476286e-05, "epoch": 0.605966919152883, "percentage": 30.28, "elapsed_time": "17:48:34", "remaining_time": "1 day, 16:59:53"}
|
| 99 |
{"current_steps": 990, "total_steps": 3236, "loss": 0.0076, "lr": 1.7534971960058684e-05, "epoch": 0.6121502550626062, "percentage": 30.59, "elapsed_time": "17:59:25", "remaining_time": "1 day, 16:48:52"}
|
| 100 |
{"current_steps": 1000, "total_steps": 3236, "loss": 0.0076, "lr": 1.7463606145776525e-05, "epoch": 0.6183335909723295, "percentage": 30.9, "elapsed_time": "18:10:09", "remaining_time": "1 day, 16:37:36"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
{"current_steps": 980, "total_steps": 3236, "loss": 0.0077, "lr": 1.760546078476286e-05, "epoch": 0.605966919152883, "percentage": 30.28, "elapsed_time": "17:48:34", "remaining_time": "1 day, 16:59:53"}
|
| 99 |
{"current_steps": 990, "total_steps": 3236, "loss": 0.0076, "lr": 1.7534971960058684e-05, "epoch": 0.6121502550626062, "percentage": 30.59, "elapsed_time": "17:59:25", "remaining_time": "1 day, 16:48:52"}
|
| 100 |
{"current_steps": 1000, "total_steps": 3236, "loss": 0.0076, "lr": 1.7463606145776525e-05, "epoch": 0.6183335909723295, "percentage": 30.9, "elapsed_time": "18:10:09", "remaining_time": "1 day, 16:37:36"}
|
| 101 |
+
{"current_steps": 1010, "total_steps": 3236, "loss": 0.0075, "lr": 1.739137164812849e-05, "epoch": 0.6245169268820528, "percentage": 31.21, "elapsed_time": "18:22:30", "remaining_time": "1 day, 16:29:53"}
|
| 102 |
+
{"current_steps": 1020, "total_steps": 3236, "loss": 0.0077, "lr": 1.731827687443208e-05, "epoch": 0.6307002627917762, "percentage": 31.52, "elapsed_time": "18:33:17", "remaining_time": "1 day, 16:18:41"}
|
| 103 |
+
{"current_steps": 1030, "total_steps": 3236, "loss": 0.0072, "lr": 1.7244330332131657e-05, "epoch": 0.6368835987014995, "percentage": 31.83, "elapsed_time": "18:43:56", "remaining_time": "1 day, 16:07:11"}
|
| 104 |
+
{"current_steps": 1040, "total_steps": 3236, "loss": 0.0074, "lr": 1.7169540627808276e-05, "epoch": 0.6430669346112228, "percentage": 32.14, "elapsed_time": "18:54:40", "remaining_time": "1 day, 15:55:55"}
|
| 105 |
+
{"current_steps": 1050, "total_steps": 3236, "loss": 0.0073, "lr": 1.7093916466177972e-05, "epoch": 0.6492502705209461, "percentage": 32.45, "elapsed_time": "19:05:33", "remaining_time": "1 day, 15:44:57"}
|
| 106 |
+
{"current_steps": 1060, "total_steps": 3236, "loss": 0.0072, "lr": 1.701746664907862e-05, "epoch": 0.6554336064306694, "percentage": 32.76, "elapsed_time": "19:16:22", "remaining_time": "1 day, 15:33:50"}
|
| 107 |
+
{"current_steps": 1070, "total_steps": 3236, "loss": 0.0073, "lr": 1.6940200074445503e-05, "epoch": 0.6616169423403926, "percentage": 33.07, "elapsed_time": "19:27:03", "remaining_time": "1 day, 15:22:28"}
|
| 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"}
|