Instructions to use ShihTing/QA_Leave with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ShihTing/QA_Leave with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ShihTing/QA_Leave")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ShihTing/QA_Leave") model = AutoModelForSequenceClassification.from_pretrained("ShihTing/QA_Leave", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Title 自製QA請假版
|
| 2 |
+
---
|
| 3 |
+
tags: autonlp
|
| 4 |
+
language: unk
|
| 5 |
+
widget:
|
| 6 |
+
- text: "如果我想請特休,要怎麼使用"
|
| 7 |
+
- text: "我想請事假"
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
自製QA請假版
|
| 12 |
+
訓練與驗證分開
|
| 13 |
+
訓練筆67驗證筆23,總類別23,也就是驗證資料每一類各一測試
|
| 14 |
+
驗證acc=1.0
|
| 15 |
+
|