Instructions to use nikraf/directionality_probe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nikraf/directionality_probe with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="nikraf/directionality_probe", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nikraf/directionality_probe", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| from .supported_datasets import ( | |
| supported_datasets, | |
| internal_datasets, | |
| possible_with_vector_reps, | |
| standard_data_benchmark, | |
| testing, | |
| ) | |
| try: | |
| from .dataset_descriptions import dataset_descriptions | |
| except ImportError: | |
| dataset_descriptions = {} | |
| from .dataset_utils import list_supported_datasets, get_dataset_info |