India11 Indic languagesSequence to sequenceTranslation

Explore IndicBARTSS

Use IndicBARTSS for translation, summarization, and sequence-to-sequence generation across Indic languages and English. IndicBARTSS is developed by AI4Bharat. Adjust the available settings to shape the result for your task.

Model

ai4bharat/IndicBARTSS

Input

Configure your request

Text passed to Text2TextGenerationPipeline. Include the language/control tokens expected by the checkpoint or downstream fine-tune.

Documentation

IndicBARTSS field reference

Use this reference to understand how every field in the playground changes the request sent to ai4bharat/IndicBARTSS.

inputs

Required

Type: Text

Provides the source text for the sequence-to-sequence model to transform. Include any language or task-control tokens required by the checkpoint; these tokens tell a multilingual model which operation and output language to use and count toward its input limit.

return_tensors

Optional

Type: Boolean

Default: Off

Returns numeric generated token IDs as tensors rather than ordinary readable text. This is useful for downstream model processing or custom decoding, but most applications should leave it off.

return_text

Optional

Type: Boolean

Default: On

Requests human-readable decoded text in the pipeline result. Disable it only when another return mode, such as token tensors, is needed for lower-level processing.

clean_up_tokenization_spaces

Optional

Type: Boolean

Default: On

Applies the tokenizer’s cleanup rules after decoding, such as removing spaces that were introduced around punctuation. Disable it when exact spacing or a lossless view of token decoding is more important than polished text.

truncation

Optional

Type: String

Default: do_not_truncate

Values: do_not_truncate, longest_first, only_first, only_second

Allows the tokenizer to discard tokens when an input is longer than the configured maximum or model context. Turning it off surfaces an error instead of silently losing content, which is safer when every part of the input matters.

Sample output

Optional

Type: Boolean

Default: On

Chooses whether the next token is sampled from a probability distribution or selected deterministically. Enable it for more varied responses that are affected by temperature and Top P; disable it when repeatability matters or when using beam search.

Temperature

Optional

Type: Number

Default: 0.7

Range: 0–2

Adjusts how strongly the model favors its most likely next token. Lower values produce more focused and repeatable output, while higher values allow less-likely choices and increase variety; it only has an effect when sampling is enabled.

Top P

Optional

Type: Number

Default: 0.95

Range: 0–1

Limits sampling to the smallest set of likely tokens whose probabilities add up to this value. Lower settings make output more focused, while a value near 1 keeps more alternatives available; it only affects sampled generation.

Top K

Optional

Type: Integer

Default: 50

Range: 0–Unbounded

Limits sampling at each step to the specified number of most likely next tokens. Smaller values make output more conservative, while larger values preserve more variety; zero commonly means that this filter is disabled.

Min P

Optional

Type: Number

Default: 0

Range: 0–1

Filters out next-token choices whose probability falls below this fraction of the most likely token’s probability. Raising the value removes unlikely choices and makes sampling more focused; zero disables the filter.

Typical P

Optional

Type: Number

Default: 1

Range: 0–1

Filters candidate tokens according to how typical their information content is for the current prediction. Lower values narrow the candidate set, while 1 disables typical sampling and leaves other sampling controls to decide.

Maximum output tokens

Optional

Type: Integer

Default: 1024

Range: 1–Unbounded

Caps how many tokens the model can add after the input. The model may stop earlier naturally, but a limit that is too low can cut off an answer; input tokens are not counted in this value.

Minimum output tokens

Optional

Type: Integer

Default: 0

Range: 0–Unbounded

Prevents end-of-sequence output until at least this many new tokens have been generated. Increase it only when responses stop too early, because forcing a long minimum can add unnecessary or lower-quality text.

Repetition penalty

Optional

Type: Number

Default: 1

Range: 0.01–2

Changes the scores of tokens that already appeared in the generated text. Values above 1 discourage repeated words and loops, 1 leaves probabilities unchanged, and values below 1 make repetition more likely.

No-repeat n-gram size

Optional

Type: Integer

Default: 0

Range: 0–Unbounded

Prevents the model from generating any token phrase of the specified length more than once. For example, 3 blocks repeated three-token phrases; higher restrictions can reduce loops but may make natural repetition impossible, and zero disables the rule.

Beam count

Optional

Type: Integer

Default: 1

Range: 1–20

Sets how many candidate continuations the model explores in parallel at each generation step. A value of 1 uses ordinary generation, while larger values can find a better overall sequence at the cost of additional time and memory.

Length penalty

Optional

Type: Number

Default: 1

Range: -2–2

Changes how beam search compares short and long candidate answers. Values above 1 give longer sequences an advantage, values below 1 favor shorter answers, and 1 applies no length preference.

Early stopping

Optional

Type: Boolean

Default: Off

Controls when beam search is allowed to finish. When enabled, generation stops after the requested number of complete candidate answers has been found; when disabled, the model may keep exploring other candidates until no promising paths remain, which can improve results but takes longer.

Use KV cache

Optional

Type: Boolean

Default: On

Caches attention calculations from previously generated tokens so each new token does not recompute the entire sequence. Keep it enabled for ordinary generation; disable it mainly for debugging, memory experiments, or models whose cache implementation is incompatible.

generate_kwargs

Optional

Type: JSON object

Default: None

Provides advanced keyword arguments directly to the model’s generation method. Use it for supported controls that are not shown separately in the form, and avoid duplicating named settings because these values may override or conflict with them.