Instructions to use yanlinf/casent-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yanlinf/casent-large with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, T5ForEntityTyping tokenizer = AutoTokenizer.from_pretrained("yanlinf/casent-large") model = T5ForEntityTyping.from_pretrained("yanlinf/casent-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened 6 months ago
by
SFconvertbot