Instructions to use phospho-app/phospho-small-e2972b7 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phospho-app/phospho-small-e2972b7 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="phospho-app/phospho-small-e2972b7")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("phospho-app/phospho-small-e2972b7") model = AutoModel.from_pretrained("phospho-app/phospho-small-e2972b7", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 296 Bytes
774e84d | 1 2 3 4 5 6 7 8 9 10 | {
"word_embedding_dimension": 768,
"pooling_mode_cls_token": false,
"pooling_mode_mean_tokens": true,
"pooling_mode_max_tokens": false,
"pooling_mode_mean_sqrt_len_tokens": false,
"pooling_mode_weightedmean_tokens": false,
"pooling_mode_lasttoken": false,
"include_prompt": true
} |