How to use from
Lemonade
Pull the model
# Download Lemonade from https://lemonade-server.ai/
lemonade pull Ashraya/gemma-270m-legal-gguf
Run and chat with the model
lemonade run user.gemma-270m-legal-gguf-{{QUANT_TAG}}
List all available models
lemonade list
Quick Links

Gemma 3 270M - Legal Auto-Completion (GGUF)

Fine-tuned Gemma 3 270M for legal text auto-completion, optimized for client-side browser deployment.

Model Details

  • Format: GGUF (Q4_K_M quantization with Q5_0 fallback)
  • Size: ~169 MB
  • Optimized for: Wllama (WebAssembly) browser inference

Usage with llama.cpp

./llama-cli -m gemma-270m-q4km-optimized.gguf -p "The court held that" -n 30

Usage with Wllama (Browser)

import { Wllama } from '@wllama/wllama';

const CONFIG_PATHS = {
    'single-thread/wllama.wasm': 'path/to/single-thread/wllama.wasm',
    'multi-thread/wllama.wasm': 'path/to/multi-thread/wllama.wasm',
};

const wllama = new Wllama(CONFIG_PATHS);
await wllama.loadModelFromHF(
    'Ashraya/gemma-270m-legal-gguf',
    'gemma-270m-q4km-optimized.gguf'
);

const result = await wllama.createCompletion('The court held that', {
    nPredict: 20,
    sampling: { temp: 0.3, top_p: 0.95 }
});
console.log(result);

Files

  • gemma-270m-q4km-optimized.gguf - Main model file (~169MB)
Downloads last month
2
GGUF
Model size
0.3B params
Architecture
gemma3
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support