Instructions to use hf-internal-testing/tiny-random-gptj with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-gptj with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-gptj")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-gptj") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-gptj", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Tiny model: compatible with sequence classification!
Browse files- pytorch_model.bin +2 -2
pytorch_model.bin
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:a64bcf6f5f7c69cc55720604f3ffc57a280619e367b133a75df675f84ff2920c
|
| 3 |
+
size 3552191
|