Update README.md
Browse files
README.md
CHANGED
|
@@ -58,6 +58,18 @@ pred = torch.argmax(outputs.logits, dim=1).item()
|
|
| 58 |
|
| 59 |
print(pred) # Map this index back to label if needed
|
| 60 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
## 🛠️ Training Details
|
| 63 |
|
|
|
|
| 58 |
|
| 59 |
print(pred) # Map this index back to label if needed
|
| 60 |
```
|
| 61 |
+
## 📦 Label Mapping
|
| 62 |
+
|
| 63 |
+
The model outputs a numerical label corresponding to a prompt category. Below is the mapping between label IDs and their respective categories:
|
| 64 |
+
|
| 65 |
+
0: brainstorming
|
| 66 |
+
1: classification
|
| 67 |
+
2: closed_qa
|
| 68 |
+
3: creative_writing
|
| 69 |
+
4: general_qa
|
| 70 |
+
5: information_extraction
|
| 71 |
+
6: open_qa
|
| 72 |
+
7: summarization
|
| 73 |
|
| 74 |
## 🛠️ Training Details
|
| 75 |
|