Instructions to use IPG5/elastic-seq-classifier-llama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use IPG5/elastic-seq-classifier-llama with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("models-pretrained/llama\\model") model = PeftModel.from_pretrained(base_model, "IPG5/elastic-seq-classifier-llama") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from IPG5/elastic-seq-classifier-llama: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/IPG5/elastic-seq-classifier-llama/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://IPG5/elastic-seq-classifier-llama/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/IPG5/elastic-seq-classifier-llama/resolve/main/special_tokens_map.json
439 Bytes
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|end_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |