Instructions to use cortexso/internlm3-8b-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use cortexso/internlm3-8b-it with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="cortexso/internlm3-8b-it", filename="internlm3-8b-instruct-q2_k.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use cortexso/internlm3-8b-it 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 cortexso/internlm3-8b-it:Q4_K_M # Run inference directly in the terminal: llama cli -hf cortexso/internlm3-8b-it:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cortexso/internlm3-8b-it:Q4_K_M # Run inference directly in the terminal: llama cli -hf cortexso/internlm3-8b-it: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 cortexso/internlm3-8b-it:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cortexso/internlm3-8b-it: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 cortexso/internlm3-8b-it:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cortexso/internlm3-8b-it:Q4_K_M
Use Docker
docker model run hf.co/cortexso/internlm3-8b-it:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use cortexso/internlm3-8b-it with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cortexso/internlm3-8b-it" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cortexso/internlm3-8b-it", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cortexso/internlm3-8b-it:Q4_K_M
- Ollama
How to use cortexso/internlm3-8b-it with Ollama:
ollama run hf.co/cortexso/internlm3-8b-it:Q4_K_M
- Unsloth Studio
How to use cortexso/internlm3-8b-it 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 cortexso/internlm3-8b-it 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 cortexso/internlm3-8b-it to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for cortexso/internlm3-8b-it to start chatting
- Atomic Chat new
- Docker Model Runner
How to use cortexso/internlm3-8b-it with Docker Model Runner:
docker model run hf.co/cortexso/internlm3-8b-it:Q4_K_M
- Lemonade
How to use cortexso/internlm3-8b-it with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cortexso/internlm3-8b-it:Q4_K_M
Run and chat with the model
lemonade run user.internlm3-8b-it-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- internlm3-8b-instruct-q2_k.gguf +3 -0
- internlm3-8b-instruct-q3_k_l.gguf +3 -0
- internlm3-8b-instruct-q3_k_m.gguf +3 -0
- internlm3-8b-instruct-q3_k_s.gguf +3 -0
- internlm3-8b-instruct-q4_k_m.gguf +3 -0
- internlm3-8b-instruct-q4_k_s.gguf +3 -0
- internlm3-8b-instruct-q5_k_m.gguf +3 -0
- internlm3-8b-instruct-q5_k_s.gguf +3 -0
- internlm3-8b-instruct-q6_k.gguf +3 -0
- internlm3-8b-instruct-q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,13 @@ 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 |
+
internlm3-8b-instruct-q2_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
internlm3-8b-instruct-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
internlm3-8b-instruct-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
internlm3-8b-instruct-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
internlm3-8b-instruct-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
internlm3-8b-instruct-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
internlm3-8b-instruct-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
internlm3-8b-instruct-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
internlm3-8b-instruct-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
internlm3-8b-instruct-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
internlm3-8b-instruct-q2_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69cd4ea011b73b036f65c5e9552fad0af81f29369af8ed0b8eb1542479b12933
|
| 3 |
+
size 3450641600
|
internlm3-8b-instruct-q3_k_l.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89240ce5dc8654564137cbb86e67115c6939cbeb52fa822d2b0c7dd3d1b55362
|
| 3 |
+
size 4732902592
|
internlm3-8b-instruct-q3_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f384af8fbfbdca052cf5e75a011c2b0c3e77dc27bf0eefa9b58a1ffff7e0bd6a
|
| 3 |
+
size 4390280384
|
internlm3-8b-instruct-q3_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e143e30a34ec6ba01f8eb0507a975d1cd7fc461609899939c6f0e0939e18ab2
|
| 3 |
+
size 3993263296
|
internlm3-8b-instruct-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8e44f4d07587754795105b44faa720c8edc5c739caf254a144f5c9d1cf8d6b7
|
| 3 |
+
size 5358623936
|
internlm3-8b-instruct-q4_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58a57c3702f28320efc06536a548f83f99c6714b2f28f94be73141a677b5e4d5
|
| 3 |
+
size 5124594880
|
internlm3-8b-instruct-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19d24d7d9211396e84d6bf37f71db382c2aac8ccde246e3724d490b6c8a1bfb8
|
| 3 |
+
size 6264331456
|
internlm3-8b-instruct-q5_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18f3afb878397641667b48bff242dcc276ab19fc006a075e5fb06896b7942c85
|
| 3 |
+
size 6127295680
|
internlm3-8b-instruct-q6_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab65e92aecafe5ac1c3eced2806b02e7fede46ce26368e095e5cad4bc4fe2513
|
| 3 |
+
size 7226645696
|
internlm3-8b-instruct-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5588ea7e0297d1da689dd06334e9eb37cd539629e67f3f0659731a096f11e905
|
| 3 |
+
size 9358826688
|