Instructions to use hf-internal-testing/tiny-random-XGLMModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-XGLMModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-XGLMModel")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-XGLMModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-XGLMModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 325 Bytes
fcc8ad6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"additional_special_tokens": [
"<madeupword0>",
"<madeupword1>",
"<madeupword2>",
"<madeupword3>",
"<madeupword4>",
"<madeupword5>",
"<madeupword6>"
],
"bos_token": "<s>",
"cls_token": "<s>",
"eos_token": "</s>",
"pad_token": "<pad>",
"sep_token": "</s>",
"unk_token": "<unk>"
}
|