Instructions to use unsloth/gemma-4-E4B-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Inference
- Local Apps Settings
- Unsloth Studio
How to use unsloth/gemma-4-E4B-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 unsloth/gemma-4-E4B-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 unsloth/gemma-4-E4B-it to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for unsloth/gemma-4-E4B-it to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="unsloth/gemma-4-E4B-it", max_seq_length=2048, )
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,7 +13,7 @@ tags:
|
|
| 13 |
|
| 14 |
<div>
|
| 15 |
<p style="margin-top: 0;margin-bottom: 0;">
|
| 16 |
-
<em>See <a href="https://
|
| 17 |
</p>
|
| 18 |
<div style="display: flex; gap: 5px; align-items: center; ">
|
| 19 |
<a href="https://github.com/unslothai/unsloth/">
|
|
@@ -28,6 +28,10 @@ tags:
|
|
| 28 |
</div>
|
| 29 |
</div>
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
---
|
| 32 |
|
| 33 |
<div align="center">
|
|
|
|
| 13 |
|
| 14 |
<div>
|
| 15 |
<p style="margin-top: 0;margin-bottom: 0;">
|
| 16 |
+
<em>See <a href="https://unsloth.ai/docs/basics/unsloth-dynamic-v2.0-gguf">Unsloth Dynamic 2.0 GGUFs</a> for our quantization benchmarks.</em>
|
| 17 |
</p>
|
| 18 |
<div style="display: flex; gap: 5px; align-items: center; ">
|
| 19 |
<a href="https://github.com/unslothai/unsloth/">
|
|
|
|
| 28 |
</div>
|
| 29 |
</div>
|
| 30 |
|
| 31 |
+
Gemma 4 can now be run and fine-tuned in [Unsloth Studio](https://unsloth.ai/docs/new/studio). [Read our guide](https://unsloth.ai/docs/models/gemma-4).
|
| 32 |
+
|
| 33 |
+
See all versions of Gemma 4 (GGUF, 16-bit etc.) [in our collection](https://huggingface.co/collections/unsloth/gemma-4).
|
| 34 |
+
|
| 35 |
---
|
| 36 |
|
| 37 |
<div align="center">
|