GGUF
Collection
Your favorite models quantized in gguf formats • 7 items • Updated
How to use medmekk/SmolLM2-1.7B-Instruct.GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="medmekk/SmolLM2-1.7B-Instruct.GGUF", filename="SmolLM2-1.7B-Instruct-IQ3_M_imat.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
How to use medmekk/SmolLM2-1.7B-Instruct.GGUF with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M
# 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 medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M
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 medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M
docker model run hf.co/medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M
How to use medmekk/SmolLM2-1.7B-Instruct.GGUF with Ollama:
ollama run hf.co/medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M
How to use medmekk/SmolLM2-1.7B-Instruct.GGUF with Unsloth Studio:
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 medmekk/SmolLM2-1.7B-Instruct.GGUF to start chatting
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 medmekk/SmolLM2-1.7B-Instruct.GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for medmekk/SmolLM2-1.7B-Instruct.GGUF to start chatting
How to use medmekk/SmolLM2-1.7B-Instruct.GGUF with Docker Model Runner:
docker model run hf.co/medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M
How to use medmekk/SmolLM2-1.7B-Instruct.GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull medmekk/SmolLM2-1.7B-Instruct.GGUF:Q4_K_M
lemonade run user.SmolLM2-1.7B-Instruct.GGUF-Q4_K_M
lemonade list
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
GGUF quantized versions of HuggingFaceTB/SmolLM2-1.7B-Instruct
Q2_K: SmolLM2-1.7B-Instruct-Q2_K.ggufQ3_K_S: SmolLM2-1.7B-Instruct-Q3_K_S.ggufQ3_K_M: SmolLM2-1.7B-Instruct-Q3_K_M.ggufQ3_K_L: SmolLM2-1.7B-Instruct-Q3_K_L.ggufQ4_0: SmolLM2-1.7B-Instruct-Q4_0.ggufQ4_K_S: SmolLM2-1.7B-Instruct-Q4_K_S.ggufQ4_K_M: SmolLM2-1.7B-Instruct-Q4_K_M.ggufQ5_0: SmolLM2-1.7B-Instruct-Q5_0.ggufQ5_K_S: SmolLM2-1.7B-Instruct-Q5_K_S.ggufQ5_K_M: SmolLM2-1.7B-Instruct-Q5_K_M.ggufQ6_K: SmolLM2-1.7B-Instruct-Q6_K.ggufQ8_0: SmolLM2-1.7B-Instruct-Q8_0.ggufIQ3_M_IMAT: SmolLM2-1.7B-Instruct-IQ3_M_imat.ggufIQ3_XXS_IMAT: SmolLM2-1.7B-Instruct-IQ3_XXS_imat.ggufQ4_K_M_IMAT: SmolLM2-1.7B-Instruct-Q4_K_M_imat.ggufQ4_K_S_IMAT: SmolLM2-1.7B-Instruct-Q4_K_S_imat.ggufIQ4_NL_IMAT: SmolLM2-1.7B-Instruct-IQ4_NL_imat.ggufIQ4_XS_IMAT: SmolLM2-1.7B-Instruct-IQ4_XS_imat.ggufQ5_K_M_IMAT: SmolLM2-1.7B-Instruct-Q5_K_M_imat.ggufQ5_K_S_IMAT: SmolLM2-1.7B-Instruct-Q5_K_S_imat.gguf# CLI:
llama-cli --hf-repo medmekk/SmolLM2-1.7B-Instruct.GGUF --hf-file MODEL_FILE -p "Your prompt"
# Server:
llama-server --hf-repo medmekk/SmolLM2-1.7B-Instruct.GGUF --hf-file MODEL_FILE -c 2048
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit