Instructions to use authentrics/ztom-gemma3-1b-recovery with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use authentrics/ztom-gemma3-1b-recovery with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="authentrics/ztom-gemma3-1b-recovery")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("authentrics/ztom-gemma3-1b-recovery", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use authentrics/ztom-gemma3-1b-recovery with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "authentrics/ztom-gemma3-1b-recovery" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "authentrics/ztom-gemma3-1b-recovery", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/authentrics/ztom-gemma3-1b-recovery
- SGLang
How to use authentrics/ztom-gemma3-1b-recovery with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "authentrics/ztom-gemma3-1b-recovery" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "authentrics/ztom-gemma3-1b-recovery", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "authentrics/ztom-gemma3-1b-recovery" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "authentrics/ztom-gemma3-1b-recovery", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use authentrics/ztom-gemma3-1b-recovery with Docker Model Runner:
docker model run hf.co/authentrics/ztom-gemma3-1b-recovery
Recovering a Model That Forgot Its Original Task
Sequential fine-tuning caused task interference that degraded accuracy. Authentrics ZTOM restores the lost capability โ gradient-free, with no retraining from scratch.
Authentrics is a high-performance neural-network analysis library (Python wheel over a C++ core). It audits and maintains model checkpoints: parameter/behavioral drift, compliant data removal without full retraining, and loss-driven optimization without backprop. Analysis runs locally on your machine โ only project metadata (names, descriptions) is exchanged with Authentrics servers, never your model weights.
What this demo shows
ztom_analysisโ optimize a model against a Callable[[output], float] loss without backprop/retraining.
Reproduce this analysis
The public code and outputs behind this demo live in https://github.com/Authentrics-ai/authentrics-model-analysis-experiments:
src/analysis/full_finetuning_ztom.py
Weights: This card documents a reproducible recovery result on
google/gemma-3-1b-it; the recovered checkpoint is not redistributed here. Reproduce it locally with the SDK below.
Reproduce it yourself
pip install authentrics # Linux x86_64, Python 3.11โ3.13
authrx init # paste API key (stored at ~/.local/state/authentrics/api_key)
# or, for CI / non-interactive:
export AUTHRX_API_KEY=<your_api_key>
Generate an API key and read the full docs at https://app.authentrics.ai/.
Produced with the Authentrics SDK v0.35.1 โ checkpoint analysis that runs locally on your own hardware; only project metadata ever leaves your machine, never your weights.
Links
- App & API keys: https://app.authentrics.ai/
- Docs & API reference: https://app.authentrics.ai/docs
- Examples & user guide: https://github.com/Authentrics-ai/authentrics-analysis-examples
- Contact: info@authentrics.ai