Instructions to use Vivek/gpt2-common-sense-reasoning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Vivek/gpt2-common-sense-reasoning with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("Vivek/gpt2-common-sense-reasoning") model = AutoModelForMultipleChoice.from_pretrained("Vivek/gpt2-common-sense-reasoning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download __pycache__/model_file.cpython-38.pyc from Vivek/gpt2-common-sense-reasoning: direct link, hf CLI and curl.
- Browser
- Download file 9.02 kB
-
https://huggingface.co/Vivek/gpt2-common-sense-reasoning/resolve/main/__pycache__/model_file.cpython-38.pyc
- Command line
-
hf download hf://Vivek/gpt2-common-sense-reasoning/__pycache__/model_file.cpython-38.pyc
-
curl -L -o model_file.cpython-38.pyc https://huggingface.co/Vivek/gpt2-common-sense-reasoning/resolve/main/__pycache__/model_file.cpython-38.pyc
9.02 kB
This file contains binary data. It cannot be displayed, but you can still download it.