Instructions to use Rohanify/Indenta-13M-Python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Rohanify/Indenta-13M-Python with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Rohanify/Indenta-13M-Python # Run inference directly in the terminal: llama cli -hf Rohanify/Indenta-13M-Python
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Rohanify/Indenta-13M-Python # Run inference directly in the terminal: llama cli -hf Rohanify/Indenta-13M-Python
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Rohanify/Indenta-13M-Python # Run inference directly in the terminal: ./build/bin/llama cli -hf Rohanify/Indenta-13M-Python
Use Docker
docker model run hf.co/Rohanify/Indenta-13M-Python
- Llama new
- LM Studio
- Jan
- vLLM
How to use Rohanify/Indenta-13M-Python with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Rohanify/Indenta-13M-Python" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Rohanify/Indenta-13M-Python", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Rohanify/Indenta-13M-Python
- Ollama
How to use Rohanify/Indenta-13M-Python with Ollama:
ollama run hf.co/Rohanify/Indenta-13M-Python
- Unsloth Desktop
- Docker Model Runner
How to use Rohanify/Indenta-13M-Python with Docker Model Runner:
docker model run hf.co/Rohanify/Indenta-13M-Python
- Lemonade
How to use Rohanify/Indenta-13M-Python with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Rohanify/Indenta-13M-Python
Run and chat with the model
lemonade run user.Indenta-13M-Python-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files12 unmodified lines1314151617181920212223242526272829305 unmodified lines36373839404142434445464748495051525354555657585960616263646566676812 unmodified linespipeline_tag: text-generationollama:template: |### Instruction:{{ .Prompt }}### Response:params:temperature: 0.1top_p: 0.8repeat_penalty: 2.0repeat_last_n: 64num_ctx: 256stop:- "### Instruction:"- "### Response:"- "<|endoftext|>"---5 unmodified lines---## 🛠️ How to Run Instantly via OllamaBecause the system configuration is baked directly into this Hugging Face repository card, nobody needs to manually create a local `Modelfile`.### ⚠️ Critical Usage Note for 13M ParametersBecause this model is highly optimized and ultra-lightweight (~13M parameters), it is architectural design-limited to **single-turn tasks**. It does not possess a multi-turn chat memory tracking mechanism.Allowing Ollama to stack message history will cause the attention layers to collapse.To ensure a perfect experience without crashes, use either of the two methods below:### Method 1: Stateless Mode (Recommended 🚀)Pass your prompt directly inside quotes in your terminal. This forces Ollama to run a clean, stateless, single-turn generation that will **never crash**:```bashollama run hf.co/Rohanify/Indenta-13M-Python "write a function to reverse a list"```### Method 2: Interactive Terminal ModeIf you are using the interactive chat loop (`ollama run hf.co/Rohanify/Indenta-13M-Python`), simply wipe the conversation memory before typing your next prompt by entering `/clear`:```text>>> write a for loop[Model generates code safely]>>> /clearCleared session context>>> reverse a linked list[Model generates next code safely]```12 unmodified lines1314151617181920212223242526272829303132333435365 unmodified lines42434445464748495051525312 unmodified linespipeline_tag: text-generationollama:template: |{{- if .Prompt }}## Instruction:{{ .Prompt }}### Input:Processing your request...{{ end -}}### Response:{{- if .Response }}{{ .Response }}{{ end -}}params:temperature: 0.1top_p: 0.85repeat_penalty: 2.0repeat_last_n: 32num_ctx: 512stop:- "## Instruction:"- "### Input:"- "### Response:"- "<|endoftext|>"---5 unmodified lines---## 🛠️ Web UI & Multi-Turn Stability NoteThis model features a hyper-lightweight 13M parameter footprint optimized for single-task completions based directly on structural templates.Because it lacks the large capacity required for conversational context processing, it can drop formatting structure if a graphical Web UI forces a massive, multi-message chat stream into its context layers.### For Best Performance in Web UIs:1. **Use New Chat Threads:** Click the "New Chat" or "Clear" button in your user interface between coding tasks. This keeps the model's focus squarely on your active prompt.2. **Synchronized Template:** This model card includes an aligned layout format (`## Instruction:` and `### Input:`) matching the training data to stop token bleeding across chat iterations.
README.md+17-32