Feature Extraction
Transformers
Safetensors
microglot
biology
genomics
dna
microbiology
mixture-of-experts
species-conditioning
custom_code
Instructions to use athanzli/MicroGlot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use athanzli/MicroGlot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="athanzli/MicroGlot", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("athanzli/MicroGlot", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from athanzli/MicroGlot: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/athanzli/MicroGlot/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://athanzli/MicroGlot/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/athanzli/MicroGlot/resolve/main/tokenizer_config.json
1.15 kB
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "[BOS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "[EOS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "6": { | |
| "content": "N", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| } | |
| }, | |
| "auto_map": { | |
| "AutoTokenizer": [ | |
| null, | |
| "tokenization_microglot.MicroGlotTokenizerFast" | |
| ] | |
| }, | |
| "bos_token": "[BOS]", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "[EOS]", | |
| "extra_special_tokens": {}, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 8192, | |
| "pad_token": "[PAD]", | |
| "padding_side": "right", | |
| "tokenizer_class": "MicroGlotTokenizerFast", | |
| "vocab_size": 8192 | |
| } | |