Instructions to use mradermacher/ScriptForge-small-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/ScriptForge-small-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mradermacher/ScriptForge-small-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/ScriptForge-small-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/ScriptForge-small-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/ScriptForge-small-GGUF", filename="ScriptForge-small.IQ4_XS.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/ScriptForge-small-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/ScriptForge-small-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/ScriptForge-small-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/ScriptForge-small-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/ScriptForge-small-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 mradermacher/ScriptForge-small-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/ScriptForge-small-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 mradermacher/ScriptForge-small-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/ScriptForge-small-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/ScriptForge-small-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use mradermacher/ScriptForge-small-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mradermacher/ScriptForge-small-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mradermacher/ScriptForge-small-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/mradermacher/ScriptForge-small-GGUF:Q4_K_M
- SGLang
How to use mradermacher/ScriptForge-small-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "mradermacher/ScriptForge-small-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mradermacher/ScriptForge-small-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "mradermacher/ScriptForge-small-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mradermacher/ScriptForge-small-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use mradermacher/ScriptForge-small-GGUF with Ollama:
ollama run hf.co/mradermacher/ScriptForge-small-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/ScriptForge-small-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 mradermacher/ScriptForge-small-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 mradermacher/ScriptForge-small-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/ScriptForge-small-GGUF to start chatting
- Docker Model Runner
How to use mradermacher/ScriptForge-small-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/ScriptForge-small-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/ScriptForge-small-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/ScriptForge-small-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.ScriptForge-small-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from rich1
Browse files- .gitattributes +12 -0
- ScriptForge-small.IQ4_XS.gguf +3 -0
- ScriptForge-small.Q2_K.gguf +3 -0
- ScriptForge-small.Q3_K_L.gguf +3 -0
- ScriptForge-small.Q3_K_M.gguf +3 -0
- ScriptForge-small.Q3_K_S.gguf +3 -0
- ScriptForge-small.Q4_K_M.gguf +3 -0
- ScriptForge-small.Q4_K_S.gguf +3 -0
- ScriptForge-small.Q5_K_M.gguf +3 -0
- ScriptForge-small.Q5_K_S.gguf +3 -0
- ScriptForge-small.Q6_K.gguf +3 -0
- ScriptForge-small.Q8_0.gguf +3 -0
- ScriptForge-small.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
ScriptForge-small.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
ScriptForge-small.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
ScriptForge-small.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
ScriptForge-small.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
ScriptForge-small.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
ScriptForge-small.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
ScriptForge-small.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
ScriptForge-small.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
ScriptForge-small.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
ScriptForge-small.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
ScriptForge-small.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
ScriptForge-small.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
ScriptForge-small.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33077c98318a93606859bbba9c59ceca5b8193775999c1b591b074fa1a1ce2d7
|
| 3 |
+
size 82559040
|
ScriptForge-small.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55eb23e9eddc034cb41f3448d1a9c8ce32c2fd35d819cf96ae3827bc2993bd3a
|
| 3 |
+
size 68532288
|
ScriptForge-small.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73cd888ac42816f84e570d842766aa229774ff3af9a8a6581a3d507604888dd8
|
| 3 |
+
size 85508160
|
ScriptForge-small.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12df19052b6127b80ad349fe17ea829d1a8582c35183c24630d1cbb6daa130a9
|
| 3 |
+
size 81084480
|
ScriptForge-small.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:782b3e20c2f810d9edd1def60c15033b3ed8f166f92e63c5f4eda59b1d78de8e
|
| 3 |
+
size 73564224
|
ScriptForge-small.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43803f5269552f41a2c68d6317364c6983b87642e03782d5d14e3cfb4523eb50
|
| 3 |
+
size 91148352
|
ScriptForge-small.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fcb3cf254645e54b270b793043396d5b5be7d33a73819eb709f40601eefac319
|
| 3 |
+
size 85139520
|
ScriptForge-small.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efe2ca7cac5cb8c0ae8d2648643389fbe06887204d982e3de1f946f20732319e
|
| 3 |
+
size 100161600
|
ScriptForge-small.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76282e72200ca642e5b89d7c94028c5ab19e6c399d14926359e52a156d811594
|
| 3 |
+
size 95461440
|
ScriptForge-small.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:810a1ba5af8c4e53e77d8bd65d4f63d1c007bd182e8c38134b30b2e83e61a2e9
|
| 3 |
+
size 106741824
|
ScriptForge-small.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a110c30e0a86e4629379c00f065c8b5c482b96de6a1052dc99854e37003d3cd3
|
| 3 |
+
size 136659744
|
ScriptForge-small.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:204ff2ebaa962286e6063a8a50e4691d58740d484d08408fe9b5235af070db7d
|
| 3 |
+
size 252471008
|