Downloads · 30 days
17
3% of all-time downloads
changminbark/gemma-3-1b-it-ttt-longalpaca-full
gemma-3-1b-it-ttt-longalpaca-full is a text generation model from changminbark. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This Gemma3-1B-it model had its base model frozen and then had some of its MLP layers modified (global attention layers) to support In-Place Test Time Training. This was trained on 2 epochs of 12k samples of the LongA…
Downloads · 30 days
17
3% of all-time downloads
All-time downloads
661
Public
Parameters
1B
2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2 GB · 98%
From the Hugging Face model README
This Gemma3-1B-it model had its base model frozen and then had some of its MLP layers modified (global attention layers) to support In-Place Test Time Training. This was trained on 2 epochs of 12k samples of the LongAlpaca-12k dataset. The code can be found in this repo.
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
This was developed for the final project at AI with Neural Networks class at Bucknell University.
[More Information Needed]
This model cannot be used for any use cases outlined for google/gemma-3-1b-it.
This model carries all of the same biases, risks, and limitations carried by google/gemma-3-1b-it.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Check the GitHub repo for more information.
This was trained using LongAlpaca.
[More Information Needed]
max_length | 1024 | 4096 | --max-length |
| epochs | 1.0 | 2.0 | --epochs |
| batch_size | 8 | 1 | --batch-size |
| grad_accum | 8 | 16 | --grad-accum |
| effective batch | 64 | 16 | — |
| lr | 1e-4 | 5e-5 | --lr |
| weight_decay | 0.1 | 0.1 | --weight-decay |
| warmup_steps | 500 | 100 | --warmup-steps |
| max_grad_norm | 1.0 | 1.0 | --max-grad-norm |Shared optimizer / schedule (not per-dataset): AdamW with (β1, β2) = (0.9, 0.95), cosine LR decay, bf16 (fp16 fallback on non-bf16 GPUs), gradient checkpointing off.
TTT-module knobs (defaults match the In-Place TTT paper):
| Hyperparameter | Default | Flag |
|---|---|---|
ttt_layers | [0, 6, 12, 18, 24] | --ttt-layers |
ttt_chunk | 2048 | --ttt-chunk |
ttt_lr (η) | 0.3 | --ttt-lr |
ttt_proj | on | --no-ttt-proj |
ttt_target | hidden_states | --ttt-target |
Tested using synthetic NVIDIA RULER.
The vanilla base google/gemma-3-1b-it performed better than the In-Place TTT augmented model.
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
Based on google/gemma-3-1b-it.
Run using Google Colab.
Run using NVIDIA A100 GPU in Google Colab.
Run using Google Colab.
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]