From ddbdb746b20b2ddc6e6073db09961a0693fd38cd Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Fri, 19 Jun 2026 02:10:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=EF=BC=8C=E7=94=B1ModelHub=20XC=E7=A4=BE=E5=8C=BA=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Model: unsloth/SmolLM2-1.7B-Instruct-GGUF Source: Original Platform --- .gitattributes | 42 ++++++++++++++++++++++++ README.md | 54 +++++++++++++++++++++++++++++++ SmolLM2-1.7B-Instruct-F16.gguf | 3 ++ SmolLM2-1.7B-Instruct-Q2_K.gguf | 3 ++ SmolLM2-1.7B-Instruct-Q3_K_M.gguf | 3 ++ SmolLM2-1.7B-Instruct-Q4_K_M.gguf | 3 ++ SmolLM2-1.7B-Instruct-Q5_K_M.gguf | 3 ++ SmolLM2-1.7B-Instruct-Q6_K.gguf | 3 ++ SmolLM2-1.7B-Instruct-Q8_0.gguf | 3 ++ configuration.json | 1 + 10 files changed, 118 insertions(+) create mode 100644 .gitattributes create mode 100644 README.md create mode 100644 SmolLM2-1.7B-Instruct-F16.gguf create mode 100644 SmolLM2-1.7B-Instruct-Q2_K.gguf create mode 100644 SmolLM2-1.7B-Instruct-Q3_K_M.gguf create mode 100644 SmolLM2-1.7B-Instruct-Q4_K_M.gguf create mode 100644 SmolLM2-1.7B-Instruct-Q5_K_M.gguf create mode 100644 SmolLM2-1.7B-Instruct-Q6_K.gguf create mode 100644 SmolLM2-1.7B-Instruct-Q8_0.gguf create mode 100644 configuration.json diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37bfa4a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,42 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text +SmolLM2-1.7B-Instruct-F16.gguf filter=lfs diff=lfs merge=lfs -text +SmolLM2-1.7B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +SmolLM2-1.7B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +SmolLM2-1.7B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +SmolLM2-1.7B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +SmolLM2-1.7B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +SmolLM2-1.7B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000..8159534 --- /dev/null +++ b/README.md @@ -0,0 +1,54 @@ +--- +base_model: HuggingFaceTB/SmolLM2-1.7B-Instruct +language: +- en +library_name: transformers +license: apache-2.0 +tags: +- llama +- unsloth +- transformers +--- + +# Finetune SmolLM2, Llama 3.2, Gemma 2, Mistral 2-5x faster with 70% less memory via Unsloth! + +We have a free Google Colab Tesla T4 notebook for Llama 3.2 (3B) here: https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing + +[](https://discord.gg/unsloth) +[](https://github.com/unslothai/unsloth) + +# unsloth/SmolLM2-1.7B-Instruct-GGUF +For more details on the model, please go to Hugging Face's original [model card](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct) + +## ✨ Finetune for Free + +All notebooks are **beginner friendly**! Add your dataset, click "Run All", and you'll get a 2x faster finetuned model which can be exported to GGUF, vLLM or uploaded to Hugging Face. + +| Unsloth supports | Free Notebooks | Performance | Memory use | +|-----------------|--------------------------------------------------------------------------------------------------------------------------|-------------|----------| +| **Llama-3.2 (3B)** | [▶️ Start on Colab](https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing) | 2.4x faster | 58% less | +| **Llama-3.2 (11B vision)** | [▶️ Start on Colab](https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing) | 2.4x faster | 58% less | +| **Llama-3.1 (8B)** | [▶️ Start on Colab](https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing) | 2.4x faster | 58% less | +| **Phi-3.5 (mini)** | [▶️ Start on Colab](https://colab.research.google.com/drive/1lN6hPQveB_mHSnTOYifygFcrO8C1bxq4?usp=sharing) | 2x faster | 50% less | +| **Gemma 2 (9B)** | [▶️ Start on Colab](https://colab.research.google.com/drive/1vIrqH5uYDQwsJ4-OO3DErvuv4pBgVwk4?usp=sharing) | 2.4x faster | 58% less | +| **Mistral (7B)** | [▶️ Start on Colab](https://colab.research.google.com/drive/1Dyauq4kTZoLewQ1cApceUQVNcnnNTzg_?usp=sharing) | 2.2x faster | 62% less | +| **DPO - Zephyr** | [▶️ Start on Colab](https://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing) | 1.9x faster | 19% less | + +- This [conversational notebook](https://colab.research.google.com/drive/1Aau3lgPzeZKQ-98h69CCu1UJcvIBLmy2?usp=sharing) is useful for ShareGPT ChatML / Vicuna templates. +- This [text completion notebook](https://colab.research.google.com/drive/1ef-tab5bhkvWmBOObepl1WgJvfvSzn5Q?usp=sharing) is for raw text. This [DPO notebook](https://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing) replicates Zephyr. +- \* Kaggle has 2x T4s, but we use 1. Due to overhead, 1x T4 is 5x faster. + +## Special Thanks +A huge thank you to the Hugging Face team for creating and releasing these models. + +## Model Summary + +SmolLM2 is a family of compact language models available in three size: 135M, 360M, and 1.7B parameters. They are capable of solving a wide range of tasks while being lightweight enough to run on-device. + +The 1.7B variant demonstrates significant advances over its predecessor SmolLM1-1.7B, particularly in instruction following, knowledge, reasoning, and mathematics. It was trained on 11 trillion tokens using a diverse dataset combination: FineWeb-Edu, DCLM, The Stack, along with new mathematics and coding datasets that we curated and will release soon. We developed the instruct version through supervised fine-tuning (SFT) using a combination of public datasets and our own curated datasets. We then applied Direct Preference Optimization (DPO) using [UltraFeedback](https://huggingface.co/datasets/HuggingFaceH4/ultrafeedback_binarized). + +The instruct model additionally supports tasks such as text rewriting, summarization and function calling thanks to datasets developed by [Argilla](https://huggingface.co/argilla) such as [Synth-APIGen-v0.1](https://huggingface.co/datasets/argilla/Synth-APIGen-v0.1). + +# SmolLM2 + +![image/png](https://cdn-uploads.huggingface.co/production/uploads/61c141342aac764ce1654e43/y45hIMNREW7w_XpHYB_0q.png) \ No newline at end of file diff --git a/SmolLM2-1.7B-Instruct-F16.gguf b/SmolLM2-1.7B-Instruct-F16.gguf new file mode 100644 index 0000000..50f1f27 --- /dev/null +++ b/SmolLM2-1.7B-Instruct-F16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f4020d9c59b329aaa082a690743e760411dfbb5c4ccd1ef49fb0fd20a6b6a7c +size 3424735904 diff --git a/SmolLM2-1.7B-Instruct-Q2_K.gguf b/SmolLM2-1.7B-Instruct-Q2_K.gguf new file mode 100644 index 0000000..056503a --- /dev/null +++ b/SmolLM2-1.7B-Instruct-Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bef8188930ae76e83e462eadd5a0878b55f14bf076ea140c1b47bc368fff47f +size 674583200 diff --git a/SmolLM2-1.7B-Instruct-Q3_K_M.gguf b/SmolLM2-1.7B-Instruct-Q3_K_M.gguf new file mode 100644 index 0000000..80afbee --- /dev/null +++ b/SmolLM2-1.7B-Instruct-Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c11df3ad10008f80b80c8028b93c959448d1a7a2e5758ff4248eeab20941be51 +size 860181152 diff --git a/SmolLM2-1.7B-Instruct-Q4_K_M.gguf b/SmolLM2-1.7B-Instruct-Q4_K_M.gguf new file mode 100644 index 0000000..7192537 --- /dev/null +++ b/SmolLM2-1.7B-Instruct-Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61b6f90dd515fd3bffbd0f6ba716e87555dde77d9b0573a562c2c5e62afc4909 +size 1055609504 diff --git a/SmolLM2-1.7B-Instruct-Q5_K_M.gguf b/SmolLM2-1.7B-Instruct-Q5_K_M.gguf new file mode 100644 index 0000000..6add4ab --- /dev/null +++ b/SmolLM2-1.7B-Instruct-Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c4b64bdc11ef0929857d946c43c8fe4e469542bbbafe7fb2589fb7eb3f8cdb2 +size 1225478816 diff --git a/SmolLM2-1.7B-Instruct-Q6_K.gguf b/SmolLM2-1.7B-Instruct-Q6_K.gguf new file mode 100644 index 0000000..902b81b --- /dev/null +++ b/SmolLM2-1.7B-Instruct-Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c53b3d00ac5588a36ffda34e8d1997898af712e076b31026c1fbcd6ead7f79ef +size 1405964960 diff --git a/SmolLM2-1.7B-Instruct-Q8_0.gguf b/SmolLM2-1.7B-Instruct-Q8_0.gguf new file mode 100644 index 0000000..2ed4efc --- /dev/null +++ b/SmolLM2-1.7B-Instruct-Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f3fb091804c48a561b42a4ca1be9ce2c353017187f74c48f52299cae790abe5 +size 1820414624 diff --git a/configuration.json b/configuration.json new file mode 100644 index 0000000..159097f --- /dev/null +++ b/configuration.json @@ -0,0 +1 @@ +{"framework": "pytorch", "task": "others", "allow_remote": true} \ No newline at end of file