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") - Notebooks
- Google Colab
- Kaggle
Tiny model: 1000 vocab size
Browse files- merges.txt +0 -0
- pytorch_model.bin +1 -1
- tokenizer.json +0 -0
- vocab.json +0 -0
merges.txt
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3550143
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b6e267509d7b209b3bff7a781672fe4130e3be9ba823426b5a054e8a9232975
|
| 3 |
size 3550143
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vocab.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|