Instructions to use deepparag/Aeona with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepparag/Aeona with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="deepparag/Aeona") 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("deepparag/Aeona") model = AutoModelForCausalLM.from_pretrained("deepparag/Aeona", 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 deepparag/Aeona with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "deepparag/Aeona" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deepparag/Aeona", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/deepparag/Aeona
- SGLang
How to use deepparag/Aeona 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 "deepparag/Aeona" \ --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": "deepparag/Aeona", "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 "deepparag/Aeona" \ --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": "deepparag/Aeona", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use deepparag/Aeona with Docker Model Runner:
docker model run hf.co/deepparag/Aeona
Commit History
-
Upload model
c06075f
-
Upload model
2a58c5c -
Update config.json
c588709
-
Upload model
02daaf8
-
Upload model
f5d46ab
-
Upload model
7ce9e81
-
Update config.json (#2)
- Update config.json (03431e99327505950682f129cef61517286c51db) Co-authored-by: TheW olf <TheWolf@users.noreply.huggingface.co>98e8f13
-
Upload model
419a177
-
Upload model
8f4e659 -
Upload model
9f40232 -
Update config.json
e4da936
-
add model
bec7219
-
Upload model
65adebe
-
add model
765238c
-
add model
bc6335c
-
add model
2fa47e3 -
Update config.json
86a8a9d -
add model
85b1a7a
-
add model
1a6f681
-
add model
96d3180
-
add model
bf04148
-
add model
83ceb16 -
add model
20afa53 -
add model
35d0d72
-
add model
64f1d4a
-
add model
86b6360 -
add model
00d92fa
-
Update config.json
b09d3f2
-
add model
349cb3d -
add model
8c20dd6
-
Update config.json
aecfda2 -
Update config.json
5fa6263
-
Update config.json
9b18d25 -
add model
af7da7a
-
Update config.json
1c2ba93
-
add model
99f4761
-
Update config.json
f23d6a1
-
Update config.json
0a51184
-
Update config.json
1d56df5
-
add model
4201583 -
Update config.json
0b9fd8f -
add model
9151ed9 -
Update config.json
09fd6f2 -
add model
f9b793e -
add model
8473e07 -
add model
0149ae5 -
Update config.json
0ee4724 -
Update config.json
42687ad -
Update config.json
a06c495 -
Update config.json
4906e6e