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 fresh_load_reference.json from Shell2334/info642-travel-classifier-lora: direct link, hf CLI and curl.
- Browser
- Download file 204 Bytes
-
https://huggingface.co/Shell2334/info642-travel-classifier-lora/resolve/main/fresh_load_reference.json
- Command line
-
hf download hf://Shell2334/info642-travel-classifier-lora/fresh_load_reference.json
-
curl -L -o fresh_load_reference.json https://huggingface.co/Shell2334/info642-travel-classifier-lora/resolve/main/fresh_load_reference.json
204 Bytes
| { | |
| "text": "Please update the afternoon sightseeing activity to the science center.", | |
| "true_label": "CHANGE_ATTRACTION", | |
| "training_notebook_predicted_label": "CHANGE_ATTRACTION", | |
| "max_length": 96 | |
| } |