This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install the following, and make sure you have a pytorch that supports CUDA. | |
# accelerate | |
# bitsandbytes | |
# transformers | |
# IPython | |
import torch | |
from transformers import AutoModelForCausalLM, AutoTokenizer | |
from IPython.display import Markdown, display |
OlderNewer