Instructions to use Xikun/greaselm-obqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Xikun/greaselm-obqa with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMultipleChoice model = AutoModelForMultipleChoice.from_pretrained("Xikun/greaselm-obqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from Xikun/greaselm-obqa: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/Xikun/greaselm-obqa/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Xikun/greaselm-obqa/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Xikun/greaselm-obqa/resolve/main/preprocessor_config.json
247 Bytes
| { | |
| "cpnet_vocab_path": "concept.txt", | |
| "pattern_path": "matcher_patterns.json", | |
| "pruned_graph_path": "conceptnet_en_pruned.pickle.gz", | |
| "score_model": "roberta-large", | |
| "feature_extractor_type": "GreaseLMFeatureExtractor", | |
| "max_node_num": 200 | |
| } | |