Instructions to use fangyuan/tqa_extractive_compressor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fangyuan/tqa_extractive_compressor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="fangyuan/tqa_extractive_compressor")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("fangyuan/tqa_extractive_compressor") model = AutoModel.from_pretrained("fangyuan/tqa_extractive_compressor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
9657382 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b70c4249ef908012c0cfb1148392d445693d6b997e9241899430efe06802ebf1
size 438000173
|