Instructions to use arcee-ai/Arcee-Nova with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arcee-ai/Arcee-Nova with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="arcee-ai/Arcee-Nova") 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("arcee-ai/Arcee-Nova") model = AutoModelForCausalLM.from_pretrained("arcee-ai/Arcee-Nova", 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 arcee-ai/Arcee-Nova with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "arcee-ai/Arcee-Nova" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "arcee-ai/Arcee-Nova", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/arcee-ai/Arcee-Nova
- SGLang
How to use arcee-ai/Arcee-Nova 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 "arcee-ai/Arcee-Nova" \ --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": "arcee-ai/Arcee-Nova", "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 "arcee-ai/Arcee-Nova" \ --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": "arcee-ai/Arcee-Nova", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use arcee-ai/Arcee-Nova with Docker Model Runner:
docker model run hf.co/arcee-ai/Arcee-Nova
Commit History
-
Upload folder using huggingface_hub (#1)
Verified signature- 4ae76692b3fbfc7b3d132450cb3949e4fe54857fa2714551847f329030ca258c (8c3acf39c67a6bb9d60d82579a97430683f5a797) - 7cd9f5f2c1c73b965ea4a7ac6306e8a74760e806105d3c375f7a196e6721f1e1 (95a0c4bbf8421fc961e607cb6917e0b580df5abe) - 91cf86734c747903d3690470fbf8014c6aa4a0040fcbb6e3972a5fd486ad2f48 (4a3682e0514707fa8b61e18b11107b408bebd01d) - f21988337760258852632d1b8f10fd4a4fe88e41b56be70fa8dbe25c05d883d1 (e99d9fd6e15c5b32424ff807b85835203522b32a) - 0f5698a863c73367063fa6efa84c0e3803374e90567088f10b402e05a023be25 (ec83b1fb09f9e550bbdb830cf39ad8c860906cb1) - c05338c8f785b06a7ee9d20f8a6f5a0ca0d34c6606e2e89af93ae0bf3c342a07 (d87f2ee228a90723f0cf2e67febef7f00ec00b1a) - dab32790421d0497fa217ab8e56d19b0bc9a3fab10a6abc26c86ee5ff97995d1 (c6009abb98e1aaf1f09c30e0da9df26893566eda) - 57823ca2c35c1cd4a395d15858651e6d1323ce2910323e87ea5c0a3376adfa8f (62e20115789166892113f4914d3ebf6908d76f29) - 659dcac550c9fa9a71b7f1cbff9640b9257b5e6be49803ba9acee1a31fb51a03 (10b6d3a2a9cc246ee65505f61ba19630b5cdd8d7) - 924db79c…a6b50a2