Instructions to use soyuj/deeper-impact with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use soyuj/deeper-impact with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, DeepImpact tokenizer = AutoTokenizer.from_pretrained("soyuj/deeper-impact") model = DeepImpact.from_pretrained("soyuj/deeper-impact", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add ONNX export (onnx/model.onnx) and model-card section
Verified signatureAdds a single-file ONNX export of the model under `onnx/model.onnx` (~436 MB) for inference with ONNX Runtime, plus an 'ONNX' section on the model card documenting the input/output contract and how a term's impact is recovered. The file was produced with the export script proposed in the companion PR basnetsoyuj/DeeperImpact#17 (`src/deep_impact/scripts/export_onnx.py`) and verified to match the PyTorch model within max |diff| ~ 6e-6 over a padded batch of documents.d1c48ab
-
Update README.md
Verified signature4a62495
-
Upload tokenizer
Verified signature3aa77e9 -
Upload DeepImpact
Verified signature649e876 -
initial commit
Verified signature766f378