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
Commit History
-
final save
Verified signature70b2ded -
Training in progress, step 3200
Verified signaturecc8662c -
Training in progress, step 3100
Verified signaturebc11041 -
Training in progress, step 3000
Verified signature2822d24 -
Training in progress, step 2900
Verified signaturead86741 -
Training in progress, step 2800
Verified signature4601c54 -
Training in progress, step 2700
Verified signature2d6e81c -
Training in progress, step 2600
Verified signature3caf631
-
Training in progress, step 2500
Verified signature2e69e15 -
Training in progress, step 2400
Verified signaturef236dc4 -
Training in progress, step 2300
Verified signature23a79ce -
Training in progress, step 2200
Verified signatured19f62d -
Training in progress, step 2100
Verified signature852937a -
Training in progress, step 2000
Verified signature22d8007 -
Training in progress, step 1900
Verified signature9e1aa2e -
Training in progress, step 1800
Verified signaturef2209a6 -
Training in progress, step 1700
Verified signature417505d -
Training in progress, step 1600
Verified signaturedf41d17
-
Training in progress, step 1500
Verified signaturee539331 -
Training in progress, step 1400
Verified signature5aa584f -
Training in progress, step 1300
Verified signaturebe8b7b3 -
Training in progress, step 1200
Verified signature833db18 -
Training in progress, step 1100
Verified signature845c84d -
Training in progress, step 1000
Verified signature78680e2 -
Training in progress, step 900
Verified signature3964f2e -
Training in progress, step 800
Verified signatureae002b8 -
Training in progress, step 700
Verified signaturef4788ca -
Training in progress, step 600
Verified signature79e88b9 -
Training in progress, step 500
Verified signatured69b099 -
Training in progress, step 400
Verified signature717a1e3 -
Training in progress, step 300
Verified signature0740fb8
-
Training in progress, step 200
Verified signature6eba76e -
Training in progress, step 100
Verified signature403ec07 -
initial commit
Verified signatureb99ae1d