Instructions to use research-backup/relbert-roberta-base-nce-b-conceptnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use research-backup/relbert-roberta-base-nce-b-conceptnet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="research-backup/relbert-roberta-base-nce-b-conceptnet")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("research-backup/relbert-roberta-base-nce-b-conceptnet") model = AutoModel.from_pretrained("research-backup/relbert-roberta-base-nce-b-conceptnet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download relation_mapping.json from research-backup/relbert-roberta-base-nce-b-conceptnet: direct link, hf CLI and curl.
- Browser
- Download file 3.68 MB
-
https://huggingface.co/research-backup/relbert-roberta-base-nce-b-conceptnet/resolve/main/relation_mapping.json
- Command line
-
hf download hf://research-backup/relbert-roberta-base-nce-b-conceptnet/relation_mapping.json
-
curl -L -o relation_mapping.json https://huggingface.co/research-backup/relbert-roberta-base-nce-b-conceptnet/resolve/main/relation_mapping.json
3.68 MB
File too large to display, you can check the raw version instead.