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
b9c0b15 -
add model
eec380b -
add model
a238701 -
add model
39410d0
-
add model
403d16a -
add model
4369e07 -
add model
4e79bb2 -
add model
4848983 -
add model
efccc33
-
add model
b86068e -
add model
12ac2d5 -
add model
0cef164 -
add model
18289e6 -
add model
d78953d
-
add model
0685e18 -
add model
0848eff -
add model
371ea71 -
add model
96595a4 -
add model
99f4761
-
add model
d617f36 -
add model
837b322 -
add model
f4c62fd -
add model
d3ff66c
-
add model
623b089 -
add model
665926c -
add model
1763044 -
add model
80f7ef7 -
add model
ab869d2 -
add model
4fe91da -
add model
f111925 -
add model
0ca2a6e
-
add model
da5822c -
add model
0dcbb0b -
add model
e777535 -
add model
deb56c8
-
add model
c16b17e -
add model
ff835a7 -
add model
1a3096e -
add model
12a4d36
-
add model
dc3d636 -
add model
40aad41 -
add model
d778f07
-
add model
38d12df -
add model
269e6aa -
add model
562c7a1 -
add model
a627e83 -
add model
c8757dd -
add model
808d53c
-
add model
cd96076 -
add model
775c67d