Text Generation
Transformers
GGUF
Arabic
English
qwen
text-generation-inference
TensorBlock
GGUF
text2text-generation
conversational
Instructions to use tensorblock/Meraj-Mini-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Meraj-Mini-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/Meraj-Mini-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Meraj-Mini-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Meraj-Mini-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Meraj-Mini-GGUF", filename="Meraj-Mini-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/Meraj-Mini-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/Meraj-Mini-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Meraj-Mini-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/Meraj-Mini-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Meraj-Mini-GGUF:Q2_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tensorblock/Meraj-Mini-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Meraj-Mini-GGUF:Q2_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tensorblock/Meraj-Mini-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Meraj-Mini-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Meraj-Mini-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/Meraj-Mini-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/Meraj-Mini-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Meraj-Mini-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/Meraj-Mini-GGUF:Q2_K
- SGLang
How to use tensorblock/Meraj-Mini-GGUF 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 "tensorblock/Meraj-Mini-GGUF" \ --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": "tensorblock/Meraj-Mini-GGUF", "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 "tensorblock/Meraj-Mini-GGUF" \ --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": "tensorblock/Meraj-Mini-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/Meraj-Mini-GGUF with Ollama:
ollama run hf.co/tensorblock/Meraj-Mini-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/Meraj-Mini-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/Meraj-Mini-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/Meraj-Mini-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/Meraj-Mini-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Meraj-Mini-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Meraj-Mini-GGUF:Q2_K
- Lemonade
How to use tensorblock/Meraj-Mini-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Meraj-Mini-GGUF:Q2_K
Run and chat with the model
lemonade run user.Meraj-Mini-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- Meraj-Mini-Q3_K_L.gguf +0 -3
- Meraj-Mini-Q3_K_M.gguf +0 -3
- Meraj-Mini-Q3_K_S.gguf +0 -3
- Meraj-Mini-Q4_0.gguf +0 -3
- Meraj-Mini-Q4_K_M.gguf +0 -3
- Meraj-Mini-Q4_K_S.gguf +0 -3
- Meraj-Mini-Q5_0.gguf +0 -3
- Meraj-Mini-Q5_K_M.gguf +0 -3
- Meraj-Mini-Q5_K_S.gguf +0 -3
- Meraj-Mini-Q6_K.gguf +0 -3
- Meraj-Mini-Q8_0.gguf +0 -3
Meraj-Mini-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:31a364eb89ec301006df0175acc6a8930f45879a9e193253e191d8f292c43d77
|
| 3 |
-
size 4088457408
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e55c24a53efa6cea96e2cde5b53d419db1fb104d2a6ec576475b62f36a74b38e
|
| 3 |
-
size 3808389312
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1e8b8f611db93dc5c58f7827bc7687e8581f42be5e3b0da54ecc3070d4eadcbe
|
| 3 |
-
size 3492366528
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f33c8dadb83c5c64ae20b44e5a3003eb798e59eaf09760fa0887d68828e79c6e
|
| 3 |
-
size 4431388864
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0b94db8baa630213fa641ac09c23c77a7b0f0050fe4bac524adeae32c39c7621
|
| 3 |
-
size 4683071680
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a94da9ae4f0b12b012ce3bc84dd0757a85a00407b9a084e62fa3ff3fa4e99671
|
| 3 |
-
size 4457767104
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:eb7abbaa5c82dc6ddafe35a6d8cd81637adbaecc4fc6affa6b295b82082eaafa
|
| 3 |
-
size 5315174592
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:69fe49ad343428bb0f698ea13fcfad7e89b7d143063ce8529a7f6bd7bb9f281d
|
| 3 |
-
size 5444829376
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:51a64144141dc409b8b2984a6213e9c6be7886cd0a2e51e691e3c93569afad71
|
| 3 |
-
size 5315174592
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d5d6b2fbda79b6f76b0ce7d2a0c50af10f8a023e292ea7679881195d0614432d
|
| 3 |
-
size 6254196928
|
|
|
|
|
|
|
|
|
|
|
|
Meraj-Mini-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:adaeff9bcd2c8dc6c013b5c7c872dc2b038710d0e39291e64c5487c0a02d99e9
|
| 3 |
-
size 8098523328
|
|
|
|
|
|
|
|
|
|
|
|