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
f68dd0e -
add model
6f9f96c -
add model
58b863b -
add model
30a00c4 -
add model
f16465f
-
add model
fa97570 -
add model
db92d40 -
add model
bc75107 -
add model
150393d -
add model
edd7079 -
add model
3ee90f1
-
add model
9346596 -
add model
a5c9812 -
add model
07b1f94 -
add model
23c2c00 -
add model
71fe00d -
add model
c5c80b6 -
add model
c08285c -
add model
d752bf2
-
add model
f32f4ba -
add model
9d2338c -
add model
0b800a0 -
add model
23f67f1 -
add model
64fccaa -
add model
8e295f2 -
add model
d09d061 -
add model
dfbb0f0 -
add model
2116884 -
add model
762ea1b -
add model
2cc2915
-
add model
69aece8 -
add model
3b93e4c -
add model
820efbc -
add model
f6bd914 -
add model
b113549 -
add model
9955fd3 -
add model
f2e045f -
add model
2b54b56
-
add model
f19ca85 -
add model
bb7114f -
add model
7d4ee44 -
add model
1bbb071 -
add model
e9ed657 -
add model
63f2225 -
add model
169f506
-
add model
1dff072 -
add model
f4f26bf -
add model
53632a0 -
add model
9881965 -
add model
a6609b0