Instructions to use mradermacher/gpt2_pycode-i1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/gpt2_pycode-i1-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/gpt2_pycode-i1-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/gpt2_pycode-i1-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 mradermacher/gpt2_pycode-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/gpt2_pycode-i1-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 mradermacher/gpt2_pycode-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/gpt2_pycode-i1-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/gpt2_pycode-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/gpt2_pycode-i1-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/gpt2_pycode-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/gpt2_pycode-i1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/gpt2_pycode-i1-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/gpt2_pycode-i1-GGUF with Ollama:
ollama run hf.co/mradermacher/gpt2_pycode-i1-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/gpt2_pycode-i1-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/gpt2_pycode-i1-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/gpt2_pycode-i1-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/gpt2_pycode-i1-GGUF to start chatting
- Docker Model Runner
How to use mradermacher/gpt2_pycode-i1-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/gpt2_pycode-i1-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/gpt2_pycode-i1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/gpt2_pycode-i1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.gpt2_pycode-i1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
uploaded from rich1
Browse files- .gitattributes +24 -0
- gpt2_pycode.i1-IQ1_M.gguf +3 -0
- gpt2_pycode.i1-IQ1_S.gguf +3 -0
- gpt2_pycode.i1-IQ2_M.gguf +3 -0
- gpt2_pycode.i1-IQ2_S.gguf +3 -0
- gpt2_pycode.i1-IQ2_XS.gguf +3 -0
- gpt2_pycode.i1-IQ2_XXS.gguf +3 -0
- gpt2_pycode.i1-IQ3_M.gguf +3 -0
- gpt2_pycode.i1-IQ3_S.gguf +3 -0
- gpt2_pycode.i1-IQ3_XS.gguf +3 -0
- gpt2_pycode.i1-IQ3_XXS.gguf +3 -0
- gpt2_pycode.i1-IQ4_NL.gguf +3 -0
- gpt2_pycode.i1-IQ4_XS.gguf +3 -0
- gpt2_pycode.i1-Q2_K.gguf +3 -0
- gpt2_pycode.i1-Q2_K_S.gguf +3 -0
- gpt2_pycode.i1-Q3_K_L.gguf +3 -0
- gpt2_pycode.i1-Q3_K_M.gguf +3 -0
- gpt2_pycode.i1-Q3_K_S.gguf +3 -0
- gpt2_pycode.i1-Q4_0.gguf +3 -0
- gpt2_pycode.i1-Q4_1.gguf +3 -0
- gpt2_pycode.i1-Q4_K_M.gguf +3 -0
- gpt2_pycode.i1-Q4_K_S.gguf +3 -0
- gpt2_pycode.i1-Q5_K_M.gguf +3 -0
- gpt2_pycode.i1-Q5_K_S.gguf +3 -0
- gpt2_pycode.i1-Q6_K.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,27 @@ 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 |
imatrix.dat 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 |
imatrix.dat filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
gpt2_pycode.i1-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
gpt2_pycode.i1-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
gpt2_pycode.i1-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
gpt2_pycode.i1-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
gpt2_pycode.i1-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
gpt2_pycode.i1-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
gpt2_pycode.i1-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
gpt2_pycode.i1-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
gpt2_pycode.i1-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
gpt2_pycode.i1-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
gpt2_pycode.i1-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
gpt2_pycode.i1-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
gpt2_pycode.i1-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
gpt2_pycode.i1-Q2_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
gpt2_pycode.i1-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
gpt2_pycode.i1-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
gpt2_pycode.i1-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
gpt2_pycode.i1-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
gpt2_pycode.i1-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
gpt2_pycode.i1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
gpt2_pycode.i1-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
gpt2_pycode.i1-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
gpt2_pycode.i1-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
gpt2_pycode.i1-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
gpt2_pycode.i1-IQ1_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64d592264f79fa1b0fa95ad7b47434d16ad8f332d5cb289f1cc3cda2499994c4
|
| 3 |
+
size 51060864
|
gpt2_pycode.i1-IQ1_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d899ea18043241dfb023e4a49e960269ec8f88d51ee80ec668e550b0feaa80c7
|
| 3 |
+
size 49291392
|
gpt2_pycode.i1-IQ2_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68a8c8274ba6110da88829c01f5c72ba89aee371f911c98b37729ae4c266d708
|
| 3 |
+
size 60184704
|
gpt2_pycode.i1-IQ2_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2aa8f7d5acd1d69f9dfc97c98df004e0e094368a9738d6e2ed68f7ea7e22c5b
|
| 3 |
+
size 57825408
|
gpt2_pycode.i1-IQ2_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e80fddefe1aae6a0cd54eae66b4851cb93f766d0d29b882b53ba163488f0f5c9
|
| 3 |
+
size 56590464
|
gpt2_pycode.i1-IQ2_XXS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1dc897161b30e6478763d560d50358b32de90c3714a2cdff014505e634cd9ef4
|
| 3 |
+
size 54009984
|
gpt2_pycode.i1-IQ3_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b4e74597211dfdbc750cafee63d2611e8e1051a158d724be9102122a7a19b26
|
| 3 |
+
size 77642656
|
gpt2_pycode.i1-IQ3_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:228b5853aa6969876820342276a1738d39c38beea39fd0cb2d4f02a7c3ce9fb9
|
| 3 |
+
size 73569184
|
gpt2_pycode.i1-IQ3_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2c080ee75dd0929abd811de203a801692fce9f98728da3f4df23d3e549981ce
|
| 3 |
+
size 72573856
|
gpt2_pycode.i1-IQ3_XXS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6d61de5e240bfa3ed22d109d5776848de5f48af717225907ae523ec16149c73
|
| 3 |
+
size 64792704
|
gpt2_pycode.i1-IQ4_NL.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a28df539d23a87d209f117acba1d8461c286413df44c3173080914d91b9157d
|
| 3 |
+
size 84849568
|
gpt2_pycode.i1-IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bbf15fb6c43731eb2cd274d2e48feac53e64a0064e61ee08586e46a8ce28c202
|
| 3 |
+
size 82195360
|
gpt2_pycode.i1-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c118ff4e65e59562c6c66e57bb21ed18268fe5c3c945d8f50a4d9cae071cde1
|
| 3 |
+
size 68537248
|
gpt2_pycode.i1-Q2_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f75542c4313dcaa139303d698855c12ae1e279e4fc237b6b53679c9df8db83db
|
| 3 |
+
size 65495968
|
gpt2_pycode.i1-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1dd11b1c34759453d3b94147f6c5f34cb12e67efec6a163e485ab9c93fcbea92
|
| 3 |
+
size 85513120
|
gpt2_pycode.i1-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ead1c4af2037cd22f29e5e910175fdd817f36ee39cf448c187c6a421b06ed394
|
| 3 |
+
size 81089440
|
gpt2_pycode.i1-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17a152113094ed5e225699678977e2589e0c2c90f524408934cadb6dff3664d6
|
| 3 |
+
size 73569184
|
gpt2_pycode.i1-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1bd4246dfbff03de976e3ee628811d798da6dc0a7d4bd0a15ab3ce8296bf0710
|
| 3 |
+
size 84997024
|
gpt2_pycode.i1-Q4_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c60f8185b3de092148f4b7914d1e078b5ef53cc0edbac8886e004f564fa312ac
|
| 3 |
+
size 90157984
|
gpt2_pycode.i1-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ac77876a209defc3c2a4fb7367f7d8f21ca2dcd4feaf2b081554aef6a4656c0
|
| 3 |
+
size 91153312
|
gpt2_pycode.i1-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb369a69692a55fb2500d89a4b678c97a1fd06613933b16c0bbf78ae7f6d1992
|
| 3 |
+
size 85144480
|
gpt2_pycode.i1-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75019f177ef5026abd1a58af13374320250f60ea3320668aaba2130f62796340
|
| 3 |
+
size 100166560
|
gpt2_pycode.i1-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4240a992913f10351bd018612386a1028e3123e84069880d07a3e91163065f09
|
| 3 |
+
size 95466400
|
gpt2_pycode.i1-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:916f494aafa922321647f73c3cec8538a791ac18bda813c23632d5eb13b74b12
|
| 3 |
+
size 106746784
|