Instructions to use GoofyLM/N1-Quant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use GoofyLM/N1-Quant with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="GoofyLM/N1-Quant", filename="N1-auto.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 GoofyLM/N1-Quant with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf GoofyLM/N1-Quant:BF16 # Run inference directly in the terminal: llama-cli -hf GoofyLM/N1-Quant:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf GoofyLM/N1-Quant:BF16 # Run inference directly in the terminal: llama-cli -hf GoofyLM/N1-Quant:BF16
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 GoofyLM/N1-Quant:BF16 # Run inference directly in the terminal: ./llama-cli -hf GoofyLM/N1-Quant:BF16
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 GoofyLM/N1-Quant:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf GoofyLM/N1-Quant:BF16
Use Docker
docker model run hf.co/GoofyLM/N1-Quant:BF16
- LM Studio
- Jan
- vLLM
How to use GoofyLM/N1-Quant with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GoofyLM/N1-Quant" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GoofyLM/N1-Quant", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/GoofyLM/N1-Quant:BF16
- Ollama
How to use GoofyLM/N1-Quant with Ollama:
ollama run hf.co/GoofyLM/N1-Quant:BF16
- Unsloth Studio
How to use GoofyLM/N1-Quant 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 GoofyLM/N1-Quant 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 GoofyLM/N1-Quant to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for GoofyLM/N1-Quant to start chatting
- Docker Model Runner
How to use GoofyLM/N1-Quant with Docker Model Runner:
docker model run hf.co/GoofyLM/N1-Quant:BF16
- Lemonade
How to use GoofyLM/N1-Quant with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull GoofyLM/N1-Quant:BF16
Run and chat with the model
lemonade run user.N1-Quant-BF16
List all available models
lemonade list
Upload 7 files
Browse files- .gitattributes +7 -0
- N1-auto.gguf +3 -0
- N1-bf16.gguf +3 -0
- N1-f16.gguf +3 -0
- N1-f32.gguf +3 -0
- N1-q8_0.gguf +3 -0
- N1-tq1_0.gguf +3 -0
- N1-tq2_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
GoofyLM-N1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
N1_Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
GoofyLM-N1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
N1_Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
N1-auto.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
N1-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
N1-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
N1-f32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
N1-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
N1-tq1_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
N1-tq2_0.gguf filter=lfs diff=lfs merge=lfs -text
|
N1-auto.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b871b08157dfda2c8f4053aa539cc8946d7e16e606ef5d29b256b4c383f0ce73
|
| 3 |
+
size 270885568
|
N1-bf16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b871b08157dfda2c8f4053aa539cc8946d7e16e606ef5d29b256b4c383f0ce73
|
| 3 |
+
size 270885568
|
N1-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ddb24afed4f4fbd189e8edc120fc7ed46075e7e9bc575624ad275889d6e58f8
|
| 3 |
+
size 270885568
|
N1-f32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50d454fbf8471608768b50ec8239d06c91b39bfef5ad4288d39192c49890f717
|
| 3 |
+
size 539845312
|
N1-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84e3225f8ed3d9b9b9bd01a586b20d1f3cc676c70b919385a2c5090421673fa0
|
| 3 |
+
size 144810688
|
N1-tq1_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7387e936a9d8b50a77e64e83df7c1af5546cb93a66ed3d50ef55d83dd99a6380
|
| 3 |
+
size 223400128
|
N1-tq2_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a86c110daf12f1b6103b36cbef56f3932e4df7b897daa4efd3ca24f4984ff71
|
| 3 |
+
size 224644288
|