Instructions to use RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-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/Nels2_-_SmolLM2-FT-Test-Zero-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-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/Nels2_-_SmolLM2-FT-Test-Zero-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-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/Nels2_-_SmolLM2-FT-Test-Zero-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-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/Nels2_-_SmolLM2-FT-Test-Zero-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-gguf:Q4_K_M
Use Docker
docker model run hf.co/RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-gguf with Ollama:
ollama run hf.co/RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-gguf with Docker Model Runner:
docker model run hf.co/RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-gguf:Q4_K_M
- Lemonade
How to use RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RichardErkhov/Nels2_-_SmolLM2-FT-Test-Zero-gguf:Q4_K_M
Run and chat with the model
lemonade run user.Nels2_-_SmolLM2-FT-Test-Zero-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Quantization made by Richard Erkhov.
SmolLM2-FT-Test-Zero - GGUF
- Model creator: https://huggingface.co/Nels2/
- Original model: https://huggingface.co/Nels2/SmolLM2-FT-Test-Zero/
Original model description:
base_model: HuggingFaceTB/SmolLM2-135M library_name: transformers model_name: SmolLM2-FT-Test-Zero tags: - generated_from_trainer - smol-course - module_1 - trl - sft licence: license
Model Card for SmolLM2-FT-Test-Zero
This model is a fine-tuned version of HuggingFaceTB/SmolLM2-135M. It has been trained using TRL.
Quick start
from transformers import pipeline
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="Nels2/SmolLM2-FT-Test-Zero", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
Training procedure
This model was trained with SFT.
Framework versions
- TRL: 0.12.1
- Transformers: 4.46.3
- Pytorch: 2.5.1
- Datasets: 3.1.0
- Tokenizers: 0.20.3
Citations
Cite TRL as:
@misc{vonwerra2022trl,
title = {{TRL: Transformer Reinforcement Learning}},
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{https://github.com/huggingface/trl}}
}
- Downloads last month
- 70
Hardware compatibility
Log In to add your hardware
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support