Instructions to use nazimali/Mistral-Nemo-Kurdish-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nazimali/Mistral-Nemo-Kurdish-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nazimali/Mistral-Nemo-Kurdish-Instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nazimali/Mistral-Nemo-Kurdish-Instruct") model = AutoModelForCausalLM.from_pretrained("nazimali/Mistral-Nemo-Kurdish-Instruct", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use nazimali/Mistral-Nemo-Kurdish-Instruct with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="nazimali/Mistral-Nemo-Kurdish-Instruct", filename="BF16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use nazimali/Mistral-Nemo-Kurdish-Instruct 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 nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M # Run inference directly in the terminal: llama cli -hf nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M # Run inference directly in the terminal: llama cli -hf nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
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 nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
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 nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
Use Docker
docker model run hf.co/nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use nazimali/Mistral-Nemo-Kurdish-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nazimali/Mistral-Nemo-Kurdish-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nazimali/Mistral-Nemo-Kurdish-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
- SGLang
How to use nazimali/Mistral-Nemo-Kurdish-Instruct 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 "nazimali/Mistral-Nemo-Kurdish-Instruct" \ --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": "nazimali/Mistral-Nemo-Kurdish-Instruct", "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 "nazimali/Mistral-Nemo-Kurdish-Instruct" \ --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": "nazimali/Mistral-Nemo-Kurdish-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use nazimali/Mistral-Nemo-Kurdish-Instruct with Ollama:
ollama run hf.co/nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
- Unsloth Studio
How to use nazimali/Mistral-Nemo-Kurdish-Instruct 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 nazimali/Mistral-Nemo-Kurdish-Instruct 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 nazimali/Mistral-Nemo-Kurdish-Instruct to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for nazimali/Mistral-Nemo-Kurdish-Instruct to start chatting
- Pi
How to use nazimali/Mistral-Nemo-Kurdish-Instruct with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use nazimali/Mistral-Nemo-Kurdish-Instruct with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use nazimali/Mistral-Nemo-Kurdish-Instruct with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use nazimali/Mistral-Nemo-Kurdish-Instruct with Docker Model Runner:
docker model run hf.co/nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
- Lemonade
How to use nazimali/Mistral-Nemo-Kurdish-Instruct with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nazimali/Mistral-Nemo-Kurdish-Instruct:Q4_K_M
Run and chat with the model
lemonade run user.Mistral-Nemo-Kurdish-Instruct-Q4_K_M
List all available models
lemonade list
Adding Evaluation Results
Browse filesThis is an automated PR created with https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr
The purpose of this PR is to add evaluation results from the Open LLM Leaderboard to your model card.
If you encounter any issues, please report them to https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr/discussions
|
@@ -1,20 +1,115 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
-
- nazimali/Mistral-Nemo-Kurdish
|
| 4 |
-
base_model_relation: finetune
|
| 5 |
language:
|
| 6 |
- ku
|
| 7 |
- en
|
| 8 |
license: apache-2.0
|
|
|
|
| 9 |
tags:
|
| 10 |
- text-generation-inference
|
| 11 |
- transformers
|
| 12 |
- unsloth
|
| 13 |
- mistral
|
| 14 |
- gguf
|
|
|
|
|
|
|
| 15 |
datasets:
|
| 16 |
- saillab/alpaca-kurdish_kurmanji-cleaned
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
<div dir="auto" align="right">
|
|
@@ -180,4 +275,17 @@ finetune_prompt = """Li jêr rêwerzek heye ku peywirek rave dike, bi têketinek
|
|
| 180 |
### Bersiv:
|
| 181 |
{}
|
| 182 |
"""
|
| 183 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
language:
|
| 3 |
- ku
|
| 4 |
- en
|
| 5 |
license: apache-2.0
|
| 6 |
+
library_name: transformers
|
| 7 |
tags:
|
| 8 |
- text-generation-inference
|
| 9 |
- transformers
|
| 10 |
- unsloth
|
| 11 |
- mistral
|
| 12 |
- gguf
|
| 13 |
+
base_model:
|
| 14 |
+
- nazimali/Mistral-Nemo-Kurdish
|
| 15 |
datasets:
|
| 16 |
- saillab/alpaca-kurdish_kurmanji-cleaned
|
| 17 |
+
base_model_relation: finetune
|
| 18 |
+
model-index:
|
| 19 |
+
- name: Mistral-Nemo-Kurdish-Instruct
|
| 20 |
+
results:
|
| 21 |
+
- task:
|
| 22 |
+
type: text-generation
|
| 23 |
+
name: Text Generation
|
| 24 |
+
dataset:
|
| 25 |
+
name: IFEval (0-Shot)
|
| 26 |
+
type: HuggingFaceH4/ifeval
|
| 27 |
+
args:
|
| 28 |
+
num_few_shot: 0
|
| 29 |
+
metrics:
|
| 30 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
| 31 |
+
value: 48.6
|
| 32 |
+
name: strict accuracy
|
| 33 |
+
source:
|
| 34 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nazimali/Mistral-Nemo-Kurdish-Instruct
|
| 35 |
+
name: Open LLM Leaderboard
|
| 36 |
+
- task:
|
| 37 |
+
type: text-generation
|
| 38 |
+
name: Text Generation
|
| 39 |
+
dataset:
|
| 40 |
+
name: BBH (3-Shot)
|
| 41 |
+
type: BBH
|
| 42 |
+
args:
|
| 43 |
+
num_few_shot: 3
|
| 44 |
+
metrics:
|
| 45 |
+
- type: acc_norm
|
| 46 |
+
value: 26.02
|
| 47 |
+
name: normalized accuracy
|
| 48 |
+
source:
|
| 49 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nazimali/Mistral-Nemo-Kurdish-Instruct
|
| 50 |
+
name: Open LLM Leaderboard
|
| 51 |
+
- task:
|
| 52 |
+
type: text-generation
|
| 53 |
+
name: Text Generation
|
| 54 |
+
dataset:
|
| 55 |
+
name: MATH Lvl 5 (4-Shot)
|
| 56 |
+
type: hendrycks/competition_math
|
| 57 |
+
args:
|
| 58 |
+
num_few_shot: 4
|
| 59 |
+
metrics:
|
| 60 |
+
- type: exact_match
|
| 61 |
+
value: 0.3
|
| 62 |
+
name: exact match
|
| 63 |
+
source:
|
| 64 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nazimali/Mistral-Nemo-Kurdish-Instruct
|
| 65 |
+
name: Open LLM Leaderboard
|
| 66 |
+
- task:
|
| 67 |
+
type: text-generation
|
| 68 |
+
name: Text Generation
|
| 69 |
+
dataset:
|
| 70 |
+
name: GPQA (0-shot)
|
| 71 |
+
type: Idavidrein/gpqa
|
| 72 |
+
args:
|
| 73 |
+
num_few_shot: 0
|
| 74 |
+
metrics:
|
| 75 |
+
- type: acc_norm
|
| 76 |
+
value: 4.59
|
| 77 |
+
name: acc_norm
|
| 78 |
+
source:
|
| 79 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nazimali/Mistral-Nemo-Kurdish-Instruct
|
| 80 |
+
name: Open LLM Leaderboard
|
| 81 |
+
- task:
|
| 82 |
+
type: text-generation
|
| 83 |
+
name: Text Generation
|
| 84 |
+
dataset:
|
| 85 |
+
name: MuSR (0-shot)
|
| 86 |
+
type: TAUR-Lab/MuSR
|
| 87 |
+
args:
|
| 88 |
+
num_few_shot: 0
|
| 89 |
+
metrics:
|
| 90 |
+
- type: acc_norm
|
| 91 |
+
value: 8.84
|
| 92 |
+
name: acc_norm
|
| 93 |
+
source:
|
| 94 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nazimali/Mistral-Nemo-Kurdish-Instruct
|
| 95 |
+
name: Open LLM Leaderboard
|
| 96 |
+
- task:
|
| 97 |
+
type: text-generation
|
| 98 |
+
name: Text Generation
|
| 99 |
+
dataset:
|
| 100 |
+
name: MMLU-PRO (5-shot)
|
| 101 |
+
type: TIGER-Lab/MMLU-Pro
|
| 102 |
+
config: main
|
| 103 |
+
split: test
|
| 104 |
+
args:
|
| 105 |
+
num_few_shot: 5
|
| 106 |
+
metrics:
|
| 107 |
+
- type: acc
|
| 108 |
+
value: 23.19
|
| 109 |
+
name: accuracy
|
| 110 |
+
source:
|
| 111 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nazimali/Mistral-Nemo-Kurdish-Instruct
|
| 112 |
+
name: Open LLM Leaderboard
|
| 113 |
---
|
| 114 |
|
| 115 |
<div dir="auto" align="right">
|
|
|
|
| 275 |
### Bersiv:
|
| 276 |
{}
|
| 277 |
"""
|
| 278 |
+
```
|
| 279 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
|
| 280 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_nazimali__Mistral-Nemo-Kurdish-Instruct)
|
| 281 |
+
|
| 282 |
+
| Metric |Value|
|
| 283 |
+
|-------------------|----:|
|
| 284 |
+
|Avg. |18.59|
|
| 285 |
+
|IFEval (0-Shot) |48.60|
|
| 286 |
+
|BBH (3-Shot) |26.02|
|
| 287 |
+
|MATH Lvl 5 (4-Shot)| 0.30|
|
| 288 |
+
|GPQA (0-shot) | 4.59|
|
| 289 |
+
|MuSR (0-shot) | 8.84|
|
| 290 |
+
|MMLU-PRO (5-shot) |23.19|
|
| 291 |
+
|