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 800
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:5a56b2fe1ef15aee80799115de4266f9297c86ea1588c72529c965ebfb823b49
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -68,3 +68,13 @@
|
|
| 68 |
{"current_steps": 680, "total_steps": 3236, "loss": 0.0082, "lr": 1.9275516248022613e-05, "epoch": 0.4204668418611841, "percentage": 21.01, "elapsed_time": "12:21:04", "remaining_time": "1 day, 22:25:34"}
|
| 69 |
{"current_steps": 690, "total_steps": 3236, "loss": 0.0078, "lr": 1.9234661393543668e-05, "epoch": 0.4266501777709074, "percentage": 21.32, "elapsed_time": "12:31:50", "remaining_time": "1 day, 22:14:11"}
|
| 70 |
{"current_steps": 700, "total_steps": 3236, "loss": 0.0082, "lr": 1.91927317239438e-05, "epoch": 0.4328335136806307, "percentage": 21.63, "elapsed_time": "12:42:35", "remaining_time": "1 day, 22:02:44"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
{"current_steps": 680, "total_steps": 3236, "loss": 0.0082, "lr": 1.9275516248022613e-05, "epoch": 0.4204668418611841, "percentage": 21.01, "elapsed_time": "12:21:04", "remaining_time": "1 day, 22:25:34"}
|
| 69 |
{"current_steps": 690, "total_steps": 3236, "loss": 0.0078, "lr": 1.9234661393543668e-05, "epoch": 0.4266501777709074, "percentage": 21.32, "elapsed_time": "12:31:50", "remaining_time": "1 day, 22:14:11"}
|
| 70 |
{"current_steps": 700, "total_steps": 3236, "loss": 0.0082, "lr": 1.91927317239438e-05, "epoch": 0.4328335136806307, "percentage": 21.63, "elapsed_time": "12:42:35", "remaining_time": "1 day, 22:02:44"}
|
| 71 |
+
{"current_steps": 710, "total_steps": 3236, "loss": 0.0083, "lr": 1.9149732119384942e-05, "epoch": 0.439016849590354, "percentage": 21.94, "elapsed_time": "12:54:59", "remaining_time": "1 day, 21:57:13"}
|
| 72 |
+
{"current_steps": 720, "total_steps": 3236, "loss": 0.0077, "lr": 1.9105667584557914e-05, "epoch": 0.4452001855000773, "percentage": 22.25, "elapsed_time": "13:05:39", "remaining_time": "1 day, 21:45:25"}
|
| 73 |
+
{"current_steps": 730, "total_steps": 3236, "loss": 0.0081, "lr": 1.9060543248099958e-05, "epoch": 0.4513835214098006, "percentage": 22.56, "elapsed_time": "13:16:25", "remaining_time": "1 day, 21:34:03"}
|
| 74 |
+
{"current_steps": 740, "total_steps": 3236, "loss": 0.0082, "lr": 1.9014364361997813e-05, "epoch": 0.4575668573195239, "percentage": 22.87, "elapsed_time": "13:27:16", "remaining_time": "1 day, 21:22:56"}
|
| 75 |
+
{"current_steps": 750, "total_steps": 3236, "loss": 0.0081, "lr": 1.896713630097643e-05, "epoch": 0.46375019322924715, "percentage": 23.18, "elapsed_time": "13:38:08", "remaining_time": "1 day, 21:11:52"}
|
| 76 |
+
{"current_steps": 760, "total_steps": 3236, "loss": 0.0078, "lr": 1.8918864561873428e-05, "epoch": 0.46993352913897046, "percentage": 23.49, "elapsed_time": "13:48:53", "remaining_time": "1 day, 21:00:27"}
|
| 77 |
+
{"current_steps": 770, "total_steps": 3236, "loss": 0.0079, "lr": 1.8869554762999307e-05, "epoch": 0.47611686504869377, "percentage": 23.79, "elapsed_time": "13:59:40", "remaining_time": "1 day, 20:49:08"}
|
| 78 |
+
{"current_steps": 780, "total_steps": 3236, "loss": 0.008, "lr": 1.881921264348355e-05, "epoch": 0.4823002009584171, "percentage": 24.1, "elapsed_time": "14:10:24", "remaining_time": "1 day, 20:37:40"}
|
| 79 |
+
{"current_steps": 790, "total_steps": 3236, "loss": 0.0078, "lr": 1.876784406260664e-05, "epoch": 0.4884835368681404, "percentage": 24.41, "elapsed_time": "14:21:08", "remaining_time": "1 day, 20:26:15"}
|
| 80 |
+
{"current_steps": 800, "total_steps": 3236, "loss": 0.0079, "lr": 1.871545499911811e-05, "epoch": 0.49466687277786364, "percentage": 24.72, "elapsed_time": "14:31:51", "remaining_time": "1 day, 20:14:48"}
|