Text Generation
Transformers
Safetensors
GGUF
English
code
code-generation
multimodal
llama
conversational
Instructions to use mrsandip/Alfa-Code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrsandip/Alfa-Code with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mrsandip/Alfa-Code")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mrsandip/Alfa-Code", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mrsandip/Alfa-Code 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 mrsandip/Alfa-Code:Q4_0 # Run inference directly in the terminal: llama cli -hf mrsandip/Alfa-Code:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mrsandip/Alfa-Code:Q4_0 # Run inference directly in the terminal: llama cli -hf mrsandip/Alfa-Code:Q4_0
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 mrsandip/Alfa-Code:Q4_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf mrsandip/Alfa-Code:Q4_0
Use Docker
docker model run hf.co/mrsandip/Alfa-Code:Q4_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use mrsandip/Alfa-Code with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mrsandip/Alfa-Code" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mrsandip/Alfa-Code", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mrsandip/Alfa-Code:Q4_0
- SGLang
How to use mrsandip/Alfa-Code 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 "mrsandip/Alfa-Code" \ --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": "mrsandip/Alfa-Code", "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 "mrsandip/Alfa-Code" \ --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": "mrsandip/Alfa-Code", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use mrsandip/Alfa-Code with Ollama:
ollama run hf.co/mrsandip/Alfa-Code:Q4_0
- Unsloth Desktop
- Docker Model Runner
How to use mrsandip/Alfa-Code with Docker Model Runner:
docker model run hf.co/mrsandip/Alfa-Code:Q4_0
- Lemonade
How to use mrsandip/Alfa-Code with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mrsandip/Alfa-Code:Q4_0
Run and chat with the model
lemonade run user.Alfa-Code-Q4_0
List all available models
lemonade list
- Atomic Chat
.manifest
Browse files
.manifest
DELETED
|
@@ -1,69 +0,0 @@
|
|
| 1 |
-
.e-commerce/
|
| 2 |
-
βββ .gitignore
|
| 3 |
-
βββ app/
|
| 4 |
-
β βββ [locale]/
|
| 5 |
-
β β βββ catalog/
|
| 6 |
-
β β β βββ category/
|
| 7 |
-
β β β β βββ [slug]/
|
| 8 |
-
β β β β βββ page.tsx
|
| 9 |
-
β β β βββ product/
|
| 10 |
-
β β β βββ [slug]/
|
| 11 |
-
β β β βββ page.tsx
|
| 12 |
-
β β βββ layout.tsx
|
| 13 |
-
β β βββ page.tsx
|
| 14 |
-
β βββ favicon.ico
|
| 15 |
-
β βββ globals.css
|
| 16 |
-
β βββ layout.tsx
|
| 17 |
-
β βββ page.tsx
|
| 18 |
-
β βββ page.module.css
|
| 19 |
-
βββ components/
|
| 20 |
-
β βββ ui/
|
| 21 |
-
β β βββ avatar.tsx
|
| 22 |
-
β β βββ badge.tsx
|
| 23 |
-
β β βββ button.tsx
|
| 24 |
-
β β βββ card.tsx
|
| 25 |
-
β β βββ checkbox.tsx
|
| 26 |
-
β β βββ dialog.tsx
|
| 27 |
-
β β βββ dropdown-menu.tsx
|
| 28 |
-
β β βββ index.ts
|
| 29 |
-
β β βββ input.tsx
|
| 30 |
-
β β βββ label.tsx
|
| 31 |
-
β β βββ popover.tsx
|
| 32 |
-
β β βββ radio-group.tsx
|
| 33 |
-
β β βββ scroll-area.tsx
|
| 34 |
-
β β βββ select.tsx
|
| 35 |
-
β β βββ separator.tsx
|
| 36 |
-
β β βββ switch.tsx
|
| 37 |
-
β β βββ tooltip.tsx
|
| 38 |
-
β β βββ ...
|
| 39 |
-
β βββ ...
|
| 40 |
-
βββ db/
|
| 41 |
-
β βββ apply-schema.sql
|
| 42 |
-
β βββ index.ts
|
| 43 |
-
β βββ push.ts
|
| 44 |
-
β βββ schema.ts
|
| 45 |
-
β βββ verify-queries.sql
|
| 46 |
-
β βββ verify-seed.ts
|
| 47 |
-
βββ drizzle.config.ts
|
| 48 |
-
βββ i18n/
|
| 49 |
-
β βββ request.ts
|
| 50 |
-
β βββ routing.ts
|
| 51 |
-
βββ lib/
|
| 52 |
-
β βββ format-inr.ts
|
| 53 |
-
β βββ money.ts
|
| 54 |
-
β βββ utils.ts
|
| 55 |
-
βββ messages/
|
| 56 |
-
β βββ bn.json
|
| 57 |
-
β βββ en.json
|
| 58 |
-
βββ next.config.ts
|
| 59 |
-
βββ package.json
|
| 60 |
-
βββ package-lock.json
|
| 61 |
-
βββ postcss.config.mjs
|
| 62 |
-
βββ proxy.ts
|
| 63 |
-
βββ scripts/
|
| 64 |
-
β βββ seed.ts
|
| 65 |
-
βββ tailwind.config.ts
|
| 66 |
-
βββ tmp/
|
| 67 |
-
β βββ ...
|
| 68 |
-
βββ tsconfig.json
|
| 69 |
-
βββ biome.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|