| tags: | |
| - neuron | |
| - optimized | |
| - aws-neuron | |
| - fill-mask | |
| base_model: urduhack/roberta-urdu-small | |
| # Neuron-Optimized urduhack/roberta-urdu-small | |
| This repository contains AWS Neuron-optimized files for [urduhack/roberta-urdu-small](https://huggingface.co/urduhack/roberta-urdu-small). | |
| ## Model Details | |
| - **Base Model**: [urduhack/roberta-urdu-small](https://huggingface.co/urduhack/roberta-urdu-small) | |
| - **Task**: fill-mask | |
| - **Optimization**: AWS Neuron compilation | |
| - **Generated by**: [badaoui](https://huggingface.co/badaoui) | |
| - **Generated using**: [Optimum Neuron Compiler Space](https://huggingface.co/spaces/optimum/neuron-export) | |
| ## Usage | |
| This model has been optimized for AWS Neuron devices (Inferentia/Trainium). To use it: | |
| ```python | |
| from optimum.neuron import NeuronModelForMaskedLM | |
| model = NeuronModelForMaskedLM.from_pretrained("badaoui/urduhack-roberta-urdu-small-neuron") | |
| ``` | |
| ## Performance | |
| These files are pre-compiled for AWS Neuron devices and should provide improved inference performance compared to the original model when deployed on Inferentia or Trainium instances. | |
| ## Original Model | |
| For the original model, training details, and more information, please visit: [urduhack/roberta-urdu-small](https://huggingface.co/urduhack/roberta-urdu-small) | |