Instructions to use ShengdingHu/sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ShengdingHu/sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ShengdingHu/sst2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ShengdingHu/sst2") model = AutoModelForMaskedLM.from_pretrained("ShengdingHu/sst2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
6fcd8df
1
Parent(s): 45fac95
Training in progress, step 21400
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 655267
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98f5fbf68211c5575ccdabccc575378976bfbe4b97e1f7fcd85630f46e189713
|
| 3 |
size 655267
|
runs/Feb04_19-15-19_node1/events.out.tfevents.1643973374.node1
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0794071e602221c41f998b1547cd2cfe8ff3915cb2a360c564f73730bad74020
|
| 3 |
+
size 44734
|