Instructions to use Shell2334/info642-travel-classifier-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Shell2334/info642-travel-classifier-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0") model = PeftModel.from_pretrained(base_model, "Shell2334/info642-travel-classifier-lora") - Notebooks
- Google Colab
- Kaggle
Download labels.json from Shell2334/info642-travel-classifier-lora: direct link, hf CLI and curl.
- Browser
- Download file 140 Bytes
-
https://huggingface.co/Shell2334/info642-travel-classifier-lora/resolve/main/labels.json
- Command line
-
hf download hf://Shell2334/info642-travel-classifier-lora/labels.json
-
curl -L -o labels.json https://huggingface.co/Shell2334/info642-travel-classifier-lora/resolve/main/labels.json
140 Bytes
| [ | |
| "NEW_TRIP", | |
| "CHANGE_FLIGHT", | |
| "CHANGE_HOTEL", | |
| "CHANGE_ATTRACTION", | |
| "CHANGE_RESTAURANT", | |
| "MULTI_CHANGE", | |
| "OTHER_OR_UNCLEAR" | |
| ] | |