How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="minskim/SmolLM2-HFT-1.7B-Instruct",
	filename="SmolLM2-HFT-1.7B-Instruct-Q4_K_M.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

SmolLM2-1.7B-Instruct with Hugging Face Tokenizer Metadata

This is a modified version of the HuggingFaceTB/SmolLM2-1.7B-Instruct-GGUF model. The modification includes embedding the Hugging Face tokenizer metadata directly into the model under the key tokenizer.huggingface.json.

For detailed information about the original model, refer to the SmolLM2-1.7B-Instruct model card.

Downloads last month
7
GGUF
Model size
2B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for minskim/SmolLM2-HFT-1.7B-Instruct