Text Generation
Transformers
Safetensors
English
qwen2
aureon
causal-lm
from-scratch
bf16
text-generation-inference
Instructions to use GaryLeckey/aureon-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GaryLeckey/aureon-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="GaryLeckey/aureon-7b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("GaryLeckey/aureon-7b") model = AutoModelForCausalLM.from_pretrained("GaryLeckey/aureon-7b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use GaryLeckey/aureon-7b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GaryLeckey/aureon-7b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GaryLeckey/aureon-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/GaryLeckey/aureon-7b
- SGLang
How to use GaryLeckey/aureon-7b 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 "GaryLeckey/aureon-7b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GaryLeckey/aureon-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "GaryLeckey/aureon-7b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GaryLeckey/aureon-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use GaryLeckey/aureon-7b with Docker Model Runner:
docker model run hf.co/GaryLeckey/aureon-7b
File size: 838 Bytes
0757a7b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | {
"aggregate": {
"explain_line_f1": 0.19042254384675905,
"explain_rows": 66,
"explain_symbol_recall": 0.061392267344648296,
"implement_line_f1": 0.016413346611668555,
"implement_rows": 638,
"implement_symbol_recall": 0.30049261083743845,
"line_f1": 0.035554558485818205,
"parse_rate": 0.4624183006535948,
"parse_scored": 612,
"rows": 1125,
"symbol_recall": 0.2411196294744682,
"symbol_scored": 775
},
"evaluation_data": "training/sft/eval.jsonl",
"evaluation_job_id": "8602611",
"max_new_tokens": 1024,
"model": "GaryLeckey/aureon-7b",
"rows": 1125,
"schema": "aureon.evaluation-summary.v1",
"source_file": "runs/eval-sft-label-fix.json",
"source_sha256": "e5c5614348d4ffb8facbeb6e347aad81343de03170d7a08f38ee5a3c74e12ac4",
"training_run": "aureon-7b-sft-label-fix"
}
|