YAML Metadata
Warning:
The pipeline tag "text2text-generation" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
Model Card for Model ID
This is an English grammar correction model.
Model Details
Model Description
- Developed by: Amin Rahmani
- Model type: T5
- Language(s) (NLP): English
- License: MIT
How to Get Started with the Model
from happytransformer import HappyTextToText
happy_tt = HappyTextToText("T5", ".\PATH TO MODEL")
from happytransformer import TTSettings
beam_settings = TTSettings(num_beams=8, min_length=1, max_length=100)
input_text_1 = "grammar: hi dear"
output_text_1 = happy_tt.generate_text(input_text_1, args=beam_settings) print(output_text_1.text)
[More Information Needed]
Training Hyperparameters
- Training regime: [More Information Needed]
Speeds, Sizes, Times [optional]
validation loss: 0.04 learning rate: epochs: 3
Environmental Impact
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
- Hardware Type: RTX 3090
Technical Specifications [optional]
- Downloads last month
- -