Instructions to use Li-Tang/gpt2-imdb-pos-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Li-Tang/gpt2-imdb-pos-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Li-Tang/gpt2-imdb-pos-v2", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Li-Tang/gpt2-imdb-pos-v2", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df4e055224c0428075d858749cdba38bb5e6db5f56cd505a077ae66a7a46c3c3
|
| 3 |
+
size 7785917724
|