Instructions to use google/gemma-4-E2B-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/gemma-4-E2B-it with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("google/gemma-4-E2B-it") model = AutoModelForMultimodalLM.from_pretrained("google/gemma-4-E2B-it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- AMD Developer Cloud
Add ExtractBench evaluation results
Browse filesThis PR ensures your model shows up at https://huggingface.co/datasets/llamaindex/ExtractBench.
This is based on the new evaluation results feature: https://huggingface.co/docs/hub/eval-results.
Note: this includes unified value F1 on each of the 3 ExtractBench length splits (short, medium, long) along with the overall mean score over all 370 documents.
.eval_results/extractbench.yaml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: llamaindex/ExtractBench
|
| 3 |
+
task_id: mean
|
| 4 |
+
value: 51.85
|
| 5 |
+
date: '2026-08-24'
|
| 6 |
+
source:
|
| 7 |
+
url: https://huggingface.co/datasets/llamaindex/ExtractBench
|
| 8 |
+
name: ExtractBench
|
| 9 |
+
user: boyang-runllama
|
| 10 |
+
notes: "Pipeline name: gemma4_e2b_vllm_extract_oneshot_structured_output_file"
|
| 11 |
+
- dataset:
|
| 12 |
+
id: llamaindex/ExtractBench
|
| 13 |
+
task_id: short
|
| 14 |
+
value: 63.71
|
| 15 |
+
date: '2026-08-24'
|
| 16 |
+
source:
|
| 17 |
+
url: https://huggingface.co/datasets/llamaindex/ExtractBench
|
| 18 |
+
name: ExtractBench
|
| 19 |
+
user: boyang-runllama
|
| 20 |
+
notes: "Pipeline name: gemma4_e2b_vllm_extract_oneshot_structured_output_file"
|
| 21 |
+
- dataset:
|
| 22 |
+
id: llamaindex/ExtractBench
|
| 23 |
+
task_id: medium
|
| 24 |
+
value: 28.96
|
| 25 |
+
date: '2026-08-24'
|
| 26 |
+
source:
|
| 27 |
+
url: https://huggingface.co/datasets/llamaindex/ExtractBench
|
| 28 |
+
name: ExtractBench
|
| 29 |
+
user: boyang-runllama
|
| 30 |
+
notes: "Pipeline name: gemma4_e2b_vllm_extract_oneshot_structured_output_file"
|
| 31 |
+
- dataset:
|
| 32 |
+
id: llamaindex/ExtractBench
|
| 33 |
+
task_id: long
|
| 34 |
+
value: 14.58
|
| 35 |
+
date: '2026-08-24'
|
| 36 |
+
source:
|
| 37 |
+
url: https://huggingface.co/datasets/llamaindex/ExtractBench
|
| 38 |
+
name: ExtractBench
|
| 39 |
+
user: boyang-runllama
|
| 40 |
+
notes: "Pipeline name: gemma4_e2b_vllm_extract_oneshot_structured_output_file"
|