source
stringclasses 40
values | url
stringlengths 53
184
| file_type
stringclasses 1
value | chunk
stringlengths 3
512
| chunk_id
stringlengths 5
8
|
---|---|---|---|---|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionoutputmessage
|
.md
|
```python
ChatCompletionOutputMessage(role: str, content: Optional[str] = None, tool_calls: Optional[List[huggingface_hub.inference._generated.types.chat_completion.ChatCompletionOutputToolCall]] = None)
```
|
19_27_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionoutputtoolcall
|
.md
|
```python
ChatCompletionOutputToolCall(function: huggingface_hub.inference._generated.types.chat_completion.ChatCompletionOutputFunctionDefinition, id: str, type: str)
```
|
19_28_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionoutputtoplogprob
|
.md
|
```python
ChatCompletionOutputTopLogprob(logprob: float, token: str)
```
|
19_29_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionoutputusage
|
.md
|
```python
ChatCompletionOutputUsage(completion_tokens: int, prompt_tokens: int, total_tokens: int)
```
|
19_30_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionstreamoutput
|
.md
|
```python
Chat Completion Stream Output.
Auto-generated from TGI specs.
For more details, check out
https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts.
```
|
19_31_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionstreamoutputchoice
|
.md
|
```python
ChatCompletionStreamOutputChoice(delta: huggingface_hub.inference._generated.types.chat_completion.ChatCompletionStreamOutputDelta, index: int, finish_reason: Optional[str] = None, logprobs: Optional[huggingface_hub.inference._generated.types.chat_completion.ChatCompletionStreamOutputLogprobs] = None)
```
|
19_32_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionstreamoutputdelta
|
.md
|
```python
ChatCompletionStreamOutputDelta(role: str, content: Optional[str] = None, tool_calls: Optional[huggingface_hub.inference._generated.types.chat_completion.ChatCompletionStreamOutputDeltaToolCall] = None)
```
|
19_33_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionstreamoutputdeltatoolcall
|
.md
|
```python
ChatCompletionStreamOutputDeltaToolCall(function: huggingface_hub.inference._generated.types.chat_completion.ChatCompletionStreamOutputFunction, id: str, index: int, type: str)
```
|
19_34_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionstreamoutputfunction
|
.md
|
```python
ChatCompletionStreamOutputFunction(arguments: str, name: Optional[str] = None)
```
|
19_35_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionstreamoutputlogprob
|
.md
|
```python
ChatCompletionStreamOutputLogprob(logprob: float, token: str, top_logprobs: List[huggingface_hub.inference._generated.types.chat_completion.ChatCompletionStreamOutputTopLogprob])
```
|
19_36_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionstreamoutputlogprobs
|
.md
|
```python
ChatCompletionStreamOutputLogprobs(content: List[huggingface_hub.inference._generated.types.chat_completion.ChatCompletionStreamOutputLogprob])
```
|
19_37_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionstreamoutputtoplogprob
|
.md
|
```python
ChatCompletionStreamOutputTopLogprob(logprob: float, token: str)
```
|
19_38_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubchatcompletionstreamoutputusage
|
.md
|
```python
ChatCompletionStreamOutputUsage(completion_tokens: int, prompt_tokens: int, total_tokens: int)
```
|
19_39_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubdepthestimationinput
|
.md
|
```python
Inputs for Depth Estimation inference
```
|
19_40_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubdepthestimationoutput
|
.md
|
```python
Outputs of inference for the Depth Estimation task
```
|
19_41_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubdocumentquestionansweringinput
|
.md
|
```python
Inputs for Document Question Answering inference
```
|
19_42_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubdocumentquestionansweringinputdata
|
.md
|
```python
One (document, question) pair to answer
```
|
19_43_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubdocumentquestionansweringoutputelement
|
.md
|
```python
Outputs of inference for the Document Question Answering task
```
|
19_44_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubdocumentquestionansweringparameters
|
.md
|
```python
Additional inference parameters for Document Question Answering
```
|
19_45_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubfeatureextractioninput
|
.md
|
```python
Feature Extraction Input.
Auto-generated from TEI specs.
For more details, check out
https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tei-import.ts.
```
|
19_46_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubfillmaskinput
|
.md
|
```python
Inputs for Fill Mask inference
```
|
19_47_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubfillmaskoutputelement
|
.md
|
```python
Outputs of inference for the Fill Mask task
```
|
19_48_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubfillmaskparameters
|
.md
|
```python
Additional inference parameters for Fill Mask
```
|
19_49_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimageclassificationinput
|
.md
|
```python
Inputs for Image Classification inference
```
|
19_50_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimageclassificationoutputelement
|
.md
|
```python
Outputs of inference for the Image Classification task
```
|
19_51_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimageclassificationparameters
|
.md
|
```python
Additional inference parameters for Image Classification
```
|
19_52_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagesegmentationinput
|
.md
|
```python
Inputs for Image Segmentation inference
```
|
19_53_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagesegmentationoutputelement
|
.md
|
```python
Outputs of inference for the Image Segmentation task
A predicted mask / segment
```
|
19_54_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagesegmentationparameters
|
.md
|
```python
Additional inference parameters for Image Segmentation
```
|
19_55_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagetoimageinput
|
.md
|
```python
Inputs for Image To Image inference
```
|
19_56_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagetoimageoutput
|
.md
|
```python
Outputs of inference for the Image To Image task
```
|
19_57_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagetoimageparameters
|
.md
|
```python
Additional inference parameters for Image To Image
```
|
19_58_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagetoimagetargetsize
|
.md
|
```python
The size in pixel of the output image.
```
|
19_59_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagetotextgenerationparameters
|
.md
|
```python
Parametrization of the text generation process
```
|
19_60_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagetotextinput
|
.md
|
```python
Inputs for Image To Text inference
```
|
19_61_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagetotextoutput
|
.md
|
```python
Outputs of inference for the Image To Text task
```
|
19_62_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubimagetotextparameters
|
.md
|
```python
Additional inference parameters for Image To Text
```
|
19_63_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubobjectdetectionboundingbox
|
.md
|
```python
The predicted bounding box. Coordinates are relative to the top left corner of the input
image.
```
|
19_64_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubobjectdetectioninput
|
.md
|
```python
Inputs for Object Detection inference
```
|
19_65_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubobjectdetectionoutputelement
|
.md
|
```python
Outputs of inference for the Object Detection task
```
|
19_66_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubobjectdetectionparameters
|
.md
|
```python
Additional inference parameters for Object Detection
```
|
19_67_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubquestionansweringinput
|
.md
|
```python
Inputs for Question Answering inference
```
|
19_68_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubquestionansweringinputdata
|
.md
|
```python
One (context, question) pair to answer
```
|
19_69_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubquestionansweringoutputelement
|
.md
|
```python
Outputs of inference for the Question Answering task
```
|
19_70_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubquestionansweringparameters
|
.md
|
```python
Additional inference parameters for Question Answering
```
|
19_71_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubsentencesimilarityinput
|
.md
|
```python
Inputs for Sentence similarity inference
```
|
19_72_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubsentencesimilarityinputdata
|
.md
|
```python
SentenceSimilarityInputData(sentences: List[str], source_sentence: str)
```
|
19_73_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubsummarizationinput
|
.md
|
```python
Inputs for Summarization inference
```
|
19_74_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubsummarizationoutput
|
.md
|
```python
Outputs of inference for the Summarization task
```
|
19_75_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubsummarizationparameters
|
.md
|
```python
Additional inference parameters for summarization.
```
|
19_76_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtablequestionansweringinput
|
.md
|
```python
Inputs for Table Question Answering inference
```
|
19_77_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtablequestionansweringinputdata
|
.md
|
```python
One (table, question) pair to answer
```
|
19_78_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtablequestionansweringoutputelement
|
.md
|
```python
Outputs of inference for the Table Question Answering task
```
|
19_79_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtablequestionansweringparameters
|
.md
|
```python
Additional inference parameters for Table Question Answering
```
|
19_80_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtext2textgenerationinput
|
.md
|
```python
Inputs for Text2text Generation inference
```
|
19_81_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtext2textgenerationoutput
|
.md
|
```python
Outputs of inference for the Text2text Generation task
```
|
19_82_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtext2textgenerationparameters
|
.md
|
```python
Additional inference parameters for Text2text Generation
```
|
19_83_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextclassificationinput
|
.md
|
```python
Inputs for Text Classification inference
```
|
19_84_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextclassificationoutputelement
|
.md
|
```python
Outputs of inference for the Text Classification task
```
|
19_85_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextclassificationparameters
|
.md
|
```python
Additional inference parameters for Text Classification
```
|
19_86_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationinput
|
.md
|
```python
Text Generation Input.
Auto-generated from TGI specs.
For more details, check out
https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts.
```
|
19_87_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationinputgenerateparameters
|
.md
|
```python
|
19_88_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationinputgenerateparameters
|
.md
|
TextGenerationInputGenerateParameters(adapter_id: Optional[str] = None, best_of: Optional[int] = None, decoder_input_details: Optional[bool] = None, details: Optional[bool] = None, do_sample: Optional[bool] = None, frequency_penalty: Optional[float] = None, grammar: Optional[huggingface_hub.inference._generated.types.text_generation.TextGenerationInputGrammarType] = None, max_new_tokens: Optional[int] = None, repetition_penalty: Optional[float] = None, return_full_text: Optional[bool] = None, seed:
|
19_88_1
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationinputgenerateparameters
|
.md
|
Optional[int] = None, repetition_penalty: Optional[float] = None, return_full_text: Optional[bool] = None, seed: Optional[int] = None, stop: Optional[List[str]] = None, temperature: Optional[float] = None, top_k: Optional[int] = None, top_n_tokens: Optional[int] = None, top_p: Optional[float] = None, truncate: Optional[int] = None, typical_p: Optional[float] = None, watermark: Optional[bool] = None)
|
19_88_2
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationinputgenerateparameters
|
.md
|
```
|
19_88_3
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationinputgrammartype
|
.md
|
```python
TextGenerationInputGrammarType(type: 'TypeEnum', value: Any)
```
|
19_89_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationoutput
|
.md
|
```python
Text Generation Output.
Auto-generated from TGI specs.
For more details, check out
https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts.
```
|
19_90_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationoutputbestofsequence
|
.md
|
```python
TextGenerationOutputBestOfSequence(finish_reason: 'TextGenerationOutputFinishReason', generated_text: str, generated_tokens: int, prefill: List[huggingface_hub.inference._generated.types.text_generation.TextGenerationOutputPrefillToken], tokens: List[huggingface_hub.inference._generated.types.text_generation.TextGenerationOutputToken], seed: Optional[int] = None, top_tokens: Optional[List[List[huggingface_hub.inference._generated.types.text_generation.TextGenerationOutputToken]]] = None)
```
|
19_91_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationoutputdetails
|
.md
|
```python
|
19_92_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationoutputdetails
|
.md
|
TextGenerationOutputDetails(finish_reason: 'TextGenerationOutputFinishReason', generated_tokens: int, prefill: List[huggingface_hub.inference._generated.types.text_generation.TextGenerationOutputPrefillToken], tokens: List[huggingface_hub.inference._generated.types.text_generation.TextGenerationOutputToken], best_of_sequences: Optional[List[huggingface_hub.inference._generated.types.text_generation.TextGenerationOutputBestOfSequence]] = None, seed: Optional[int] = None, top_tokens:
|
19_92_1
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationoutputdetails
|
.md
|
= None, seed: Optional[int] = None, top_tokens: Optional[List[List[huggingface_hub.inference._generated.types.text_generation.TextGenerationOutputToken]]] = None)
|
19_92_2
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationoutputdetails
|
.md
|
```
|
19_92_3
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationoutputprefilltoken
|
.md
|
```python
TextGenerationOutputPrefillToken(id: int, logprob: float, text: str)
```
|
19_93_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationoutputtoken
|
.md
|
```python
TextGenerationOutputToken(id: int, logprob: float, special: bool, text: str)
```
|
19_94_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationstreamoutput
|
.md
|
```python
Text Generation Stream Output.
Auto-generated from TGI specs.
For more details, check out
https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts.
```
|
19_95_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationstreamoutputstreamdetails
|
.md
|
```python
TextGenerationStreamOutputStreamDetails(finish_reason: 'TextGenerationOutputFinishReason', generated_tokens: int, input_length: int, seed: Optional[int] = None)
```
|
19_96_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtextgenerationstreamoutputtoken
|
.md
|
```python
TextGenerationStreamOutputToken(id: int, logprob: float, special: bool, text: str)
```
|
19_97_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttoaudiogenerationparameters
|
.md
|
```python
Parametrization of the text generation process
```
|
19_98_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttoaudioinput
|
.md
|
```python
Inputs for Text To Audio inference
```
|
19_99_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttoaudiooutput
|
.md
|
```python
Outputs of inference for the Text To Audio task
```
|
19_100_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttoaudioparameters
|
.md
|
```python
Additional inference parameters for Text To Audio
```
|
19_101_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttoimageinput
|
.md
|
```python
Inputs for Text To Image inference
```
|
19_102_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttoimageoutput
|
.md
|
```python
Outputs of inference for the Text To Image task
```
|
19_103_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttoimageparameters
|
.md
|
```python
Additional inference parameters for Text To Image
```
|
19_104_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttoimagetargetsize
|
.md
|
```python
The size in pixel of the output image
```
|
19_105_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttospeechgenerationparameters
|
.md
|
```python
Parametrization of the text generation process
```
|
19_106_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttospeechinput
|
.md
|
```python
Inputs for Text To Speech inference
```
|
19_107_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttospeechoutput
|
.md
|
```python
Outputs for Text to Speech inference
Outputs of inference for the Text To Audio task
```
|
19_108_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtexttospeechparameters
|
.md
|
```python
Additional inference parameters for Text To Speech
```
|
19_109_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtokenclassificationinput
|
.md
|
```python
Inputs for Token Classification inference
```
|
19_110_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtokenclassificationoutputelement
|
.md
|
```python
Outputs of inference for the Token Classification task
```
|
19_111_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtokenclassificationparameters
|
.md
|
```python
Additional inference parameters for Token Classification
```
|
19_112_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtranslationinput
|
.md
|
```python
Inputs for Translation inference
```
|
19_113_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtranslationoutput
|
.md
|
```python
Outputs of inference for the Translation task
```
|
19_114_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubtranslationparameters
|
.md
|
```python
Additional inference parameters for Translation
```
|
19_115_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubvideoclassificationinput
|
.md
|
```python
Inputs for Video Classification inference
```
|
19_116_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubvideoclassificationoutputelement
|
.md
|
```python
Outputs of inference for the Video Classification task
```
|
19_117_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubvideoclassificationparameters
|
.md
|
```python
Additional inference parameters for Video Classification
```
|
19_118_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubvisualquestionansweringinput
|
.md
|
```python
Inputs for Visual Question Answering inference
```
|
19_119_0
|
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/docs/source/en/package_reference/inference_types.md
|
https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_types/#huggingfacehubvisualquestionansweringinputdata
|
.md
|
```python
One (image, question) pair to answer
```
|
19_120_0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.