How to use SweatyCrayfish/Linux-CodeLlama-2-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="SweatyCrayfish/Linux-CodeLlama-2-7B")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("SweatyCrayfish/Linux-CodeLlama-2-7B") model = AutoModel.from_pretrained("SweatyCrayfish/Linux-CodeLlama-2-7B")