← Catalog

gemma-4-e2b-it production first-party

text-generation · 2.41 GB · Gemma

Card

Provider
manashiki
Task
text-generation
License
Gemma
Version
1.0
Format
litertlm
Platforms
ios
SHA-256
181938105e0eefd105961417e8da75903eacda102c4fce9ce90f50b97139a63c

Integrate

Swift

// Package.swift
.package(url: "https://github.com/Nozium/manashiki-models-swift", branch: "main"),

// In your app:
import Manashiki

let client = ManashikiClient(apiKey: ProcessInfo.processInfo.environment["MANASHIKI_API_KEY"] ?? "")
let model = try await client.downloadModel("gemma-4-e2b-it") { progress in
    print("\(progress.bytesWritten) / \(progress.totalBytes)")
}
print(model.localURL)

TypeScript

// npm i @manashiki/sdk
import { ManashikiClient } from "@manashiki/sdk";

const client = new ManashikiClient({ apiKey: process.env.MANASHIKI_API_KEY! });
const dl = await client.downloadModel("gemma-4-e2b-it");
console.log(dl);

Kotlin / Android

// build.gradle.kts
implementation("com.manashiki:manashiki-models:0.1.0")

// Kotlin
val client = ManashikiClient(apiKey = BuildConfig.MANASHIKI_API_KEY)
val model = client.downloadModel("gemma-4-e2b-it")
println(model.localPath)

Get an mk_test_* API key with manashiki keys create --env staging. See getting started for a 5-minute walkthrough.