Instructions to use aayushbist/saccade-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aayushbist/saccade-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="aayushbist/saccade-tiny")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("aayushbist/saccade-tiny") model = AutoModelForTokenClassification.from_pretrained("aayushbist/saccade-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,207 Bytes
301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d 301c309 03d535d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ---
language:
- en
license: apache-2.0
library_name: transformers
pipeline_tag: token-classification
tags:
- prompt-compression
- token-classification
- tiny-model
base_model: google/bert_uncased_L-2_H-128_A-2
---
# Saccade Tiny
Saccade Tiny is a small experimental token classifier that predicts whether
each word in a prompt should be **KEEP** or **DROP** before LLM inference.
## Architecture
- Base model: `google/bert_uncased_L-2_H-128_A-2`
- Task: binary token classification
- Labels: `KEEP`, `DROP`
## Training data
This first version was trained primarily on synthetic examples. Clean
instructions were modified with injected filler and redundant wording.
Original words were labelled `KEEP`; injected words were labelled `DROP`.
## Held-out evaluation
- Accuracy: 1.0000
- KEEP precision: 1.0000
- KEEP recall: 1.0000
- KEEP F1: 1.0000
## Intended use
Research and demonstrations involving conservative filler removal from English
prompts.
## Limitations
The model was trained mainly on synthetic data and may remove meaningful
context. It has not yet demonstrated a general improvement in downstream LLM
accuracy. Do not use it for safety-critical, legal, medical, or financial text.
|