Run this model with HF Jobs

Run atasoglu/gemma4-e2b-it-ConvFill-TR-ONNX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/atasoglu/gemma4-e2b-it-ConvFill-TR-ONNX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/atasoglu/gemma4-e2b-it-ConvFill-TR-ONNX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/atasoglu/gemma4-e2b-it-ConvFill-TR-ONNX. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Transformers.js library
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';

// Allocate pipeline
const pipe = await pipeline('text-generation', 'atasoglu/gemma4-e2b-it-ConvFill-TR-ONNX');

Model Card for gemma4-e2b-it-ConvFill-TR-ONNX

q4f16 ONNX export of atasoglu/gemma4-e2b-it-ConvFill-TR that runs in the browser on WebGPU with transformers.js 4.x (needs shader-f16, ~3 GB download).

The finetuned weights were transplanted into the graphs of onnx-community/gemma-4-E2B-it-ONNX: linear layers re-quantized to 4 bits (MatMulNBits, block size 32), embeddings unchanged. Quantization costs about +0.02 bpb (0.3867 vs 0.3663 on the first 500 validation examples). Prefill of 263 tokens takes ~0.3 s and generation ~28 ms per token on a desktop GPU in Chrome.

import { AutoTokenizer, AutoModelForCausalLM } from "@huggingface/transformers";

const id = "atasoglu/gemma4-e2b-it-ConvFill-TR-ONNX";
const tokenizer = await AutoTokenizer.from_pretrained(id);
const model = await AutoModelForCausalLM.from_pretrained(id, { dtype: "q4f16", device: "webgpu" });

Details

Training data, hyperparameters, evaluation, limitations and citation are in the main model card. Base model: google/gemma-4-E2B-it. Paper: ConvFill. License: Gemma terms, including the Prohibited Use Policy.

Downloads last month
28
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for atasoglu/gemma4-e2b-it-ConvFill-TR-ONNX

Quantized
(2)
this model

Dataset used to train atasoglu/gemma4-e2b-it-ConvFill-TR-ONNX

Paper for atasoglu/gemma4-e2b-it-ConvFill-TR-ONNX