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
-
add model
1fb0ea9 -
add model
84f562d -
add model
e70e959 -
add model
33ad7e3 -
add model
96ed7cc -
add model
09bcb3d -
add model
9b7b194 -
add model
766e3e5
-
add model
bae3afa -
add model
48dd585 -
add model
d9c7005 -
add model
01ee2ef -
add model
26d60e0
-
add model
485d27c -
add model
89ad0d1 -
add model
69bfcde
-
add model
37232a0 -
add model
57e0430 -
add model
6581d5f -
add model
daea236 -
add model
1028f02 -
add model
967462d -
add model
fa425a8 -
add model
280bb13 -
add model
442e6ec
-
add model
1092a1d
-
add model
18a4b7d
-
add model
1154b07
-
add model
2763478 -
add model
66bc15e -
add model
9acad43 -
add model
d54a580 -
add model
ade9fa6 -
add model
3be2b98 -
add model
0f49c60 -
add model
745c383 -
add model
2d106f7 -
add model
63662b3 -
add model
9d993a2 -
add model
13863a7 -
add model
b6f7f01 -
add model
267bca1 -
add model
2b30254 -
add model
726777a -
add model
2d4df64 -
add model
aebe976
-
add model
75095e0 -
add model
2b646e0 -
add model
cfe017c -
add model
bb4b3dd