Text Classification
Transformers
Safetensors
TensorRT
English
Spanish
Portuguese
wayrappl
perplexity-estimation
data-novely-estimation
dataset-contamination-detection
a100-optimized
Instructions to use oflorez/Wayra-Perplexity-Estimator-55M-TensorRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use oflorez/Wayra-Perplexity-Estimator-55M-TensorRT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="oflorez/Wayra-Perplexity-Estimator-55M-TensorRT")# pip install -U transformers accelerate # Load model directly from transformers import WayraPPL model = WayraPPL.from_pretrained("oflorez/Wayra-Perplexity-Estimator-55M-TensorRT", device_map="auto") - TensorRT
How to use oflorez/Wayra-Perplexity-Estimator-55M-TensorRT with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download config.json from oflorez/Wayra-Perplexity-Estimator-55M-TensorRT: direct link, hf CLI and curl.
- Browser
- Download file 880 Bytes
-
https://huggingface.co/oflorez/Wayra-Perplexity-Estimator-55M-TensorRT/resolve/main/config.json
- Command line
-
hf download hf://oflorez/Wayra-Perplexity-Estimator-55M-TensorRT/config.json
-
curl -L -o config.json https://huggingface.co/oflorez/Wayra-Perplexity-Estimator-55M-TensorRT/resolve/main/config.json
880 Bytes
| { | |
| "activation_function": "gelu_new", | |
| "architecture": "wayrappl_multilingual", | |
| "architectures": [ | |
| "WayraPPL" | |
| ], | |
| "attn_pdrop": 0.1, | |
| "bos_token_id": 50256, | |
| "embd_pdrop": 0.1, | |
| "enable_language_head": false, | |
| "enable_lm_head": false, | |
| "eos_token_id": 50256, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1536, | |
| "layer_norm_epsilon": 1e-05, | |
| "model_type": "wayrappl", | |
| "n_embd": 384, | |
| "n_head": 12, | |
| "n_inner": 1536, | |
| "n_layer": 3, | |
| "n_positions": 2048, | |
| "reorder_and_upcast_attn": false, | |
| "resid_pdrop": 0.1, | |
| "scale_attn_by_inverse_layer_idx": false, | |
| "scale_attn_weights": true, | |
| "summary_activation": null, | |
| "summary_first_dropout": 0.1, | |
| "summary_proj_to_labels": true, | |
| "summary_type": "cls_index", | |
| "summary_use_proj": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.53.2", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |