Downloads · 30 days
30
13% of all-time downloads
Ashraya/gemma-270m-legal-gguf
gemma-270m-legal-gguf is a machine learning model from Ashraya. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as gemma.
Fine-tuned Gemma 3 270M for legal text auto-completion, optimized for client-side browser deployment.
Downloads · 30 days
30
13% of all-time downloads
All-time downloads
235
Public
Repo size
169 MB
Likes
0
Public
Click a slice to open those files.
.gguf169 MB · 100%
From the Hugging Face model README
Fine-tuned Gemma 3 270M for legal text auto-completion, optimized for client-side browser deployment.
./llama-cli -m gemma-270m-q4km-optimized.gguf -p "The court held that" -n 30
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);
gemma-270m-q4km-optimized.gguf - Main model file (~169MB)