Instructions to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF") model = AutoModelForCausalLM.from_pretrained("second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-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 second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/Llama-3.1-Nemotron-70B-Instruct-HF-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 second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/Llama-3.1-Nemotron-70B-Instruct-HF-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 second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf second-state/Llama-3.1-Nemotron-70B-Instruct-HF-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 second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M
Use Docker
docker model run hf.co/second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M
- SGLang
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-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 "second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF with Ollama:
ollama run hf.co/second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF with Docker Model Runner:
docker model run hf.co/second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M
- Lemonade
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Llama-3.1-Nemotron-70B-Instruct-HF-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf second-state/Llama-3.1-Nemotron-70B-Instruct-HF-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 second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "second-state/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update models
Browse files- .gitattributes +19 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q2_K.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q3_K_L.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q3_K_M.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q3_K_S.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q4_0.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q4_K_M.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q4_K_S.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q5_0.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q5_K_S.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q6_K-00001-of-00002.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q6_K-00002-of-00002.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q8_0-00001-of-00003.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q8_0-00002-of-00003.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-Q8_0-00003-of-00003.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-f16-00001-of-00005.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-f16-00002-of-00005.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-f16-00003-of-00005.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-f16-00004-of-00005.gguf +3 -0
- Llama-3.1-Nemotron-70B-Instruct-HF-f16-00005-of-00005.gguf +3 -0
|
@@ -34,3 +34,22 @@ saved_model/**/* 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 |
Llama-3.1-Nemotron-70B-Instruct-HF-Q5_K_M.gguf 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 |
Llama-3.1-Nemotron-70B-Instruct-HF-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q6_K-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q6_K-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q8_0-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q8_0-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-Q8_0-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-f16-00001-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-f16-00002-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-f16-00003-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-f16-00004-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
Llama-3.1-Nemotron-70B-Instruct-HF-f16-00005-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffaa04aba9cafb06f1f408783f7101a1c23b2e970526a5ae8246affdcf087e27
|
| 3 |
+
size 26375113312
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47ef29a02a1888e3c74ca7e2b9ca646a52e13649439818fe807c7a9c91bd2cab
|
| 3 |
+
size 37140597344
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23f4cb1852e5521a7f3ff6b5af7e4ad7408767beafa5b836ac3cb2355db6b885
|
| 3 |
+
size 34267499104
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ecc6c71f03e6114b8c23eebc4c81d6e62373f3cb8e341ccee47953b6ad7129f
|
| 3 |
+
size 30912055904
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7f1cbd085bbb7f30e1af21aa2afb34747488d05bc751e436637101653f3fc4a
|
| 3 |
+
size 39969737312
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f29b9c31be5fcd70f48aa86c32a90c81409bb524f9a90f3f508e0b0350a4cc59
|
| 3 |
+
size 42520398432
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8757948babe34145b21d9e680dba105ea9ab80be05bb0787413fe7c3006d38e3
|
| 3 |
+
size 40347224672
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c8989abfc574ba171c41af3859c5cfff5735d6024a31180e5f94e704a1653d3
|
| 3 |
+
size 48657451616
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac09a7f5d2e6ec4b049cc39b5513e5cd5c4919cb06f6aba4b7fa182b9e4f3931
|
| 3 |
+
size 48657451616
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98d21c707a09f19bea92cfc3e2155aba320342dd851bfa2c657e5b3e884c9d8e
|
| 3 |
+
size 29842634944
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73b3178ab1d729f3f376e942a870d33ac22327d2f9ecd1d8dd116e616a5d67e9
|
| 3 |
+
size 28045513312
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a091128a8ddfbd52525712bc473df091878d1813b474d6fa09a5157eca208c2
|
| 3 |
+
size 29807944704
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ceed476351b8daba6ae957fb17ce1fff1c90159cd28e87a00e6cdfa10a64c76
|
| 3 |
+
size 29753427360
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:993d64765217a4fb74f99d4678f0c83efa754bc2078c5ee3598176db2c652c59
|
| 3 |
+
size 15413682688
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c2a92ea49a80cfe7727fa582ea8cdf146cd93ee374835a1ccabb1df139a037c
|
| 3 |
+
size 29960438848
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddaf52270933bf63d077d3438653d7041346b69a8938c521b6dc7c8cfc018024
|
| 3 |
+
size 29562578048
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb30cf5a440f6575f30a1f8c7a005bcccfc1d2d7f9897acbf43a1258f5b1cf32
|
| 3 |
+
size 29864633824
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e132b2adfade08e74002b71209064cf8fb94cfe5f07d80b29a2a6a862f0b8fd
|
| 3 |
+
size 29562545216
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3b22e1657e9922222232d4767962f1d989c5da9354ce260407c61a2db8cff1a
|
| 3 |
+
size 22167722464
|