Update README.md
Browse files105 unmodified lines106107108109110111112105 unmodified lines### UsageTo use this model, follow these steps:1. Log in to Hugging Face:```bashhuggingface-cli login105 unmodified lines106107108109110111112113114115116117118119120121122123124125126127128129130105 unmodified lines### Usageusage:- step_1: |Log in to Hugging Face:```bashhuggingface-cli login```- step_2: |Load the model:```pythonfrom transformers import AutoTokenizer, AutoModelForSequenceClassificationtokenizer = AutoTokenizer.from_pretrained("jamander/Project-Blockbuster")model = AutoModelForSequenceClassification.from_pretrained("jamander/Project-Blockbuster")```- step_3: |Tokenize and predict:```pythoninputs = tokenizer("I loved the movie!", return_tensors="pt", padding=True, truncation=True)outputs = model(**inputs)prediction = torch.argmax(outputs.logits, dim=-1)print("Prediction:", "Positive" if prediction == 1 else "Negative")```
README.md+22-4