Instructions to use second-state/internlm2_5-7b-chat-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use second-state/internlm2_5-7b-chat-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="second-state/internlm2_5-7b-chat-GGUF", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("second-state/internlm2_5-7b-chat-GGUF", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use second-state/internlm2_5-7b-chat-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/internlm2_5-7b-chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/internlm2_5-7b-chat-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/internlm2_5-7b-chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/internlm2_5-7b-chat-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/internlm2_5-7b-chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf second-state/internlm2_5-7b-chat-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/internlm2_5-7b-chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf second-state/internlm2_5-7b-chat-GGUF:Q4_K_M
Use Docker
docker model run hf.co/second-state/internlm2_5-7b-chat-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use second-state/internlm2_5-7b-chat-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "second-state/internlm2_5-7b-chat-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/internlm2_5-7b-chat-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/second-state/internlm2_5-7b-chat-GGUF:Q4_K_M
- SGLang
How to use second-state/internlm2_5-7b-chat-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/internlm2_5-7b-chat-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/internlm2_5-7b-chat-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/internlm2_5-7b-chat-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/internlm2_5-7b-chat-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use second-state/internlm2_5-7b-chat-GGUF with Ollama:
ollama run hf.co/second-state/internlm2_5-7b-chat-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use second-state/internlm2_5-7b-chat-GGUF with Docker Model Runner:
docker model run hf.co/second-state/internlm2_5-7b-chat-GGUF:Q4_K_M
- Lemonade
How to use second-state/internlm2_5-7b-chat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull second-state/internlm2_5-7b-chat-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.internlm2_5-7b-chat-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update models
Browse files- internlm2_5-7b-chat-Q2_K.gguf +2 -2
- internlm2_5-7b-chat-Q3_K_L.gguf +2 -2
- internlm2_5-7b-chat-Q3_K_M.gguf +2 -2
- internlm2_5-7b-chat-Q3_K_S.gguf +2 -2
- internlm2_5-7b-chat-Q4_0.gguf +2 -2
- internlm2_5-7b-chat-Q4_K_M.gguf +2 -2
- internlm2_5-7b-chat-Q4_K_S.gguf +2 -2
- internlm2_5-7b-chat-Q5_0.gguf +2 -2
- internlm2_5-7b-chat-Q5_K_M.gguf +2 -2
- internlm2_5-7b-chat-Q5_K_S.gguf +2 -2
- internlm2_5-7b-chat-Q6_K.gguf +2 -2
- internlm2_5-7b-chat-Q8_0.gguf +2 -2
- internlm2_5-7b-chat-f16.gguf +2 -2
internlm2_5-7b-chat-Q2_K.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c61ec5054f4396e45e918d79ab7c69142a1de3bab5d6e0cdfd8d69743841778
|
| 3 |
+
size 3005449024
|
internlm2_5-7b-chat-Q3_K_L.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:257f9e5c5b81bd5a70437271e225a2a8a8f8ffdbfae5f4bbe64f804564244429
|
| 3 |
+
size 4133417792
|
internlm2_5-7b-chat-Q3_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:460b50cce3a2811a2bf5f11b95e658902c166aed99f146e9a0ce4690b3832e26
|
| 3 |
+
size 3830379328
|
internlm2_5-7b-chat-Q3_K_S.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82a00dbcf9f97ed98c6a853171020766e588328e19b124580db9a42f928fe203
|
| 3 |
+
size 3475960640
|
internlm2_5-7b-chat-Q4_0.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de1b8fef5373d6977345a5133def71c8ead427c27ef36232627f0d6365d4e277
|
| 3 |
+
size 4453245760
|
internlm2_5-7b-chat-Q4_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:450ef0b157ee10586bb8fce4c5173ae1799345c43c537a6a7353518df1079f55
|
| 3 |
+
size 4712768320
|
internlm2_5-7b-chat-Q4_K_S.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5759a87d6581502c0cc0d4c1e6c847a55609dea03d2dfdcd2b30103fdbd0bfa0
|
| 3 |
+
size 4484703040
|
internlm2_5-7b-chat-Q5_0.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d8456f5744f6854c15ba91923a54bbf589eb742b55910c35ba7f2467d5fc893
|
| 3 |
+
size 5373043520
|
internlm2_5-7b-chat-Q5_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:687ade10a70ecb22f9902362dd47a71e1ab6106eeee105f6beab359e984dfae6
|
| 3 |
+
size 5506736960
|
internlm2_5-7b-chat-Q5_K_S.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78294633ed2df6610e9614879d16ccb30b3a5db7e9b3336ba56e9e2228213a2d
|
| 3 |
+
size 5373043520
|
internlm2_5-7b-chat-Q6_K.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c562773a51c707e2026fe783729735f39faaf43e635e8a5b1e7c5d76c5177551
|
| 3 |
+
size 6350328640
|
internlm2_5-7b-chat-Q8_0.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c17cb397a27875b584a00fd77a07c7ac401f749117f02e79a7610b6cf8ba855
|
| 3 |
+
size 8224240448
|
internlm2_5-7b-chat-f16.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f4fd4abe9bccedc93a5c95e0b7a14da749a1a8d6ec672f42fea422634c0ec7e
|
| 3 |
+
size 15478092608
|