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
f224372 -
add model
3da2b4d -
add model
20eefde -
add model
b4808b2 -
add model
626f902 -
add model
eb2d13c -
add model
cd48a74 -
add model
761a882 -
add model
b343822 -
add model
40e81e2 -
add model
86bd7c9 -
add model
4fee2a9 -
add model
4948875 -
add model
d173cd7 -
add model
e465e8b
-
add model
7b52d5a -
add model
53bc854 -
add model
cadbdaa
-
add model
2ca169b -
add model
1cdc1b0 -
add model
078a9a6 -
add model
b103552 -
add model
01be49b -
add model
52965aa
-
add model
d223a92 -
add model
075751c -
add model
b14c8c4 -
add model
60d2f1c -
add model
c54bc3b -
add model
f21387a -
add model
ae44f6f -
add model
aa25096 -
add model
ad3df8a
-
add model
0190515 -
add model
0d33ea0 -
add model
cf1c7b6 -
add model
a2bb319 -
add model
d16d743 -
add model
0f18c44 -
add model
f2d85b8 -
add model
b4eed76 -
add model
8d1db73
-
add model
c74edc0
-
add model
9ed86eb -
add model
cbc4805 -
add model
d04c6ba -
add model
0953944 -
add model
3a659cc -
add model
c90c6fa -
add model
aebccac