Instructions to use Revrse/action_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Revrse/action_classification with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Phi-3-mini-4k-instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Revrse/action_classification") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from Revrse/action_classification: direct link, hf CLI and curl.
- Browser
- Download file 571 Bytes
-
https://huggingface.co/Revrse/action_classification/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Revrse/action_classification/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Revrse/action_classification/resolve/main/special_tokens_map.json
571 Bytes
| { | |
| "bos_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|placeholder6|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": true, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |