Instructions to use aieng-lab/CodeLlama-7b-hf_comment-type-java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aieng-lab/CodeLlama-7b-hf_comment-type-java with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aieng-lab/CodeLlama-7b-hf_comment-type-java")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aieng-lab/CodeLlama-7b-hf_comment-type-java") model = AutoModelForSequenceClassification.from_pretrained("aieng-lab/CodeLlama-7b-hf_comment-type-java", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.model from aieng-lab/CodeLlama-7b-hf_comment-type-java: direct link, hf CLI and curl.
- Browser
- Download file 500 kB
-
https://huggingface.co/aieng-lab/CodeLlama-7b-hf_comment-type-java/resolve/1f41bbe39bea1c2d38d7fd192c28fe35a1be8d45/tokenizer.model
- Command line
-
hf download hf://aieng-lab/CodeLlama-7b-hf_comment-type-java@1f41bbe39bea1c2d38d7fd192c28fe35a1be8d45/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/aieng-lab/CodeLlama-7b-hf_comment-type-java/resolve/1f41bbe39bea1c2d38d7fd192c28fe35a1be8d45/tokenizer.model
500 kB
- Xet hash:
- f18a3e31af371f514644a07ef51454912e704f2ed7957d0ef5e47bed71aa5f51
- Size of remote file:
- 500 kB
- SHA256:
- 45ccb9c8b6b561889acea59191d66986d314e7cbd6a78abc6e49b139ca91c1e6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.