Text Generation
NeMo
ONNX
Safetensors
GGUF
English
Persian
local-llm
quantized
rtx-3060
consumer-hardware
code
agent
agents
rag
embeddings
reranker
text-to-speech
speech-to-text
multimodal
vision
voice-cloning
persian
farsi
uncensored
abliterated
imatrix
conversational
Instructions to use mohammadjafari-dev/local-ai-toolkit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use mohammadjafari-dev/local-ai-toolkit with NeMo:
# tag did not correspond to a valid NeMo domain.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mohammadjafari-dev/local-ai-toolkit 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 mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
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 mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama cli -hf mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
Use Docker
docker model run hf.co/mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
- Llama new
- LM Studio
- Jan
- vLLM
How to use mohammadjafari-dev/local-ai-toolkit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mohammadjafari-dev/local-ai-toolkit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mohammadjafari-dev/local-ai-toolkit", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
- Ollama
How to use mohammadjafari-dev/local-ai-toolkit with Ollama:
ollama run hf.co/mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
- Unsloth Desktop
- Pi
How to use mohammadjafari-dev/local-ai-toolkit with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mohammadjafari-dev/local-ai-toolkit with Docker Model Runner:
docker model run hf.co/mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
- Lemonade
How to use mohammadjafari-dev/local-ai-toolkit with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
Run and chat with the model
lemonade run user.local-ai-toolkit-UD-Q4_K_XL
List all available models
lemonade list
- Hermes Agent
How to use mohammadjafari-dev/local-ai-toolkit with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
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 mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mohammadjafari-dev/local-ai-toolkit with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL
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 "mohammadjafari-dev/local-ai-toolkit:UD-Q4_K_XL" \ --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"
mohammad commited on
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- 4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/config.json +34 -0
- 4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/model.safetensors +3 -0
- 4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/sentencepiece.bpe.model +3 -0
- 4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/special_tokens_map.json +51 -0
- 4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/tokenizer.json +3 -0
- 4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/tokenizer_config.json +55 -0
.gitattributes
CHANGED
|
@@ -45,3 +45,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 45 |
4-Document_Analysis_and_RAG/mmproj-F16/content/pipeline_raw/mmproj-F16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
4-Document_Analysis_and_RAG/mtp-gemma-4-12b-it/content/pipeline_raw/mtp-gemma-4-12b-it.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
4-Document_Analysis_and_RAG/1-Embeddings/BGE_M3_Core_Embedding/content/raw_BGE_M3_Core_Embedding/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 45 |
4-Document_Analysis_and_RAG/mmproj-F16/content/pipeline_raw/mmproj-F16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
4-Document_Analysis_and_RAG/mtp-gemma-4-12b-it/content/pipeline_raw/mtp-gemma-4-12b-it.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
4-Document_Analysis_and_RAG/1-Embeddings/BGE_M3_Core_Embedding/content/raw_BGE_M3_Core_Embedding/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "BAAI/bge-m3",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"XLMRobertaForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"hidden_act": "gelu",
|
| 11 |
+
"hidden_dropout_prob": 0.1,
|
| 12 |
+
"hidden_size": 1024,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "LABEL_0"
|
| 15 |
+
},
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 4096,
|
| 18 |
+
"label2id": {
|
| 19 |
+
"LABEL_0": 0
|
| 20 |
+
},
|
| 21 |
+
"layer_norm_eps": 1e-05,
|
| 22 |
+
"max_position_embeddings": 8194,
|
| 23 |
+
"model_type": "xlm-roberta",
|
| 24 |
+
"num_attention_heads": 16,
|
| 25 |
+
"num_hidden_layers": 24,
|
| 26 |
+
"output_past": true,
|
| 27 |
+
"pad_token_id": 1,
|
| 28 |
+
"position_embedding_type": "absolute",
|
| 29 |
+
"torch_dtype": "float32",
|
| 30 |
+
"transformers_version": "4.38.1",
|
| 31 |
+
"type_vocab_size": 1,
|
| 32 |
+
"use_cache": true,
|
| 33 |
+
"vocab_size": 250002
|
| 34 |
+
}
|
4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9e3e081faff1eefb84019509b2f5558fd74c1a05a2c7db22f74174fcedb5286
|
| 3 |
+
size 2271071852
|
4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/sentencepiece.bpe.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
| 3 |
+
size 5069051
|
4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/special_tokens_map.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"cls_token": {
|
| 10 |
+
"content": "<s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"eos_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"mask_token": {
|
| 24 |
+
"content": "<mask>",
|
| 25 |
+
"lstrip": true,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"pad_token": {
|
| 31 |
+
"content": "<pad>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
},
|
| 37 |
+
"sep_token": {
|
| 38 |
+
"content": "</s>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false
|
| 43 |
+
},
|
| 44 |
+
"unk_token": {
|
| 45 |
+
"content": "<unk>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false
|
| 50 |
+
}
|
| 51 |
+
}
|
4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69564b696052886ed0ac63fa393e928384e0f8caada38c1f4864a9bfbf379c15
|
| 3 |
+
size 17098273
|
4-Document_Analysis_and_RAG/2-Rerankers/BGE_Reranker_V2_M3_Core/content/raw_BGE_Reranker_V2_M3_Core/tokenizer_config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<s>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<pad>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "</s>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "<unk>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"250001": {
|
| 36 |
+
"content": "<mask>",
|
| 37 |
+
"lstrip": true,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"bos_token": "<s>",
|
| 45 |
+
"clean_up_tokenization_spaces": true,
|
| 46 |
+
"cls_token": "<s>",
|
| 47 |
+
"eos_token": "</s>",
|
| 48 |
+
"mask_token": "<mask>",
|
| 49 |
+
"model_max_length": 8192,
|
| 50 |
+
"pad_token": "<pad>",
|
| 51 |
+
"sep_token": "</s>",
|
| 52 |
+
"sp_model_kwargs": {},
|
| 53 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
| 54 |
+
"unk_token": "<unk>"
|
| 55 |
+
}
|