Instructions to use RichardErkhov/MadShift_-_Maral-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use RichardErkhov/MadShift_-_Maral-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="RichardErkhov/MadShift_-_Maral-gguf", filename="Maral.IQ3_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RichardErkhov/MadShift_-_Maral-gguf 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 RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/MadShift_-_Maral-gguf: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 RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf RichardErkhov/MadShift_-_Maral-gguf: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 RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M
Use Docker
docker model run hf.co/RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use RichardErkhov/MadShift_-_Maral-gguf with Ollama:
ollama run hf.co/RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M
- Unsloth Studio
How to use RichardErkhov/MadShift_-_Maral-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 RichardErkhov/MadShift_-_Maral-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 RichardErkhov/MadShift_-_Maral-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for RichardErkhov/MadShift_-_Maral-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use RichardErkhov/MadShift_-_Maral-gguf with Docker Model Runner:
docker model run hf.co/RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M
- Lemonade
How to use RichardErkhov/MadShift_-_Maral-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RichardErkhov/MadShift_-_Maral-gguf:Q4_K_M
Run and chat with the model
lemonade run user.MadShift_-_Maral-gguf-Q4_K_M
List all available models
lemonade list
llm.create_chat_completion(
messages = "No input example has been defined for this model task."
)YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Quantization made by Richard Erkhov.
Maral - GGUF
- Model creator: https://huggingface.co/MadShift/
- Original model: https://huggingface.co/MadShift/Maral/
| Name | Quant method | Size |
|---|---|---|
| Maral.Q2_K.gguf | Q2_K | 2.96GB |
| Maral.IQ3_XS.gguf | IQ3_XS | 3.28GB |
| Maral.IQ3_S.gguf | IQ3_S | 3.43GB |
| Maral.Q3_K_S.gguf | Q3_K_S | 3.41GB |
| Maral.IQ3_M.gguf | IQ3_M | 3.52GB |
| Maral.Q3_K.gguf | Q3_K | 3.74GB |
| Maral.Q3_K_M.gguf | Q3_K_M | 3.74GB |
| Maral.Q3_K_L.gguf | Q3_K_L | 4.03GB |
| Maral.IQ4_XS.gguf | IQ4_XS | 4.18GB |
| Maral.Q4_0.gguf | Q4_0 | 4.34GB |
| Maral.IQ4_NL.gguf | IQ4_NL | 4.38GB |
| Maral.Q4_K_S.gguf | Q4_K_S | 4.37GB |
| Maral.Q4_K.gguf | Q4_K | 4.58GB |
| Maral.Q4_K_M.gguf | Q4_K_M | 4.58GB |
| Maral.Q4_1.gguf | Q4_1 | 4.78GB |
| Maral.Q5_0.gguf | Q5_0 | 5.21GB |
| Maral.Q5_K_S.gguf | Q5_K_S | 5.21GB |
| Maral.Q5_K.gguf | Q5_K | 5.34GB |
| Maral.Q5_K_M.gguf | Q5_K_M | 5.34GB |
| Maral.Q5_1.gguf | Q5_1 | 5.65GB |
| Maral.Q6_K.gguf | Q6_K | 6.14GB |
| Maral.Q8_0.gguf | Q8_0 | 7.95GB |
Original model description:
language: - ru license: apache-2.0 pipeline_tag: text-generation library_name: transformers
Maral
Description
Maral is a general-purpose generative language model that demonstrates excellent performance in tasks such as summarization and question-answering, specifically in the Russian language. Its advanced capabilities allow it to generate coherent and contextually accurate responses, making it highly effective for a wide range of natural language processing applications.
๐จโ๐ป Examples of usage
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
tokenizer = AutoTokenizer.from_pretrained("MadShift/Maral")
model = AutoModelForCausalLM.from_pretrained("MadShift/Maral", device_map="auto")
input_text = "ะะฒะตะดะธัะต ัะฒะพะน ัะตะบัั ะทะดะตัั"
input_ids = tokenizer(input_text, return_tensors="pt").to(model.device)
outputs = model.generate(**input_ids, max_new_tokens=256)
print(tokenizer.decode(outputs[0]))
- Downloads last month
- -
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="RichardErkhov/MadShift_-_Maral-gguf", filename="", )