How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="arjunkshah21/sc-keep-crossencoder-v4-large")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("arjunkshah21/sc-keep-crossencoder-v4-large")
model = AutoModelForSequenceClassification.from_pretrained("arjunkshah21/sc-keep-crossencoder-v4-large", device_map="auto")
Quick Links

sc-keep-crossencoder-v4-large

Production Neural Keep weights for SuperCompress.

This is the model currently served on the hosted API (api.supercompress.dev → Fly sc-neural-keep).

  • Architecture: ModernBERT-large cross-encoder (query-conditioned line keep)
  • Task: keep / drop each context line given the current user query
  • Weights: model.safetensors (1,583,351,632 bytes)
  • License: MIT

Inference threshold

See sc_meta.json (inference_threshold). Hosted Fly default may override via SC_NEURAL_THRESHOLD.

Related

Downloads last month
46
Safetensors
Model size
0.4B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for arjunkshah21/sc-keep-crossencoder-v4-large

Finetuned
(414)
this model