Translation
Transformers
ONNX
Safetensors
Transformers.js
t5
text2text-generation
seq2seq
browser-ml
timers
synthetic-data
text-generation-inference
Instructions to use Satansdeer/timmy-t2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Satansdeer/timmy-t2 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="Satansdeer/timmy-t2")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Satansdeer/timmy-t2") model = AutoModelForSeq2SeqLM.from_pretrained("Satansdeer/timmy-t2") - Transformers.js
How to use Satansdeer/timmy-t2 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'Satansdeer/timmy-t2'); - Notebooks
- Google Colab
- Kaggle
| { | |
| "model": "training/seq2seq-runs/phase4y-actions-browser-exact-dataset-lr2e-5/checkpoint-50", | |
| "backend": "hf", | |
| "device": "mps", | |
| "trainRecords": 2639, | |
| "effectiveTrainRecords": 2639, | |
| "validationRecords": 207, | |
| "generation": { | |
| "inputFormat": "compact", | |
| "evalBatchSize": 8, | |
| "maxNewTokens": 64, | |
| "numBeams": 4, | |
| "repetitionPenalty": 1.0, | |
| "noRepeatNgramSize": 0, | |
| "lengthPenalty": 1.0, | |
| "earlyStopping": false | |
| }, | |
| "training": { | |
| "trainOrder": "shuffle", | |
| "learningRate": 0.0005, | |
| "batchSize": 4, | |
| "weightDecay": 0.01, | |
| "maxGradNorm": 1.0, | |
| "categoryWeight": {}, | |
| "trainCategory": [], | |
| "excludeTrainCategory": [] | |
| }, | |
| "steps": [ | |
| { | |
| "step": 0, | |
| "parseable": 207, | |
| "parseableRate": 1.0, | |
| "strictExact": 207, | |
| "strictExactRate": 1.0, | |
| "semanticExact": 207, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalid": 0, | |
| "semanticInvalidRate": 0.0, | |
| "categorySummary": [ | |
| { | |
| "category": "core-regression", | |
| "count": 2, | |
| "parseable": 2, | |
| "strictExact": 2, | |
| "semanticExact": 2, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "count-generic", | |
| "count": 21, | |
| "parseable": 21, | |
| "strictExact": 21, | |
| "semanticExact": 21, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "count-middle", | |
| "count": 35, | |
| "parseable": 35, | |
| "strictExact": 35, | |
| "semanticExact": 35, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "count-pairs", | |
| "count": 22, | |
| "parseable": 22, | |
| "strictExact": 22, | |
| "semanticExact": 22, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "explicit-label-copy", | |
| "count": 22, | |
| "parseable": 22, | |
| "strictExact": 22, | |
| "semanticExact": 22, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "explicit-sequence", | |
| "count": 1, | |
| "parseable": 1, | |
| "strictExact": 1, | |
| "semanticExact": 1, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "generic-position", | |
| "count": 5, | |
| "parseable": 5, | |
| "strictExact": 5, | |
| "semanticExact": 5, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "generic-position-hard", | |
| "count": 10, | |
| "parseable": 10, | |
| "strictExact": 10, | |
| "semanticExact": 10, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "generic-timers", | |
| "count": 2, | |
| "parseable": 2, | |
| "strictExact": 2, | |
| "semanticExact": 2, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "generic-timers-hard", | |
| "count": 6, | |
| "parseable": 6, | |
| "strictExact": 6, | |
| "semanticExact": 6, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "individual-middle", | |
| "count": 26, | |
| "parseable": 26, | |
| "strictExact": 26, | |
| "semanticExact": 26, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "pairs", | |
| "count": 9, | |
| "parseable": 9, | |
| "strictExact": 9, | |
| "semanticExact": 9, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "user-around-contrast", | |
| "count": 20, | |
| "parseable": 20, | |
| "strictExact": 20, | |
| "semanticExact": 20, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "user-around-regression-guard", | |
| "count": 13, | |
| "parseable": 13, | |
| "strictExact": 13, | |
| "semanticExact": 13, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "user-duration-surface", | |
| "count": 2, | |
| "parseable": 2, | |
| "strictExact": 2, | |
| "semanticExact": 2, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "user-generic-surface", | |
| "count": 8, | |
| "parseable": 8, | |
| "strictExact": 8, | |
| "semanticExact": 8, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| }, | |
| { | |
| "category": "user-label-surface", | |
| "count": 3, | |
| "parseable": 3, | |
| "strictExact": 3, | |
| "semanticExact": 3, | |
| "semanticInvalid": 0, | |
| "parseableRate": 1.0, | |
| "strictExactRate": 1.0, | |
| "semanticExactRate": 1.0, | |
| "semanticInvalidRate": 0.0 | |
| } | |
| ], | |
| "seconds": 13.536, | |
| "predictions": "training/seq2seq-runs/phase4y-actions-browser-exact-dataset-step50-validation-eval/predictions-step-0.jsonl" | |
| } | |
| ] | |
| } | |