Instructions to use mradermacher/ScienceLLaMA-1b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/ScienceLLaMA-1b-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/ScienceLLaMA-1b-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/ScienceLLaMA-1b-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/ScienceLLaMA-1b-GGUF", filename="ScienceLLaMA-1b.IQ4_XS.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use mradermacher/ScienceLLaMA-1b-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/ScienceLLaMA-1b-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/ScienceLLaMA-1b-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/ScienceLLaMA-1b-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/ScienceLLaMA-1b-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/ScienceLLaMA-1b-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/ScienceLLaMA-1b-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/ScienceLLaMA-1b-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/ScienceLLaMA-1b-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/ScienceLLaMA-1b-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/ScienceLLaMA-1b-GGUF with Ollama:
ollama run hf.co/mradermacher/ScienceLLaMA-1b-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/ScienceLLaMA-1b-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/ScienceLLaMA-1b-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/ScienceLLaMA-1b-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/ScienceLLaMA-1b-GGUF to start chatting
- Pi
How to use mradermacher/ScienceLLaMA-1b-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf mradermacher/ScienceLLaMA-1b-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mradermacher/ScienceLLaMA-1b-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use mradermacher/ScienceLLaMA-1b-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf mradermacher/ScienceLLaMA-1b-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default mradermacher/ScienceLLaMA-1b-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use mradermacher/ScienceLLaMA-1b-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/ScienceLLaMA-1b-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/ScienceLLaMA-1b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/ScienceLLaMA-1b-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.ScienceLLaMA-1b-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from kaos
Browse files- .gitattributes +12 -0
- ScienceLLaMA-1b.IQ4_XS.gguf +3 -0
- ScienceLLaMA-1b.Q2_K.gguf +3 -0
- ScienceLLaMA-1b.Q3_K_L.gguf +3 -0
- ScienceLLaMA-1b.Q3_K_M.gguf +3 -0
- ScienceLLaMA-1b.Q3_K_S.gguf +3 -0
- ScienceLLaMA-1b.Q4_K_M.gguf +3 -0
- ScienceLLaMA-1b.Q4_K_S.gguf +3 -0
- ScienceLLaMA-1b.Q5_K_M.gguf +3 -0
- ScienceLLaMA-1b.Q5_K_S.gguf +3 -0
- ScienceLLaMA-1b.Q6_K.gguf +3 -0
- ScienceLLaMA-1b.Q8_0.gguf +3 -0
- ScienceLLaMA-1b.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 |
+
ScienceLLaMA-1b.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
ScienceLLaMA-1b.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
ScienceLLaMA-1b.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
ScienceLLaMA-1b.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
ScienceLLaMA-1b.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
ScienceLLaMA-1b.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
ScienceLLaMA-1b.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
ScienceLLaMA-1b.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
ScienceLLaMA-1b.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
ScienceLLaMA-1b.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
ScienceLLaMA-1b.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
ScienceLLaMA-1b.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
ScienceLLaMA-1b.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91f36daafd3b5aa89eb633c397af7c1e67ae681cf67bd75f1f9720f85a03a947
|
| 3 |
+
size 748384736
|
ScienceLLaMA-1b.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1e081615108661908231793839885311d6cc374ffa27e62eeb1d6f7776e0dd5
|
| 3 |
+
size 580874720
|
ScienceLLaMA-1b.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0694c81d5b56f60a0a708b165937e0de99e6d5dfb06005d4c4acb2249c7dab14
|
| 3 |
+
size 732525024
|
ScienceLLaMA-1b.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47b1fdc1914acd1c0aa8d63729ff1f3b671e124afbed0c24d9959f6ae01db524
|
| 3 |
+
size 690844128
|
ScienceLLaMA-1b.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91dabce3194fc91a104aef84911b65db80a15ac7b709a1533bad1ea0b7bb37a5
|
| 3 |
+
size 641692128
|
ScienceLLaMA-1b.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b3a2315da815f3182ae4c4bd86279cb3fce4e6f8a3c6792ff153706392394c0
|
| 3 |
+
size 807694816
|
ScienceLLaMA-1b.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73c478f1b2916cba7af4f68488424e2eb6dd1b7fabd25c89e535499450d69ed3
|
| 3 |
+
size 775647712
|
ScienceLLaMA-1b.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:573bd72b8491c734dd9d6d7161e82f83d4a949a1a8eec7ff84aa7e4ae48f7f3f
|
| 3 |
+
size 911503840
|
ScienceLLaMA-1b.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59208af8e5320c2e4c7efe798a4c2b963d749c3663c00e28f9dce2b552d8f9df
|
| 3 |
+
size 892563936
|
ScienceLLaMA-1b.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fcbe58df427a7bc453488b830b9279bc719cc0a4cd394c48896e4e4078ec505
|
| 3 |
+
size 1021800928
|
ScienceLLaMA-1b.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb11b5e75dad0952c05c909e86a620d4a9d04a421eb581156a7c004aa7f83217
|
| 3 |
+
size 1321083360
|
ScienceLLaMA-1b.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e45fcca085b65de0ab0ba5a016f7647d8659a4cd17400770128fc8daf42b9fc
|
| 3 |
+
size 2479596000
|