Text Generation
Transformers
Safetensors
English
bananaall
novi
novi-micro
causal-lm
from-scratch
custom_code
Instructions to use Novi-AI/Novi-Micro-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Novi-AI/Novi-Micro-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Novi-AI/Novi-Micro-Base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Novi-AI/Novi-Micro-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Novi-AI/Novi-Micro-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Novi-AI/Novi-Micro-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Novi-AI/Novi-Micro-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Novi-AI/Novi-Micro-Base
- SGLang
How to use Novi-AI/Novi-Micro-Base 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 "Novi-AI/Novi-Micro-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Novi-AI/Novi-Micro-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Novi-AI/Novi-Micro-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Novi-AI/Novi-Micro-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Novi-AI/Novi-Micro-Base with Docker Model Runner:
docker model run hf.co/Novi-AI/Novi-Micro-Base
Download banner.jpg from Novi-AI/Novi-Micro-Base: direct link, hf CLI and curl.
- Browser
- Download file 609 kB
-
https://huggingface.co/Novi-AI/Novi-Micro-Base/resolve/main/banner.jpg
- Command line
-
hf download hf://Novi-AI/Novi-Micro-Base/banner.jpg
-
curl -L -o banner.jpg https://huggingface.co/Novi-AI/Novi-Micro-Base/resolve/main/banner.jpg
609 kB

- Xet hash:
- c85e0dcfdf7a3f16ca090408133c765e536dcfee5946e5e9763544b0effb47c8
- Size of remote file:
- 609 kB
- SHA256:
- a6ceb8a1a47c82fe863899dbf7f2a3b12acdef5a51e639ef3a93e950e8001844
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.