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: 1,620 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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | {
"source_checkpoint": "sft_0001578.pt",
"step": 1578,
"tokens": 62658432,
"params": 6995383808,
"params_b": 6.995,
"vocab_size": 65536,
"eos_token": "<eos>",
"schema_version": 1,
"model_name": "aureon-7b",
"parameters": 6995383808,
"architecture": "Qwen2ForCausalLM",
"random_initialization": true,
"training_run": "aureon-7b-sft-label-fix",
"base_checkpoint": "runs/aureon-7b-v65k/pinned/ckpt_0017000.pt",
"base_source_step": 17000,
"evidence_jobs": {
"sft": "8602598",
"export": "8602600",
"evaluation": "8602611"
},
"sft_step": 1578,
"supervised_tokens": 62658432,
"num_hidden_layers": 28,
"hidden_size": 3584,
"max_position_embeddings": 32768,
"dtype": "bf16",
"tokenizer": {
"type": "byte-level BPE",
"eos_token": "<eos>",
"eos_token_id": 1,
"bos_token": "<eos>",
"bos_token_id": 1
},
"source_path": "/lus/lfs1aip2/projects/u6vs/hnc-organism/runs/aureon-7b-sft-label-fix/hf",
"destination_path": "/lus/lfs1aip2/projects/u6vs/aureon-hf-release/model-overlay",
"weights": {
"filename": "model.safetensors",
"copied": false
},
"evaluation": {
"file": "eval-sft-label-fix.json",
"rows": 1125,
"parse_rate": 0.4624183006535948,
"parse_scored": 612,
"symbol_recall": 0.2411196294744682,
"symbol_scored": 775,
"line_f1": 0.035554558485818205,
"implement_rows": 638,
"implement_symbol_recall": 0.30049261083743845,
"implement_line_f1": 0.016413346611668555,
"explain_rows": 66,
"explain_symbol_recall": 0.061392267344648296,
"explain_line_f1": 0.19042254384675905
}
}
|