Instructions to use aieng-lab/CodeLlama-7b-hf_sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aieng-lab/CodeLlama-7b-hf_sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aieng-lab/CodeLlama-7b-hf_sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aieng-lab/CodeLlama-7b-hf_sentiment") model = AutoModelForSequenceClassification.from_pretrained("aieng-lab/CodeLlama-7b-hf_sentiment") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
f5a6708 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:45ccb9c8b6b561889acea59191d66986d314e7cbd6a78abc6e49b139ca91c1e6
size 500058
|