Update README.md
Browse files
README.md
CHANGED
@@ -7,7 +7,7 @@ tags:
|
|
7 |
- imdb
|
8 |
- tinybert
|
9 |
datasets:
|
10 |
-
-
|
11 |
model_type: bert
|
12 |
base_model: prajjwal1/bert-tiny
|
13 |
fine_tuned_by: Jack Mander
|
@@ -126,5 +126,4 @@ This project was completed to explore the effectiveness of parameter-efficient f
|
|
126 |
inputs = tokenizer("I loved the movie!", return_tensors="pt", padding=True, truncation=True)
|
127 |
outputs = model(**inputs)
|
128 |
prediction = torch.argmax(outputs.logits, dim=-1)
|
129 |
-
print("Prediction:", "Positive" if prediction == 1 else "Negative")
|
130 |
-
|
|
|
7 |
- imdb
|
8 |
- tinybert
|
9 |
datasets:
|
10 |
+
- jamander/Blockbuster
|
11 |
model_type: bert
|
12 |
base_model: prajjwal1/bert-tiny
|
13 |
fine_tuned_by: Jack Mander
|
|
|
126 |
inputs = tokenizer("I loved the movie!", return_tensors="pt", padding=True, truncation=True)
|
127 |
outputs = model(**inputs)
|
128 |
prediction = torch.argmax(outputs.logits, dim=-1)
|
129 |
+
print("Prediction:", "Positive" if prediction == 1 else "Negative")
|
|