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
af4d57d -
add model
19a07b6 -
add model
16b7a7b -
add model
aaa1c9c -
add model
0b639c7 -
add model
4ad0ec5
-
add model
356324f -
add model
f34a0f7 -
add model
21cf5f8 -
add model
4de7f07
-
add model
5ab0cb3 -
add model
2e880fa -
add model
470df66 -
add model
3e09688 -
add model
ea77d1c -
add model
85f4fe3 -
add model
3e0a6a6 -
add model
6a1a509 -
add model
a0b18cc
-
add model
568acb1 -
add model
818f2ca -
add model
22d4c71
-
add model
556fd22 -
add model
023010f -
add model
25d85c3 -
add model
9531b0c
-
add model
f579278 -
add model
dc8064b -
add model
da10426 -
add model
41a8187 -
add model
c8ea954 -
add model
ca4a883 -
add model
7ba1597 -
add model
9e2f37e
-
add model
e6341ea -
add model
635bf86 -
add model
908b027 -
add model
f185ec5
-
add model
dd138ed -
add model
2dbd431 -
add model
3e0be3e -
add model
c68e296 -
add model
6bcc546 -
add model
3862ece
-
add model
bc670d9 -
add model
7a29d33 -
add model
bb0c167 -
add model
579a11c -
add model
04583c7 -
add model
df73e81