Instructions to use Maha/hi-const21-hibert_final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maha/hi-const21-hibert_final with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Maha/hi-const21-hibert_final")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Maha/hi-const21-hibert_final") model = AutoModelForSequenceClassification.from_pretrained("Maha/hi-const21-hibert_final") - Notebooks
- Google Colab
- Kaggle
Is this the working implementation of "HIBERT: Document Level Pre-training of Hierarchical Bidirectional Transformers for Document Summarization" ?
#2 opened almost 3 years ago
by
Pranab11
Adding `safetensors` variant of this model
#1 opened about 3 years ago
by
SFconvertbot