Update README.md
Browse files6 unmodified lines78910111213112 unmodified lines1261271281291306 unmodified lines- imdb- tinybertdatasets:- imdbmodel_type: bertbase_model: prajjwal1/bert-tinyfine_tuned_by: Jack Mander112 unmodified linesinputs = 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")6 unmodified lines78910111213112 unmodified lines1261271281296 unmodified lines- imdb- tinybertdatasets:- jamander/Blockbustermodel_type: bertbase_model: prajjwal1/bert-tinyfine_tuned_by: Jack Mander112 unmodified linesinputs = 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+2-3