Instructions to use midudev/text2emoji-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use midudev/text2emoji-tiny with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'midudev/text2emoji-tiny');
Download config.json from midudev/text2emoji-tiny: direct link, hf CLI and curl.
- Browser
- Download file 762 Bytes
-
https://huggingface.co/midudev/text2emoji-tiny/resolve/main/config.json
- Command line
-
hf download hf://midudev/text2emoji-tiny/config.json
-
curl -L -o config.json https://huggingface.co/midudev/text2emoji-tiny/resolve/main/config.json
762 Bytes
| { | |
| "architectures": [ | |
| "T5ForConditionalGeneration" | |
| ], | |
| "classifier_dropout": 0.0, | |
| "d_ff": 512, | |
| "d_kv": 32, | |
| "d_model": 128, | |
| "decoder_start_token_id": 0, | |
| "dense_act_fn": "relu", | |
| "dropout_rate": 0.1, | |
| "dtype": "float32", | |
| "eos_token_id": 1, | |
| "feed_forward_proj": "relu", | |
| "initializer_factor": 1.0, | |
| "is_decoder": false, | |
| "is_encoder_decoder": true, | |
| "is_gated_act": false, | |
| "layer_norm_epsilon": 1e-06, | |
| "model_type": "t5", | |
| "num_decoder_layers": 3, | |
| "num_heads": 4, | |
| "num_layers": 3, | |
| "pad_token_id": 0, | |
| "relative_attention_max_distance": 128, | |
| "relative_attention_num_buckets": 32, | |
| "scale_decoder_outputs": true, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.17.0", | |
| "use_cache": true, | |
| "vocab_size": 8192 | |
| } | |