Downloads · 30 days
332
41% of all-time downloads
MassivDash/Gemma-4-typescript-coder-12b
Gemma-4-typescript-coder-12b is a text generation model from MassivDash. Use it when you need the model to write or continue text. The card lists the license as mit.
This model is a specialized, fine-tuned version of Google's Gemma-4 12B designed specifically for TypeScript code generation, refactoring, and instruction. It was fine-tuned efficiently using the Unsloth library by [s…
Downloads · 30 days
332
41% of all-time downloads
All-time downloads
807
Public
Repo size
62.4 GB
Likes
0
Public
Click a slice to open those files.
.gguf62.4 GB · 100%
From the Hugging Face model README
This model is a specialized, fine-tuned version of Google's Gemma-4 12B designed specifically for TypeScript code generation, refactoring, and instruction. It was fine-tuned efficiently using the Unsloth library by [spaceoutpl].
This model is ideal for developers and researchers looking for an AI assistant heavily specialized in the TypeScript ecosystem. Use cases include:
You can load this model directly using the transformers library. Since it was trained with Unsloth, you can also utilize Unsloth's optimized inference engines for faster generation.
pip install transformers torch accelerate
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "spaceoutpl/gemma-4-12B-typescript" # Update with your actual repo name
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
torch_dtype=torch.bfloat16
)
prompt = "Write a generic TypeScript function to fetch and strictly type data from an API."
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was fine-tuned on the mhhmm/typescript-instruct-20k dataset, which contains 20,000 high-quality instructional pairs focusing on TypeScript programming concepts, syntax, and problem-solving.